External Identity Provider AdministratorMicrosoft Entra built-in role
Can configure identity providers for use in direct federation.
High risk. Microsoft marks it as privileged. Make it eligible through PIM, not permanent.
In short: External Identity Provider Administrator is a Microsoft Entra built-in role with 2 permissions. Microsoft marks it as privileged, so assign it through PIM where you can.
| Role ID | be2f45a1-457d-42af-a067-6ec1fa63bc45 |
|---|---|
| Privileged | Yes. Microsoft marks this role as privileged. |
| Permissions | 2 |
Before you assign it
Microsoft labels this a privileged role, so make it eligible through PIM rather than permanent, require phishing-resistant MFA to activate it, and review who has it regularly.
What it can do
| Permission | What it allows |
|---|---|
microsoft.directory/domains/federation/update | Update federation property of domains |
microsoft.directory/identityProviders/allProperties/allTasks | Read and configure identity providers in Azure Active Directory B2C |
Assign it
The role ID is the same in every tenant, so these work as they are. Make it eligible through PIM:
Connect-MgGraph -Scopes "RoleEligibilitySchedule.ReadWrite.Directory"
$user = Get-MgUser -UserId "jane.doe@contoso.com"
New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter @{
Action = "AdminAssign"
Justification = "Needs External Identity Provider Administrator for <reason>"
RoleDefinitionId = "be2f45a1-457d-42af-a067-6ec1fa63bc45"
DirectoryScopeId = "/"
PrincipalId = $user.Id
ScheduleInfo = @{
StartDateTime = (Get-Date).ToUniversalTime().ToString("o")
Expiration = @{ Type = "afterDuration"; Duration = "P180D" }
}
}What each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Reads user details from Microsoft Graph.
- Line 3: Creates a role management directory role eligibility schedule request in Microsoft Graph. Makes a change.
- Line 10: Gets the current date and time.
Who already has it?
Connect-MgGraph -Scopes "RoleManagement.Read.Directory"
Get-MgRoleManagementDirectoryRoleAssignment -Filter "roleDefinitionId eq 'be2f45a1-457d-42af-a067-6ec1fa63bc45'" -ExpandProperty Principal |
ForEach-Object { $_.Principal.AdditionalProperties.displayName }What each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Reads role management directory role assignment details from Microsoft Graph.
- Line 3: Runs the block once for each item coming down the pipeline.
Related roles
- Attribute Provisioning Administrator · 2 permissions · privileged
- Password Administrator · 2 permissions · privileged
- Application Developer · 3 permissions · privileged
- Attribute Provisioning Reader · 1 permission · privileged
- Authentication Extensibility Administrator · 1 permission · privileged
- Authentication Extensibility Password Administrator · 1 permission · privileged
- B2C IEF Keyset Administrator · 1 permission · privileged
- Domain Name Administrator · 3 permissions · privileged
Find the smallest role for a task →
Link to this page
Writing a guide or answering a question? Copy this link.
<a href="https://azureblog.co.uk/roles/entra/external-identity-provider-administrator/">External Identity Provider Administrator Entra role explained</a>Posts that mention External Identity Provider Administrator
Spotted something out of date or wrong? Tell us and we'll fix it.