OAuth and Business Central On-premises
Using OAuth for Business Central on-premises requires you to use Microsoft Azure. Create an Azure AD tenant and associate Azure AD users to Business Central users.
Note: OAuth for SaaS is simpler than the on-premises version to set up and use, since all is hosted in SaaS.
This is well documented in the following web pages.
- Quickstart: Register an application with the Microsoft identity platform
- Register Business Central On-Premises in Microsoft Entra ID for Integrating with Other Services
- OAuth for Business Central On-Premises Service to Service Authentication
Create the application and API permission: