Register an application for the MS Online Microservice in Azure AD

The MS Online microservice uses Azure AD authentication to call the Azure API. For this to occur, you need an application (service principal) registered for EmpowerID in your Azure Active Directory. If you do not already have one, you need to do so. This topic takes you through the steps.

How to register an application for the MS Online Microservice in Azure AD

  1. Log in to your Azure portal as a user with the necessary permissions to create an application in Azure AD.

  2. In Azure, navigate to your Azure Active Directory.

  3. On the Azure Active Directory navbar, click App registrations.

  4. On the App registrations page, click New registration.



  5. Name the application, select the scope for the application (single or multitenant) and click Register.



  6. Once the application is registered, click Overview and copy the Application (client) ID, Directory (tenant) ID and Object ID from the application page. These values are used later to to configure AD authentication for the MS Online App service.



    The next step is to upload the base-64 encoded certificate that you have selected to authenticate to the application.

  7. Under Manage, click Certificates & secrets.

  8. Under Certificates, click Upload certificate and upload the base-64 encoded certificate.



  9. Click Add.



  10. Under Client secrets, click New client secret. The secret is used by the application to prove its identity when requesting a token.



  11. Enter a Description for the client secret, select when the secret Expires and then click Add.



  12. Copy the secret. You will use it to configure Azure Active Directory Authentication for the App Service you create for the MS Online PowerShell Microservice.