Skip to main content

Onedrive

Prerequisites:

  • Azure AD instance with access details.
  • Appropriate user (Delegated) permissions. For more information, refer Microsoft Documentation as mentioned in references below.
  • Microsoft Account with all the required permissions for the application.
  • Values for Client ID, Refresh Token should be known.
  • Provide access to the following URLs through firewall and network:
    a. https://graph.microsoft.com
    b. https://login.microsoftonline.com

References: For information on application setup and refresh token refer Microsoft documentation link:

https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app#register-an-application

Refresh Token for connection to OneDrive In One Drive Plugin Connection Configuration we need to provide connectivity details for a -OneDrive instance as mentioned in the table below.

Connection Details:

No.Field NameDatatypeMandatory?Description
1Client IDString--Client ID provided by Azure Active Directory.
2Refresh TokenStringYesRefresh Token provided by authorization grant flow discussed in sections below.
3Test ConnectionButton--Verifies whether the connection is established or not.

Following are the steps for generating refresh token for OneDrive plugins,
i. Register app for OneDrive on Azure AD, refer OneDrive Refresh Token: Register app for OneDrive on Azure AD.
ii. Generate Refresh Token for OneDrive, refer OneDrive Refresh Token: Generate Refresh Token OneDrive.

Get OneDrive Folder or File - Path Folder or File – Path/ID is required in most OneDrive Plugin steps. Refer Appendix 13: OneDrive Folder/File Path to get path.