

Click on New to open a new Application User Form Log into Dynamics 365 Online, navigate to Settings -> Security -> Users and change the view to Application Users. Create a new Dynamics 365 Application user Apply the Dynamics 365 Product Licence and click Addģ. Assign the Dynamics 365 Service Administrator Role



Log into, navigate to User -> Active users and click on Add a user NOTE: Take note of the generated key value since it would not be visible the next time you navigate to the Keys List Setup client secret key by navigating to Settings -> Keys, create a new Key and save to generate a new Secret key value Click on Grant Permissions to complete the process Dynamics CRM Online should now be added to the list of Required permissions. Select the following permissions then click Done Click on Add and select Dynamics CRM Online Grant permissions to Dynamics CRM Online by navigating to Settings -> Required permissions. Create the new App registration with Web app / API as the Application Type Log into, navigate to Azure Active Directory -> App registrations and click on New application registration Register a App against Azure Active Directory Here are the steps you would need to follow to authenticate using Client Credentials.ġ. Once you have the client id and client secret, this can be used to obtain a bearer token. Client Credentials are made up of a client id and client secret which firstly need to be setup and generated in Microsoft Azure. Using Client Credentials for authentication with Dynamics CRM 365 Online will resolve this issue of using User Credentials which constantly changes and requires a Dynamics CRM 365 Online license. The problem is that a User can change their password therefore the configured password against the background application would always need updating. This can be a problem when executing long running background application processes that integrates with Dynamics CRM 365 Online. The previous blog covered details on using User Credentials to authenticate with Dynamics CRM 365 Online. Dynamics 365 Online Authenticate with Client Credentials
