Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Get Access Token in a mobile application

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 

Categories:
  • Suggested answer
    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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans