Setting Up an App Registration in Microsoft Entra ID
This comprehensive guide walks you through creating an App Registration in Microsoft Entra ID to enable Adcyma to 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
- Application Name: Enter a descriptive name (e.g., "Adcyma")
- Supported Account Types: Keep the default selection
- Redirect URI: Leave this 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
- Description: Enter a meaningful description for the secret
- Expiration: 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 enables 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:
✅ Core Permissions: User and Group management capabilities
✅ Authentication: Client secret for secure API access
✅ Exchange Integration: (If configured) Mailbox management capabilities
Next Steps
Provide the following information during your Adcyma setup process:
- Tenant ID: Found in the app's Overview page
- Application (Client) ID: Found in 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