Dynamics 365 OAuth2 for Online Account

In this article

Overview

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.

Prerequisites

  • Valid client ID.
  • Valid tenant URL.

Limitations

None.

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



See Also