Setting Up an App Registration in Microsoft Entra ID
This guide walks you through creating an App Registration in Microsoft Entra ID so Adcyma can manage users and groups in your tenant, with optional Exchange Online support.
Prerequisites
Important
You need the Application Administrator role in Entra ID to complete this setup.
Step 1: Access App Registrations
- Sign in to your Microsoft Entra ID tenant
- Navigate to Microsoft Entra ID from the main dashboard
- In the left navigation panel, expand Manage
- Select App registrations
- Click New registration
Step 2: Register the Application
- Enter a descriptive name for the application (e.g., "Adcyma")
- Keep the default selection for supported account types
- Leave the redirect URI blank for now
- Click Register to create the app registration
Step 3: Generate Client Secret
- In your newly created app registration, navigate to Certificates & secrets
- Under the Client secrets tab, click New client secret
- Enter a meaningful description for the secret
- Choose an appropriate expiration period (remember to track this date)
- Click Add
Save your credentials now
Copy the Client Secret Value immediately. It won't be shown again after you leave this page.
You'll also need your Tenant ID from the app's Overview page.
Step 4: Configure Microsoft Graph Permissions
Add Required Permissions
- Navigate to API permissions
- Click Add a permission
- Select Microsoft Graph
- Choose Application permissions
Grant Essential Permissions
Add the following permissions:
Search for and select User.ReadWrite.All. This lets Adcyma create, update, and deprovision Entra ID users.
Search for and select Group.ReadWrite.All. This lets Adcyma manage your groups.
Search for and select AuditLog.Read.All. This lets Adcyma read last sign-in timestamps shown in the People Hub.
Search for and select User.EnableDisableAccount.All. This lets Adcyma enable and disable user accounts.
Grant Admin Consent
After adding all permissions, click Grant admin consent to activate them.
Step 5: Exchange Online Integration (Optional)
Optional
Only needed if you want Adcyma to manage Exchange tasks like converting mailboxes.
Add Exchange Permissions
- In API permissions, click Add a permission
- Go to APIs my organization uses
- Search for and select Office 365 Exchange Online
- Choose Application permissions
- Select Exchange.ManageAsApp
- Click Add permissions
Assign Exchange Administrator Role
- Navigate to Microsoft Entra ID > Roles and administrators
- Ensure All roles is selected in the sidebar
- Search for Exchange Recipient Administrator
- Click on the role to open its details page
- Click + Add assignments
- Switch to the Apps tab
- Search for your Adcyma app registration
- Select the app and click Add
Done
Your App Registration is set up with:
- User and group management permissions
- A client secret for API access
- Exchange integration (if you completed Step 5)
Next Steps
You'll need these three values when configuring Adcyma:
- Tenant ID (from the app's Overview page)
- Application (Client) ID (from the app's Overview page)
- Client Secret (the value you saved in Step 3)
Security reminders
- Track your client secret expiration date and renew it before it expires
- Review the granted permissions regularly
- Consider certificate-based authentication for production