Versions Compared

Key

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

...

Snaps in the Microsoft OneDrive Snap Pack require a Dynamic, User, or Application account to access the resources in Azure. For the accounts to authorize successfully, ensure to create and configure an application corresponding to the account as displayed in the workflow.

...

Info

Steps You must complete steps one to three are done in the Azure Portal and the remaining steps are done in the Snap account (SnapLogic PlatformSnapLogic®Platform).

Prerequisites

An Azure account with a free subscription to create the application.

...

The permissions for the registered application are either Delegated or Application permissions based on the account types. Select Delegated permissions for User Accounts and Application permission permissions for Application Accounts.

  1. On the left navigation panel, navigate to Manage,andselect API permissions > Add a permission.

  2. On the Request API permissions window, select Microsoft Graph > Delegated permissions for the User account and Application permissions for the OAuth2 Application Account.

  3. Select the permissions from Files, Users, and Teams. Choose the minimum API permissions listed under Scopes and Permissions required for the Microsoft OneDrive.

  4. Click Add Permissions. View all the permissions added under Configured permissions.

  5. Click Grant admin consent confirmation and select Yes

  6. Click In the navigation panel, click Overview and select Add a Redirect URI. You will be redirected to the Platform configurations page.

    Application Configuration in Azure Portal for OAuth2 Account to use in OneDrive__Step6.png
    1. Under Platform configurations, click Add a platform.

      The Configure platforms window displays.

    2. Select Web and specify either of the following Redirect URIs based on the region your server is locatedthe Redirect URI in the following format: 
      https://<control-plane-name>.snaplogic.com/api/1/rest/admin/oauth2callback/<snap-pack-name>
      where the <control-plane-name> corresponds to the domain part of your SnapLogic URL—elastic (global control plane) or emea (EMEA control plane).
      For example:
      https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/onedrive
      https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/onedrive

    3. click Configure. A popup message displays indicating that the application is successfully updated.

7. On the Platform configurations page, click Save. The Redirect URIs are added in to the application.

Locate the Application Credentials in the Azure Portal

...