How to Authenticate Through Azure Active Directory (AAD) to Use Microsoft Dynamics 365 Business Central API
Azure Active Directory (AAD) is useful when you want to control who (users and client applications) can access particular resources (e.g. Microsoft Azure SaaS resources, Office 365 documents and Dynamics 365 installations). One of Azure Active Directory’s (AAD) use cases is 3rd party client application authenticating through AAD to call the API of Microsoft Dynamics 365 Business Central installation (BC). This article covers how to implement such a client application using the Microsoft Authentication Library (MSAL) and the C# language.