Versions Compared

Key

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

In this article

...

Snaps in Exchange Online Snap Pack require an OAuth2 account to access the resources in Azure. For the OAuth2 account 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 (SL 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 and Application permissions for the OAuth2 Account.

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

  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 located:URI in the following format: 
      https://emea<control-plane-name>.snaplogic.com/api/1/rest/admin/oauth2callback/exchangeonline
      <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/exchangeonline

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

  7. On the Platform configurations page, click Save.

Locate Application credentials in the Azure Portal

...

  • 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, Directory (tenant) ID, and Client credentials needed for the Snap account.

    Application Configuration in Azure Portal for OAuth2 Account to use in Exchange Online__Step1.png
  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.

...