Versions Compared

Key

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

...

The Snaps in the SharePoint Online Snap Pack require an OAuth2 account to access the resources in Azure. For the OAuth2 account to authorize successfully, create, and configure an application corresponding to the account as shown 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.

...

  1. Log in to the Microsoft Azure Portal.

  2. Navigate to Azure services > Azure Active DirectoryMicrosoft Entra ID.

  3. Navigate to Add > App registration.

  4. On the Register an application page, specify the name for registering the application and click Register. Learn more about creating an application at https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app.

...

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

  2. On the Request API permissions window, select Microsoft Graph > Application permissions for the Application Account.


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

  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.

     

    1. Under Platform configurations, click Add a platform.

      Image Added

      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://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/sharepointonline
      https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/sharepointonline

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

      Image Removed


  7. On the Platform configurations page, click Save.

    Image Removed

    The Redirect URIs are added to the application.

Locate the Application Credentials in the Azure Portal

...

  • Application (Client) ID

  • Directory (Tenant) ID

  • Client secret value

  1. On the application page, navigate to Overview.

  2. On the application page, under Essentials, note the Application (client) ID and Directory (tenant) ID needed for the Snap account.

  3. In the left navigation panel, select Manage > Certificates & secrets.

  4. On the Certificates & secrets page, click + New client secret.

  5. In the Add a client secret window, enter the Description, select an option for Expires from the dropdown list, and click Add. 

    The Client secret value value and Secret ID are generated. This value and the ID are required to configure the OAuth2 account.

...