Using OAuth Authentication
OAuth requires the authenticating user to interact with Microsoft Dynamics 365 using the browser. The adapter facilitates this in various ways as described below.
Embedded CredentialsSee Embedded Credentials to connect with the adapter's embedded credentials and skip creating a custom OAuth app.
Instead of connecting with the adapter's embedded credentials, you can register an app with Custom Credentials to obtain the OAuthClientId and OAuthClientSecret.
When to Create a Custom OAuth AppCreating a custom OAuth app is optional as the adapter is already registered with Microsoft Dynamics 365 and you can connect with its embedded credentials. You might want to create a custom OAuth app to change the information displayed when users log into the Microsoft Dynamics 365 OAuth endpoint to grant permissions to the adapter.
Creating a Custom OAuth App
See Creating a Custom OAuth App for a procedure.