web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Get Access Token in a mobile application

(1) ShareShare
ReportReport
Posted on by 15

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 

I have the same question (0)
  • Suggested answer
    saurabhtiwarii Profile Picture
    on at
    RE: Get Access Token in a mobile application

    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


    https://docs.microsoft.com/en-us/azure/active-directory/azuread-dev/active-directory-authentication-libraries#microsoft-supported-client-libraries


    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 121 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans