locked
Accessing Dynamics CRM Online using OAuth RRS feed

  • Question

  • I'm building a SaaS application that will connect to users Dynamics CRM Online.

    I'm trying to set up the connection using OAuth:

    http://msdn.microsoft.com/en-us/library/dn531009.aspx#bkmk_oauthurl

    I set up a project with Azure AD:

    http://msdn.microsoft.com/en-us/library/dn531010.aspx

    However, when I get to step 10 -- "Set the app permissions as shown in the figure below". Microsoft CRM is not an option 

    http://i.msdn.microsoft.com/dynimg/IC726474.png

    My authorization returns the following status. 

    [error] => access_denied
    [error_description] => AADSTS65005: The client application has requested access to resource 'https://akitaoauthtest.crm4.dynamics.com'. This request has failed because the client has not specified this resource in its requiredResourceAccess list.

    I believe it is because I can't add Microsoft CRM to the App set up.

    Why is "Microsoft CRM" not an available option when setting up the App in Azure?

    Monday, June 2, 2014 9:58 PM

All replies