Versions Compared

Key

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

...

The Snaps in the Microsoft Teams 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. On the left navigation panel, navigate to Manage,select API permissions > Add a permission.

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

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

  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.

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

    3. Select Web and specify either of the following Redirect URIs based on the region your server is located:

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

  7. On the Platform configurations page, click Save.

...

  • Application (Client) ID

  • Directory (Tenant) ID

  • Client secret value

  1. On the application page, under navigate to Overview.

  2. 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.

...