Configure Microsoft Entra applications for external user integration in Aero
Aero allows synchronization and authentication of users using external services such as Microsoft Entra. In order to enable this, some configurations need to be done. Both in Aero and in Entra. To do so, log into your Microsoft Entra tenant.
Add and configure an application for user synchronisation
First, you will need to add an application that allows Aero to synchronize users. To do this, follow these steps:
- On the Entra overview page, click App registrations in the side bar.
-
Click New registration.
-
Enter a Name and click Register.
-
Click View API permissions.
-
Click Add a permission.
-
Click Microsoft Graph.
-
Click Application permissions.
-
Scroll down to Group and User (or use the search bar), and check the following permissions
- User.Read.All
- Group.Read.All
-
Click Add permissions.
-
In the overview, click Add permissions again.
- Click Microsoft Graph, and click Delegated permissions.
- Under OpenID permissions check the following permissions:
- email (View users' email address)
- profile (View users' basic profile)
-
Click Add permissions
-
In the overview, click Grant admin consent for 'tenant name'.
-
In the popup, click Yes.
-
The status of the permissions is now changed to Granted.
-
In the sidebar, click Certificates & secrets.
-
Click the tab Client secrets (#) and click + New client secret.
-
Enter a Description for the secret,and select an expiration under Expires.
-
Click Add.
-
The secret is created. Copy the Value, you will need this in your Aero configuration. Note: the value can only be copied after creating the secret. Once you leave the page, you will no longer be able to copy it.
-
In the sidebar, click Authentication.
-
Click Add a platform.
-
Click Single-page application.
-
Under Redirect URIs, enter
https://app.metacomplatform.com/login
. - Under Front-channel logout URL, enter
https://app.metacomplatform.com/logout
. -
Click Configure.
-
To allow users to also log in on their mobile apps, you need to add another URI. On the overview page, click Add a platform again.
-
Click Mobile and desktop applications.
-
Under Custom redirect URIs enter
com.bizzstream://oauth/redirect/
. -
Click Configure.
-
In the left-hand sidebar, click Manifest.
-
In the api-object, ensure
requestedAccessTokenVersion
has value2
.
Now that you can synchronize users from Entra to Aero, you can create a second application. This application will allow users to authenticate (i.e. log in) with Aero using Aero. To create an authentication application, follow these steps:
- On the Entra overview page, click App registrations in the side bar.
-
Click New registration.
-
Enter a Name.
- Check Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant).
- Under Redirect URI (Optional), select Single-page application (SPA) and enter
https://app.metacomplatform.com/login
. -
Click Register.
-
Click View API permissions.
-
Click Add a permission.
-
Click Microsoft Graph.
-
Click Delegated permissions.
-
Under OpenID permissions select openid and profile.
-
Under User select User.Read.All and User.ReadWrite.All and click Add Permissions.
-
In the overview, click Grant admin consent for 'tenant name'.
- In the popup, click Yes.
-
The status of the permissions is now changed to Granted.
-
In the sidebar, click Authentication.
- Check Access tokens (used for implicit flows) and ID tokens (used for implicit and hybrid flows).
-
Click Save.
You have now configured an app registration you can use to integrate with BizzStream Aero.
Create a Directory Service in Aero
Now that you have finished the configuration of applications in Entra, you can create a Directory Service in Aero, and connect it to your Entra applications.