Azure AD Connection Issues
Last updated:
•
5 min read
Troubleshoot common Microsoft Entra ID connection errors and permission issues in fixSignatures.
“Insufficient privileges” Error
Cause: Admin consent has not been granted for the required API permissions.
Solution:
- Go to Azure Portal
- Navigate to Microsoft Entra ID → App registrations
- Select your fixSignatures app
- Go to API permissions
- Click Grant admin consent for [Your Organization]
- Confirm by clicking Yes
- Wait for all permissions to show green checkmarks
- Return to fixSignatures and click Test Connection
Note: You need Global Administrator or Privileged Role Administrator permissions to grant admin consent. If you don’t have these permissions, contact your IT administrator.
“Invalid client secret” Error
Cause: The client secret has expired, been deleted, or was entered incorrectly.
Solution:
- Go to Azure Portal → Your app registration
- Navigate to Certificates & secrets
- Check if any secrets exist and their expiration dates
- If expired or missing, click + New client secret
- Enter a description and choose expiration (we recommend 24 months)
- Click Add
- Immediately copy the Value (it won’t be shown again)
- In fixSignatures, go to Settings → Microsoft 365 Setup
- Click Edit and update the Client Secret
- Click Save, then Test Connection
“Invalid tenant ID” or “Invalid client ID” Error
Cause: The Tenant ID or Client ID was copied incorrectly or the app registration was deleted.
Solution:
- Go to Azure Portal → Your app registration
- On the Overview page, find:
- Application (client) ID – This is your Client ID
- Directory (tenant) ID – This is your Tenant ID
- Copy these values carefully (use the copy button)
- In fixSignatures, update the configuration with the correct values
- Click Save, then Test Connection
“Consent required” Error
Cause: New permissions were added but admin consent wasn’t granted for them.
Solution:
- Go to Azure Portal → Your app registration → API permissions
- Look for any permissions without a green checkmark
- Click Grant admin consent for [Your Organization]
- Confirm and wait for all permissions to show green checkmarks
Users Not Syncing
If the connection works but users aren’t appearing, check these common causes:
Allowed Domains Filter
If you’ve set Allowed Domains, only users with those email domains will sync:
- Go to Settings → Microsoft 365 Setup
- Check the Allowed Domains setting
- Either add the missing domain or clear the field to sync all domains
- Click Save, then Sync Users Now
User Has No Email
Users without a valid email address in Microsoft Entra ID won’t be synced:
- Check the user’s profile in Microsoft Entra ID
- Ensure they have a value in the “Mail” or “UserPrincipalName” field
Missing User.Read.All Permission
Verify the app has the required permission:
- Go to Azure Portal → Your app registration → API permissions
- Confirm
User.Read.Allis listed with type “Application” - Confirm it has admin consent (green checkmark)
Test Connection Fails
If “Test Connection” fails without a specific error message:
- Check network connectivity – Ensure your server can reach Microsoft’s APIs
- Verify all three credentials – Tenant ID, Client ID, and Client Secret must all be correct
- Check for typos – Extra spaces or newlines in the credential fields can cause failures
- Try a new secret – Create a fresh client secret and update the configuration
Required Permissions Reference
fixSignatures requires these Microsoft Graph API permissions:
| Permission | Type | Purpose |
|---|---|---|
User.Read.All | Application | Read all user profiles |
Group.Read.All | Application | Read group memberships |
Both permissions require admin consent.
Still Having Issues?
If you’ve tried all the above and still can’t connect:
- Take a screenshot of the error message
- Take a screenshot of your app’s API permissions page in Azure
- Contact support with these details
Was this article helpful?