How to call the OOB AOS Service URL API of Dynamics 365 in Postman ?
For calling the AOS service in the Postman you have to Follow the Following Steps;
Step 1:
You have to create an application in the Azure Active Directory.
Step 2 :
Register the Azure Active Directory Application in the AOS/BackOffice of D365. For registration
System administration > Setup > Azure Active Directory Applications
The Client Id , Name , User ID are set in the path from Azure Active Directory.
Step 3:
By registering of Azure AD Application, you can get four things that are;
Use these values in the postman to get the token as shown in the image;
You will get the token from the call.
Step 4 :
Now for the call, the AOS OOB Service API, the link is
https://AOSURL/api/services/UserSessionService/AifUserSessionService/GetUserSessionInfo
You can view this method in the Application Explorer of your VM as shown;
Comments