
I need to figure out a way to get the access token authorization to the user on passing Username and password, we have another application that needs to post events to our CRM. It is a mobile application. It should not limit to one organization. Each time different user can login to app and create record in different crm with user and password
Hello Dynati,
Thanks for reaching Dynamics Community. You may refer these documentations to understand Azure AD Authentication Libraries for connection with Common Data Service using OAuth.
Connecting to Common Data Service using OAuth with the ADAL libraries ::
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/authenticate-oauth
Microsoft-supported Client Libraries ::
| Platform | Library | Download | Source Code | Sample | Reference |
|---|---|---|---|---|---|
| .NET Client, Windows Store, UWP, Xamarin iOS and Android | ADAL .NET v3 | NuGet | GitHub | Desktop app | Reference |
| JavaScript | ADAL.js | GitHub | GitHub | Single-page app | |
| iOS, macOS | ADAL | GitHub | GitHub | iOS app | Reference |
| Android | ADAL | Maven | GitHub | Android app | JavaDocs |
| Node.js | ADAL | npm | GitHub | Node.js web app | Reference |
| Java | ADAL4J | Maven | GitHub | Java web app | Reference |
| Python | ADAL | GitHub | GitHub | Python web app | Reference |
For complete information related to authentication, please check the Azure Active Directory documentation. What is authentication?
Please mark my comment as answered if this helps.
Thanks,
Saurabh