Use modern authentication to connect to Common Data Service and Dynamics 365 Sales

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
End users by admins, makers, or analysts - This feature is released. Jun 5, 2020

Business value

Business apps often use data from more than one source, which means that it must be easy to connect the apps. You can now use an administrator account to simply, and securely, connect an app to Business Central with modern authentication methods, such as OAuth 2, through Common Data Service.

Feature details

Connect Business Central, Common Data Service, and another business application securely with modern authentication using only an administrator account. You do not have to set up a dedicated integration user anymore.

New Business Central tenants can simply start using the feature as described in documentation from the June 2020 update.

No action is required at this time for existing and upgraded Business Central tenants if the Azure Active Directory tenant has the legacy authentication security policy turned off. For more information, see Disable Legacy Authentication.

If you enable this security policy or Multi-Factor Authentication, you may experience an "Unable to login" error in synchronization logs. When this occurs, follow these steps:

  1. Disable Dynamics 365 Connection on the Dynamics 365 Connection setup page and disable Common Data Service on the Common Data Service Connection setup page.
  2. Uninstall the Microsoft Dynamics 365 Business Central CDS Base Integration solution, and, optionally, if Dynamics 365 Sales connection was enabled, the Microsoft Dynamics 365 Business Central Integration solution.
  3. After that, reconnect to Common Data Service and, optionally, Dynamics 365 Connection using the assisted setup guide or the connection setup page using just the administrator credentials.

The new modern authentication will automatically create a non-interactive integration user whose credentials will be used to synchronize data between Business Central and Common Data Service (and Dynamics 365 Sales).

See also

Integrating with Common Data Service (docs)