Service-to-service authentication for Automation APIs

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
Admins, makers, marketers, or analysts, automatically - Oct 1, 2020

Business value

Service-to-service authentication will be supported for Automation APIs in Business Central.

Feature details

For supporting Automation scenarios in Business Central, an application permission scope is added, called Automation.ReadWrite.All.

This will allow service-to-service authentication, having external services connect as an application without impersonating normal users. Using OAuth Client Credentials flow, an app token with Automation.ReadWrite.All scope can then be used to access Business Central.

Apps need to be registered in Business Central and the OAuth consent flow has to be completed before Business Central can be accessed.

See also

Using Service-to-Service Authentication with Automation APIs (docs)