To manage Exchange, the EmpowerID Exchange Online microservice requires registering a service principal application in the Exchange tenant to provide Azure AD authentication to the app service that hosts the Exchange microservice.
Register a service principal
In Azure, navigate to your Azure Active Directory.
On the Azure Active Directory navbar, click App registrations.
On the App registrations page, click New registration.
Name the application, select the scope (single or multitenant), and click Register.
Once the application is registered, copy the Application (client) ID and Directory (tenant) ID from the Overview page. These values are used later.