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 integrate with your tenant for user and group management, with optional Exchange Online capabilities.
Prerequisites
Important Requirement
You must have Application Administrator role permissions to complete this setup process.
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
Critical: Save Your Credentials
Immediately copy and securely store both the Client Secret Value. The secret value will never be displayed again after you leave this page.
You'll also need your Tenant ID (found in the app's Overview page) for Adcyma configuration.
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 two critical permissions:
For user management, search for and select User.ReadWrite.All. This allows Adcyma to manage Entra ID users.
For group management, search for and select Group.ReadWrite.All. This allows Adcyma to manage your groups.
Grant Admin Consent
After adding both permissions, click Grant admin consent to activate them.
Step 5: Exchange Online Integration (Optional)
Optional Configuration
Complete this section only if you want Adcyma to manage Exchange tasks like converting user mailboxes to shared 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
Configuration Complete
Your App Registration is now properly configured with:
- User and Group management permissions
- Client secret for secure API access
- Exchange integration for mailbox management (if configured)
Next Steps
Provide the following information during your Adcyma setup process:
- Tenant ID (found on the app's Overview page)
- Application (Client) ID (found on the app's Overview page)
- Client Secret (the value you saved during Step 3)
Security Reminders
- Monitor your client secret expiration date and renew before it expires
- Regularly review the permissions granted to ensure they align with your security policies
- Consider implementing certificate-based authentication for enhanced security in production environments