Microsoft Entra ID OAuth2 Account
In this article
Overview
You can use this account type to connect Azure Active Directory Snaps with data sources that use Azure Active Directory OAuth2 account.
Prerequisites
AĀ registered application in the Microsoft Azure PortalĀ with appropriate permissions that contains the following information. Learn how to configure a registered application and for information needed to define settings for the OAuth2 account: Application Configuration inĀ Azure Portal for OAuth2 Account to use in Azure Active Directory.
Client ID
Tenant (Domain) name
Client secret
Access token
OAuth2 Endpoint
OAuth2 Token
Token endpoint config
Auth endpoint config
Limitations and Known Issues
None.
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 | |
---|---|---|---|
Label* Ā Default value:Ā None | String | Specify a unique label for the account instance. Ā | |
Tenant domain name* Ā Default value:Ā accountingsnaplogic.onmicrosoft.com | String | Specify your "onmicrosoft.com" domain name. You can also use custom domain names. Learn more:Ā Add Custom Domain.Ā Ā | |
Client ID* Ā Default value: N/A | String | Specify the client ID that you obtain after creating an app in Azure Directory portal. | |
Client secret Ā Default value: N/A | String | Specify the Application Secret that was created for the Application ID in the portal. The client secret can be created by following the steps of the application provider. | |
Access token* Ā Default value: N/A | String Ā | Auto-generated after authorization. The access token is retrieved when setting up the account for the endpoint. There, theĀ OAuth2Ā flow will be executed and the resulting access token will be stored in this property. The access token might beĀ refreshable, in which case an optional refresh token can be stored. The user must get a new access token if the access token has expired and no refresh token was defined or both the access and the refresh token have expired. | |
Refresh token Ā Default value: N/A | String | Auto-generated after authorization. The refresh token is retrieved when setting up the account for the endpoint. TheĀ OAuth2Ā flow is executed and the resulting refresh token is stored in this field. If the refresh token is stored, then the access token can be refreshed automatically before it expires. | |
Access token expiration Ā Default value: N/A | String | Auto-generated after authorization. The time until which the access token is active. | |
OAuth2Ā Endpoint* Default value: https://login.microsoftonline.com/<tenant-id*>/oauth2/v2.0/authorize | String | Specify the tenant ID in the designated position in the URL to authorize the application.
| |
OAuth2Ā Token* Ā Default value:Ā https://login.microsoftonline.com/<tenant-id*>/oauth2/v2.0/token Example: https://login.microsoftonline.com/3164f/oauth2/v2.0/token | String Ā | Specify the tenant ID in the following format to get the access token.
Ā | |
Grant type Ā Default Value:Ā authorization_code | Dropdown list | Select one of the following Grant types for authorization:
| |
TokenĀ endpointĀ config | Use this field set to configure custom properties for the OAuth2 token endpoint. | ||
Token endpoint parameter Ā Default Value:Ā N/AĀ | String | Define custom properties for theĀ OAuth2Ā tokenĀ endpoint. | |
Token endpoint parameter value Ā Default Value:Ā N/AĀ | String | Define custom properties for theĀ OAuth2Ā authĀ endpoint. | |
AuthĀ endpointĀ config | Use this field set to configure custom properties for the OAuth2 endpoint. | ||
Authentication endpoint parameter Ā Default Value:Ā Scope | String | Define optional authentication parameters. | |
Authentication parameter value Ā Default Value:Ā https://graph.microsoft.com/.default offline_access | String | Define optional authentication parameter values.
| |
Auto-refresh token Ā Default Value: Deselected | Checkbox | Select this checkbox to refresh the token automatically. Otherwise, the token might expire and will not be automatically refreshed. |
Snap Pack History
Related Content
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
Ā© 2017-2024 SnapLogic, Inc.