Using App User in KingswaySoft Connection Manager

Requirement
While working with KingswaySoft integration toolkit we have different ways to connect with Dynamics 365 CE. Today we are going to discuss how to use Dynamics 365 application user for authentication.

Details
To setup application user we first we need to register an app under Azure Activity Directory so let’s follow below steps

1. Go to Active Directory of your Azure environment related to your Dynamics 365 CE tenant, click on App registrations
kingsway1
2. Provide details about app registration like name of the app re-direct url, we can simply use localhost for the redirect url.
kingsway2
3. Once app registration created make note of the Application ID
kingsway3
4. Now we need to provide app API permission so click on API permission and select Dynamics CRM from list
kingsway4
5. Add permission like below in next screen
kingsway5
6. After this we need to setup secret key, so click on Certificate and secret and setup secret key, as soon as it is created make note of the secret key.
kingsway6
7. Now we need to go to our Dynamics 365 CE and add app user there using the Application ID we got from Azure app registration.
kingsway7

After user is setup make sure to provide required security role to the user.
8. You can add your Application ID and Client secret in the project parameter so that you can refer them later when required.
kingsway8
9. Finally add Dynamics CRM connection manager and select details like below and Click on Test connection.

kingsway9

Summary
This is how we can use app use for the authentication instead of using user name and password.

Hope it will help someone!
Keep learning, Keep sharing !!

Leave a Reply

Your email address will not be published. Required fields are marked *