This guide describes how to create an Azure app registration for Microsoft Entra ID (formerly Azure AD) so AiStrike can collect user identities and HR profile attributes.
Prerequisites
-
An Azure / Entra administrator who can create app registrations and grant admin consent (Global Administrator or Application Administrator).
1. Create an app registration
-
Sign in to the Azure Portal.
-
Go to Microsoft Entra ID → App registrations.
-
Click New registration.
-
Enter a name (for example,
AiStrike-Entra). -
Under Supported account types, select Accounts in this organizational directory only (Single tenant).
-
Click Register.
-
On the Overview page, copy:
-
Application (client) ID — used in AiStrike as Client Id
-
Directory (tenant) ID — used in AiStrike as Tenant Id
-
2. Assign Microsoft Graph permissions
These are application permissions. Admin consent is required.
-
Open the app registration.
-
Go to API permissions → Add a permission.
-
Select Microsoft Graph → Application permissions.
-
Add the following:
|
Permission |
Required |
Purpose |
|---|---|---|
|
User.Read.All or Directory.Read.All |
Yes |
Read user profiles |
|
AuditLog.Read.All |
No |
Read last sign-in activity |
|
User-LifeCycleInfo.Read.All |
No |
Read employee hire and leave dates |
-
Click Add permissions.
3. Grant admin consent
-
Still on API permissions, click Grant admin consent for <Tenant Name>.
-
Confirm Yes.
-
Status should show Granted for <Tenant Name> for each permission.
4. Create a client secret
-
Go to Certificates & secrets → New client secret.
-
Enter a description (for example,
AiStrike) and choose an expiration period. -
Click Add.
-
Copy the Value immediately. It is shown only once.
This value is used in AiStrike as Client Secret.
5. Connector configuration
|
Field |
Description |
|---|---|
|
Configuration Name |
Friendly name, e.g. Microsoft Entra |
|
Client Id |
Application (client) ID from Step 1 |
|
Client Secret |
Secret value from Step 4 |
|
Tenant Id |
Directory (tenant) ID from Step 1 |
|
Scope |
Optional. Leave the default |
|
Enable Daily Identity Sync |
Optional. Enable to sync identities on a daily schedule |
|
HR Data Correlation Field |
Optional. Entra attribute used to match HR records (for AD-synced tenants, |
|
Inventory Correlation Field |
Optional. Inventory attribute to match against the HR field |
If you have any questions or need assistance configuring the integration, please contact the AiStrike team.