Entra role
Knowledge AdministratorMicrosoft Entra built-in role
Can configure knowledge, learning, and other intelligent features.
Read onlyChange some thingsPrivilegedTake over the tenant
Medium risk. It can change some settings or objects, but Microsoft doesn't mark it as privileged.
In short: Knowledge Administrator is a Microsoft Entra built-in role with 13 permissions. Microsoft doesn't mark it as privileged.
| Role ID | b5a8dcf3-09d5-43a9-a639-8e29ef291470 |
|---|---|
| Privileged | No |
| Permissions | 13 |
What it can do
| Permission | What it allows |
|---|---|
microsoft.directory/groups.security/basic/update | Update basic properties on Security groups, excluding role-assignable groups |
microsoft.directory/groups.security/create | Create Security groups, excluding role-assignable groups |
microsoft.directory/groups.security/createAsOwner | Create Security groups, excluding role-assignable groups. Creator is added as the first owner. |
microsoft.directory/groups.security/delete | Delete Security groups, excluding role-assignable groups |
microsoft.directory/groups.security/members/update | Update members of Security groups, excluding role-assignable groups |
microsoft.directory/groups.security/owners/update | Update owners of Security groups, excluding role-assignable groups |
microsoft.office365.knowledge/contentUnderstanding/allProperties/allTasks | Read and update all properties of content understanding in Microsoft 365 admin center |
microsoft.office365.knowledge/knowledgeNetwork/allProperties/allTasks | Read and update all properties of knowledge network in Microsoft 365 admin center |
microsoft.office365.knowledge/learningSources/allProperties/allTasks | Manage learning sources and all their properties in Learning App. |
microsoft.office365.protectionCenter/sensitivityLabels/allProperties/read | Read all properties of sensitivity labels in the Security and Compliance centers |
microsoft.office365.sharePoint/allEntities/allTasks | Create and delete all resources, and read and update standard properties in SharePoint |
microsoft.office365.supportTickets/allEntities/allTasks | Create and manage Microsoft 365 service requests |
microsoft.office365.webPortal/allEntities/standard/read | Read basic properties on all resources in the Microsoft 365 admin center |
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 Knowledge Administrator for <reason>"
RoleDefinitionId = "b5a8dcf3-09d5-43a9-a639-8e29ef291470"
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 'b5a8dcf3-09d5-43a9-a639-8e29ef291470'" -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
- Tenant Governance Relationship Administrator · 13 permissions
- Exchange Backup Administrator · 12 permissions
- Knowledge Manager · 11 permissions
- Teams Communications Administrator · 11 permissions
- Yammer Administrator · 15 permissions
- Attribute Assignment Administrator · 10 permissions
- IoT Device Administrator · 10 permissions
- Teams Telephony Administrator · 10 permissions
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/knowledge-administrator/">Knowledge Administrator Entra role explained</a>Spotted something out of date or wrong? Tell us and we'll fix it.