Obtaining refresh token using Postman
- Last Updated: December 17, 2020
- 2 minute read
Prerequisites
- Postman installation. Postman can be downloaded from https://www.postman.com/downloads/.
- The following data source information:
- Redirect URL - the endpoint to which the client is returned after authenticating with a third-party service
- Authorization URI - the endpoint for obtaining an authorization code from the Azure authorization service
- Token URI - the endpoint used to exchange authentication credentials for access tokens
- Client ID - the client ID for your application
- Client secret - the client secret for your application
- Scope - an OAuth scope or a space-separated list of OAuth scopes
Note:
- To obtain values for authorization URI, token URI, client ID, and client secret, see Obtaining application client information and endpoints.
- To obtain the Scope, see Determining the scope.
The following steps describe how to obtain a refresh token by issuing a Postman request to the Azure endpoint for your Dynamics 365 application.