Hi All
I have 30 days trial in Dynamics 365
I want to access Dynamics 365 api from my server application, this API:
https://docs.microsoft.com/en-us/dynamics-nav/api-reference/v1.0/index
I have created application in Microsoft Azure so I have client_id and client_secret I have also added Dynamic 365 user_impersonation rights in API Interface
I'm doing POST to:
with body:
client_id=my_client_id&client_secret=client_secret
I was trying with url encode setting header:
ContentTypeHeader,"application/x-www-form-urlencoded"
and without url encode
I'm getting reply:
The credentials provided are incorrect
Can someone provide an example or explanation how to request access_token without mouse clicking in Postman or similar application.
Best,
Marek
*This post is locked for comments