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.

...

  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.

    Image RemovedImage Added

  5. Click Grant admin consent confirmation and select Yes

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

    1. Under Platform configurations, click Add a platform.

    2. Select Web and specify either of the following Redirect URIs based on the region your server is located:
      https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/exchangeonline
      https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/exchangeonline

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

  7. On the Platform configurations page, click Save.

...

  1. On the application page, 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
  2. In the left navigation panel, select Manage > Certificates & secrets.

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

  4. 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 and ID are generated. This value and the ID are required to configure the OAuth2 account.

    Image RemovedImage Added

You can copy the Client secret value only after it is generated. Note that this value is displayed only once, so ensure to copy it securely.

...