Versions Compared

Key

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

In this article

Table of Contents
maxLevel2
absoluteUrltrue

...

You can use this account type to connect MS Dynamics 365 for Sales Snap Pack with data sources that use Dynamics 365 OAuth2 for Online Account.

...

Known Issues

None

Account Settings


ParameterData TypeDescriptionDefault ValueExample 
LabelString

Required. Unique user-provided label for the account.

N/A MS Dynamics 365 For Sales
Dynamics Organization URL
URL

Required. 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 query parameter values, such as search filters, etc.

This field is suggestible and shows the user's currently configured Account URL. The REST resource, etc. can be then crafted onto the resulting URL.

N/A

 https://abcxyzcompany.api.crm.dynamics.com/api/data/v8.2/

 https://abcxyzcompany.api.crm.dynamics.com/api/data/v8.2/accounts(GUID)  (For example, in a GET request of a specific account)

Client IDString

RequiredSpecify the client ID associated with your Azure application. You can create the client ID as advised by your application provider.

N/A

9ee09921-7b72-432d-b552-a21e8a1ab143

Client secretStringSpecify the client secret associated with your account. You can create the client secret as advised by your application provider.N/Abec1f9242f9nsh67f2276b9ws4cadd14
Access token
String

Auto-generated after authorization. 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.

N/AN/A
Refresh token
String

Auto-generated after authorization. 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.

N/A87566779
Access token expiration
IntegerThe access token expiration value.N/AN/A
Header authenticatedCheck boxSelect this check box to indicate that the endpoint uses bearer header authentication.Not selectedSelected
OAuth2 EndpointURLRequired. Enter the URL of the endpoint that authorizes the application. N/Ahttps://login.microsoftonline.com/yourcompany.onmicrosoft.com/oauth2/authorize
OAuth2 TokenStringRequired. Enter the URL of the endpoint that retrieves the token for an authenticated account.N/Ahttps://login.microsoftonline.com/yourcompany.onmicrosoft.com/oauth2/token
Token endpoint config

Use this fieldset to provide custom properties for the OAuth2 token endpoint. Click the + or - icons to respectively add or remove configuration rows.

This fieldset comprises the following fields:

  • Token endpoint parameter
  • Token endpoint parameter value
Token endpoint parameterStringRequired. Enter the token endpoint parameter.N/Aresponse-type
Token endpoint valueStringRequiredEnter the value associated with the endpoint parameter defined above.N/Acode
Auth endpoint config

Use this fieldset to provide custom properties for the OAuth2 auth endpoint. Click the + or - icons to respectively add or remove configuration rows.

This fieldset comprises the following fields:

  • Auth endpoint parameter
  • Auth endpoint value



Auth endpoint parameterStringRequired. Enter the authorization endpoint parameter.N/Ascope
Auth endpoint valueStringRequired. Enter the value associated with the authorization endpoint parameter defined above.N/Aoffline_access app.Read.All
Auto-refresh tokenCheck boxSelect this check box to refresh the access token automatically using the refresh token. Otherwise, the access token expires and is not refreshed automatically.Not selectedSelected
AuthorizeButtonClick this button to authorize the account using the credentials provided in the Client ID, Client Secret, OAuth2 Endpoint, and OAuth2 Token fields. We recommend that you click this button if this is the first time you are creating this account. N/AN/A


...

See Also