...
Snaps in the Microsoft Dynamics 365 Finance and SCM Snap Pack require an OAuth2 account to access the resources in Azure. For the OAuth2 account to authorize successfully, ensure to create and configure an application corresponding to the account as per the key steps in the workflow. You would must also require to register an application in Dynamics 365 Finance and Operations with the details of the application registered in the Azure portal.
You can use this account type to connect Microsoft Dynamics 365 Finance and SCM Snaps with data sources that use an OAuth2 account.
Prerequisites
An Azure account with a subscription to create the application.
Register the Azure application in the Dynamics 365 Finance and Operations application.
OData V4.
...
Log in to the Microsoft Azure Portal.
Navigate to Azure services > Azure Active Directory Microsoft Entra ID.
Navigate to Add > App registration.
On the Register an application page, specify the name for registering the application and click Register. For more information on creating an application, refer to the Azure Active Directory Documentation.
Info |
---|
To use an existing application, navigate to Portal Home > Azure Active Directory >App registrations > All applications. In the search box, specify the application name you want to use. The details of the registered application dsiplay in the search list. |
Define Permissions
On the left navigation panel, navigate to Manage,select API permissions > Add a permission.
On the Request API permissions window, select Dynamics ERP and select the delegated permissions listed under the Scopes and Permissions required for MS Dynamics 365 Finance and SCM.
Click Add Permissions and view all the permissions added under Configured permissions.
Click Grant admin consent confirmation and select Yes.
Click Overview and select Add a Redirect URI. You are redirected to the Platform configurations page:
Under Platform configurations, click Add a platform.
Select Web and specify either of the following Redirect URIs based on the region your server is locatedthe Redirect URI in the following format:
https://<control-plane-name>.snaplogic.com/api/1/rest/admin/oauth2callback/<snap-pack-name>
where the<control-plane-name>
corresponds to the domain part of your SnapLogic URL—elastic (global control plane) or emea (EMEA control plane).
For example:https://emea.snaplogic.com/api/1/rest/admin/oauth2callback/msdynamics365fo
https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/msdynamics365fo
Click Configure. A pop-up message displays indicating that the application is successfully updated.
On the Platform configurations page, click Save. The Redirect URIs are added to the application.
Locate Application Credentials in the Azure Portal
...
Application (client) ID
Directory (tenant) ID
Client secret value
On the application page, under navigate to Overview.
Under Essentials, make a note of the Application (client) ID, and Directory (tenant) ID.
In the left navigation panel, select Manage > Certificates & secrets.
On the Certificates & secrets page, click + New client secret.
In the Add a client secret window, enter the Description, select an option for Expires from the dropdown list, and click Add:
The Client secret valuevalue and Secret ID are generated. This value and the ID are required to configure the OAuth2 account.
...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Related Content
...
...