
Hi there,
I want to use restful webservices to make some operations on contacts, leads and opportunities.
I have registered my app in Azure for oAuth authentication. I got the access token. But when I am trying to hit discovery endpoint https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances with that access token, its giving me 401 Unauthorised response with a message
Have you created Application user in the CRM with respect to this Azure App ? If no please follow the below steps.
https://optimallogics.com/connect-to-ms-dynamics-365-crm-using-oauth-in-c-sharp/
Thank you,
Amit katariya