Hi ,
Iam a new bee to dynamics crm. I have created and app in Azure directory and have the clientid and secret key. I tried authentication using postman oncde the credentials are entered in the popup the screen closes automatically.
If someone can help me to get a script which prompts a user to authenticate and create a token and execute to request GL transcations.
Thanks,
Silvester
Hi,
As per your screenshot you have WebAPIURL variable in Manage Environment. Check the value of URL and you should be able to find the CRM URL.
It should be in below format.
Replace CRMORG with your CRM instance ORG and replace CRM with your instance.
Also, make sure you have given Dynamics CRM Online permission under API Connection in Azure AD App registration.
docs.microsoft.com/.../mt790170(v=crm.8)
Hi Bipin,
Could you please guide, How can I get the CRM url?
Thanks,
Silvester
HI,
Check below screenshot from my postman request which is already working.
Replace Tenant ID with your Tenant ID in request URL.
login.microsoftonline.com/{Replace with your Tenant ID}/oauth2/token
Body -
Replace with your CLient ID
Replace with your Client Secret
Replace resource with your CRM URL
In Authorization tab Select No auth fromd dropdown.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156