Admin Role Setup Guide for Entra Cards
This guide explains how to assign the Admin role to users in your organization, enabling them to access License Management and Data Quality features in Entra Cards.
Overview
Entra Cards uses Entra ID App Roles to control access to administrative features. The Admin role is defined in the application registration and can be assigned by your tenant administrators.
What Can Admin Users Do?
Admin users have access to:
- License Management - View and analyze Microsoft 365 license assignments, costs, utilization, and optimization opportunities
- Data Quality - Monitor directory data completeness and identify users with missing profile information
Additional Permissions for Some Admin Modules
Most admin features work with standard setup, but two modules may request extra Microsoft Graph permissions:
- Licensing (Utilization tab):
Organization.Read.All - Guest Users (Stale Guests tab):
AuditLog.Read.All
Prerequisites
- You must be a Global Administrator, Cloud Application Administrator, or Application Administrator in your Entra ID tenant
- Entra Cards must already be registered in your tenant (users have signed in at least once)
Step-by-Step Instructions
Step 1: Access Enterprise Applications
- Sign in to the Entra ID Portal
- Navigate to Entra ID
- Click Enterprise apps in the left menu
- Search for EntraCards and click on it
- If you don't see it, make sure at least one user has signed in to EntraCards first
Step 2: IMPORTANT - Allow All Users to Sign In
- In the EntraCards enterprise application, click Properties in the left menu
- Find Assignment required? setting
- Set it to No
- Click Save
This allows all users in your tenant to sign in and access basic features (Directory, Search, vCard export, etc.). Only users with the Admin role can access License Management and Data Quality.
Step 3: Assign the Admin Role to Users
- In the EntraCards enterprise application, click Users and groups in the left menu
- Click + Add user/group
- Click Users - None Selected
- Search for and select the user(s) you want to grant admin access
- Click Select
- Click Select a role - None Selected
- Choose the Admin role
- Click Select
- Click Assign
Step 4: Verify the Assignment
- The user should now appear in the Users and groups list with the Admin role
- Ask the user to sign out and sign back in to Entra Cards
- The user should now see and be able to access:
- Admin menu in the navigation bar
- License Management page
- Data Quality page
Assigning Roles to Groups (Recommended)
Instead of assigning roles to individual users, you can assign them to Entra ID groups for easier management:
- Create a security group in Entra ID (e.g., "Entra Cards Admins")
- Add users to the group
- Follow the same steps above, but select the group instead of individual users
- All group members will automatically get the Admin role
Troubleshooting
If users who are NOT assigned any role are getting an error about needing admin permission:
- Go to Entra ID Portal → Enterprise Applications → Entra Cards → Properties
- Set Assignment required? to No
- Click Save
This happened because adding App Roles automatically enabled this setting. Setting it to "No" allows all tenant users to sign in, while still requiring the Admin role for administrative features.
If a user is assigned the Admin role but still sees "Access Denied":
- Verify the role assignment in Entra ID Portal → Enterprise Applications → Entra Cards → Users and groups
- Have the user sign out completely from Entra Cards and sign back in
- Check the token - The Admin role should appear in the user's access token
- Clear browser cache and try again
- Make sure at least one user has signed in to Entra Cards
- The enterprise application is created automatically on first sign-in
- If using a custom app registration, verify the Application ID is correct in appsettings.json
- Verify you have the required administrator role (Global Admin, Cloud App Admin, or Application Admin)
- Check that the Admin role exists in the app registration (should be created automatically)
Removing Admin Access
To remove admin access from a user:
- Go to Entra ID Portal → Enterprise Applications → Entra Cards → Users and groups
- Select the user
- Click Remove
- Have the user sign out and sign back in
Best Practices
- Use Groups: Assign roles to groups rather than individual users for easier management
- Principle of Least Privilege: Only assign Admin role to users who genuinely need access to these features
- Regular Reviews: Periodically review who has admin access and remove unnecessary assignments
- Documentation: Keep a record of who has admin access and why