Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
absoluteUrltrue

...

Multiexcerpt include macro
nameSecrets_Management_Dynamic_Accounts
templateData[]
pageS3 Dynamic Account
addpanelfalse

Prerequisites

...

Step 2: Fill the details pertaining to your OneDrive (Azure Portal) application in the above URL and load it in a browser or a web-browser control

Info
titleURLs to use for generating Token and Code

For Application Account: https://login.microsoftonline.com/{Tenant_id}/oauth2/v2.0/authorize?client_id={client_id}&scope={scope}&response_type=token&redirect_uri={redirect_uri}

OR

For User Account: https://login.microsoftonline.com/{Tenant_id}/oauth2/v2.0/authorize?client_id={client_id}&scope={scope}&response_type=code&redirect_uri={redirect_uri}

Step 3: Upon successful authentication and authorization of the application, the URL returns the Access Token inside the redirect_uri passed along side additional parameters, similar to the URL below.

Info
titleURL with Access Token

For Access Token:{redirect_uri}#access_token=EwC...EB&authentication_token=eyJ...3EM&token_type=bearer&expires_in=3600&scope=onedrive.readwrite&user_id=3626...1d

OR 

For User Account: {redirect_uri}?code=0.AS...iAA&session_state=f26be63e-e1b1-4d64-a3c2-e003b36b7f08#

Use the value of the access_token parameter or the code parameter from these URLs to configure your Microsoft OneDrive Dynamic Account for the respective token type. See OneDrive Authentication and sign-in in OneDrive Developer Center (Microsoft Docs) for more information.

...

Related Content