Exchange Online Dynamic OAuth2 Account

Exchange Online Dynamic OAuth2 Account

In this article

Overview

You can use this account type to connect Exchange Online Snaps with data sources that use Exchange Online Dynamic OAuth2 accounts.

Expression-enabled authentication fields, such as Username, Password, and Client Secret, support Secrets Management, a SnapLogic add-on that allows you to store endpoint credentials in a third-party secrets manager, such as AWS Secrets Manager, Azure Key Vault, or HashiCorp Vault. During validation and execution, pipelines obtain the credentials directly from the secrets manager. Learn more: Configure Accounts to use secrets.

Exchange Online Dynamic OAuth2 Account-overview.png

Prerequisites

Valid OAuth2 client Application with all the required API permissions

Account Settings

  • Asterisk (*): Indicates a mandatory field.

  • Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon (): Indicates whether the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon (): Indicates that you can add fields in the field set.

  • Remove icon (): Indicates that you can remove fields from the field set.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*


Default Value: None
ExampleExchange_test

String

Specify a unique user-provided label for the account.

Access Token*


Default Value: N/A
Example1564647wqdd=

String/Expression

Specify the access token associated with the Azure application.

Access Token Type*


Default Value: On behalf of user (authorization_code grant type)
Example: On behalf of application (client_credentials grant type)

Dropdown list

Select either of the following options for generating the access token for user sign-in.

  • On behalf of user (authorization_code grant type)

  • On behalf of application (client_credentials grant type)

Graph service URL

String

Specify the Graph service URL. To connect to a Microsoft cloud other than the global cloud (such as the Government or China), you must configure the corresponding Token Endpoint and Authorization Endpoint to match the environment.

Environment

Graph API Root URL

US Government L5 (DoD)

https://dod-graph.microsoft.us/v1.0

Microsoft Graph China (21Vianet)

https://microsoftgraph.chinacloudapi.cn/v1.0

US Government L4 (GCC High)

https://graph.microsoft.us/v1.0

  • Default value: https://graph.microsoft.com/v1.0

  • Example: https://dod-graph.microsoft.us

Learn more


Snap Pack History


Related content