Microsoft D365 FO - Test OData API/Web Services by using POSTMAN

Test OData API/Web Services by using POSTMAN:

  • Once App registration is completed Enter Application ID in D365FO.









  • connect Postman with the D365 environment:-
  • open postman->new environment.
                          

  • go to app registration that you created in the previous blog and get this info from the overview
    • client_id
    • tenantID





    • grant type : client credentials
    • resource: URL of your environment
    • client_secret: this value from the Certificates & secrets screen in the azure portalwe get it in notepad because it disappeared.

                                        
  • clock new in postman-> HTTP Request->choose post ->  "https://login.microsoftonline.com/<Value of (tenant) ID>/oauth2/token"-> click tab Authentications -> choose "OAuth 2.0"-> click send.





























  • create new get request-> tab Authentication-< type "Bearer token"-> copy access token value


Comments

Popular posts from this blog

Microsoft D365 FO - Registration of an application on Azure Portal For API