Microsoft Sharepoint Online Connector

Microsoft Sharepoint Online Connector

Generate the Refresh Token

Generate the Refresh Token

A refresh token is required to perform the POST and GET methods in the Google PostMan application. After you generate a refresh token, it is valid for six months.
Perform the following steps to generate the refresh token:
  1. Enter the following URL in the Google PostMan application:
    https://accounts.accesscontrol.windows.net/<bearer_realm>/tokens/OAuth/2
    The following image shows the
    Normal
    tab in the Google PostMan application where you can configure the properties to generate the refresh token:
  2. Select the
    POST
    method.
  3. On the
    Header
    tab, enter
    Content-Type
    in the
    Key Name
    field and
    application/x-www-form-urlencoded
    in the
    Value
    field.
  4. On the
    Body
    tab, enter the xml request in the following format:
    grant_type=authorization_code &client_id=<client_id>@<bearer_realm> &client_secret=<client_secret> &code=<auth_code> &redirect_uri=<redirect_url> &resource=< audience principal ID >/<site_host>@<bearer_realm>
  5. Click
    Send
    .
    The refresh token is generated in the
    Response
    tab. The following image shows the
    Response
    tab where the refresh token is generated:

0 COMMENTS

We’d like to hear from you!