Step 1 — App Registration
AOH Sync uses an Azure App Registration to authenticate your users via Microsoft Entra ID. You only need to complete this step once. This typically takes about 5 minutes.
Create the registration
Sign in to the Azure Portal.
Navigate to Microsoft Entra ID → App registrations → New registration.
Fill in the form:
Name:
AOH Sync(or any name you prefer)Supported account types: Accounts in this organizational directory only
Redirect URI: Leave this blank for now — you will add it after deployment in Step 5.
Click Register.
Configure API permissions
Go to API permissions → Add a permission → Microsoft Graph → Delegated permissions.
Add the following four permissions:
email
Delegated
View users' email address
openid
Delegated
Sign users in
profile
Delegated
View users' basic profile
User.Read
Delegated
Sign in and read user profile
Click Grant admin consent for [your organization] and confirm.
Create a client secret
Go to Certificates & secrets → New client secret.
Enter a description (for example,
aoh-sync-vm) and choose an expiry period.Click Add.
Copy the secret value immediately — Azure will not show it again after you leave this page.
How to check it worked
All four Microsoft Graph permissions show Granted (green checkmark) in the API permissions list, and you have copied both the Application (client) ID and the client secret value.
Related
Last updated