Dynamics 365 OAuth2 Account for Online
In this article
Overview
You can use this account type to connect the MS Dynamics 365 for Sales Snap Pack with data sources that use OAuth2 with Dynamics 365. This account supports both on-premise and cloud instances.
Prerequisites
Valid application with all the required API permissions.
Valid client ID and client secret.
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 fieldset.
Remove icon (): Indicates that you can remove fields from the fieldset.
Field Name | Field Type | Description | |
|---|---|---|---|
Label* Default Value: N/A | String | Specify a unique user-provided label for the account. | |
Dynamics Organization URL*
Default Value: N/A | String/Expression | Specify the URL for the MS Dynamics 365 For Sales WebAPI endpoint. Although the URL is editable, query parameters should not be placed within the URL, as that will not work with the supporting libraries. The Query Parameter fields must be explicitly used, such as search filters. | |
Client ID* Default Value: N/A | String | Specify the client ID associated with your Azure application. You can create the client ID as advised by your application provider. | |
Client secret Default Value: N/A | String | Specify the client secret associated with your account. You can create the client secret as advised by your application provider. | |
Access token
Default Value: N/A | String | Auto-generated after authorization. Specify the access token associated with the Azure portal application is used to make API requests on behalf of the user associated with the client ID. | |
Refresh token
Default Value: N/A | String | Auto-generated after authorization. Specify the refresh token is associated with your account. If the refresh token is stored, then the access token can be refreshed automatically before it expires. | |
Access token expiration
Default Value: N/A | Integer | Specify the access token expiration value. | |
Header authenticated Default Value: Not selected | Checkbox | Select this checkbox to indicate that the endpoint uses bearer header authentication. | |
OAuth2 Endpoint* Default Value: https://login.microsoftonline.com/<tenant>/oauth2/authorize | String | Specify the URL of the endpoint that authorizes the application. | |
OAuth2 Token* Default Value: https://login.microsoftonline.com/<tenant>/oauth2/token | String | Specify the URL of the endpoint that retrieves the token for an authenticated account. | |
Grant Type
Default Value: authorization_code | Dropdown list | Select the grant type for authorization. Available options are:
We recommend that you use this grant type only if your organization chooses to authenticate users on an on-premise Dynamics 365 for Sales instance through this MFA-incompatible mode. | |
Username
Default Value: N/A | String | Appears when you select password as Grant type. Specify the username for the account to connect to the Dynamics 365 for Sales instance. | |
Password
Default Value: N/A | String | Appears when you select password as Grant type. Specify the password for the account to connect to the Dynamics 365 for Sales instance. | |
Token endpoint config | Use this field set to provide custom properties for the OAuth2 token endpoint. | ||
Token endpoint parameter*
Default Value: N/A | String | Specify the token endpoint parameter. | |
Token endpoint parameter value*
Default Value: N/A | String | Specify the value associated with the endpoint parameter defined above. | |
Auth endpoint config | Use this field set to provide custom properties for the OAuth2 auth endpoint. | ||
Authentication parameter* Default Value: N/A | String | Specify the authorization endpoint parameter. | |
Authentication parameter value* Default Value: N/A | String | Specify the value associated with the authorization endpoint parameter defined above. | |
Snaplex | String | Specify the Snaplex to process OAuth 2.0 authorization and refresh token requests. The format for the Snaplex value is: When you configure the Snaplex, the specific Snaplex is used when obtaining or refreshing OAuth2 tokens. If you do not specify any value, the control plane selects a Snaplex from the available Snaplexes and prefers Cloudplexes over Groundplexes. This setting is useful when a specific Snaplex must be used, such as when the OAuth2 server can only be accessed by a Snaplex within an organization's private network. Default value: N/A | |
Auto-refresh token Default Value: Not Selected | Checkbox | Select this checkbox to automatically refresh the token using the refresh token when the token is due to expire. The token refresh does not happen automatically if this checkbox is not selected. | |
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2025 SnapLogic, Inc.