ESC
Type to search...

RoleManagement.Read.All

Export JSON
Export CSV
Copy URL
Print
ApplicationDelegated Full Control All Resources

Allows the app to read role-based access control (RBAC) settings for all RBAC providers without a signed-in user. This includes reading role definitions and role assignments.

Permission data: April 6, 2026 at 4:06 AM UTC
Delegated Access App-Only Access

Permission Details

Application Permission

Read role management data for all RBAC providers

Allows the app to read role-based access control (RBAC) settings for all RBAC providers without a signed-in user. This includes reading role definitions and role assignments.

Delegated Permission Admin consent required

Read role management data for all RBAC providers

Allows the app to read the role-based access control (RBAC) settings for all RBAC providers, on behalf of the signed-in user. This includes reading role definitions and role assignments.

Properties

Microsoft Graph v1.0 exact-category-docs

Properties is shown from stable Microsoft Graph v1.0 metadata.

Property Type Description
directory object
entitlementManagement object Container for roles and assignments for entitlement management resources.

JSON Representation

Microsoft Graph v1.0 exact-category-docs

JSON representation is shown from stable Microsoft Graph v1.0 metadata.

JSON representation
{
  "@odata.type": "#microsoft.graph.roleManagement"
}

Relationships

Microsoft Graph v1.0 exact-category-docs

Relationships is shown from stable Microsoft Graph v1.0 metadata.

Relationship Type Description
directory rbacApplication Read-only. Nullable.
entitlementManagement rbacApplication Container for roles and assignments for entitlement management resources.
enterpriseApps rbacApplication collection Related enterpriseApps data exposed by this resource.

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /policies/roleManagementPolicies?$filter=scopeId eq '{groupId}' and scopeType eq 'Group'
GET /policies/roleManagementPolicies?$filter=scopeId eq '/' and scopeType eq 'DirectoryRole'
GET /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}
GET /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/rules
GET /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/rules/{unifiedRoleManagementPolicyRuleId}
GET /policies/roleManagementPolicyAssignments?$filter=scopeId eq '{groupId}' and scopeType eq 'Group'
GET /policies/roleManagementPolicyAssignments?$filter=scopeId eq '/' and scopeType eq 'DirectoryRole'
GET /policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignmentId}
GET /roleManagement/directory/roleAssignments
GET /roleManagement/directory/roleAssignments/{id}
GET /roleManagement/directory/roleAssignmentScheduleInstances
GET /roleManagement/directory/roleAssignmentScheduleInstances/{unifiedRoleAssignmentScheduleInstanceId}
GET /roleManagement/directory/roleAssignmentScheduleInstances/filterByCurrentUser(on=parameterValue)
GET /roleManagement/directory/roleAssignmentSchedules
GET /roleManagement/directory/roleAssignmentSchedules/{unifiedRoleAssignmentScheduleId}
GET /roleManagement/directory/roleAssignmentSchedules/filterByCurrentUser(on='parameterValue')
GET /roleManagement/directory/roleEligibilityScheduleInstances
GET /roleManagement/directory/roleEligibilityScheduleInstances/{unifiedRoleEligibilityScheduleInstanceId}
GET /roleManagement/directory/roleEligibilityScheduleInstances/filterByCurrentUser(on='parameterValue')
GET /roleManagement/directory/roleEligibilitySchedules
GET /roleManagement/directory/roleEligibilitySchedules/{unifiedRoleEligibilityScheduleId}
GET /roleManagement/directory/roleEligibilitySchedules/filterByCurrentUser(on='parameterValue')
GET /roleManagement/entitlementManagement/roleAssignments
GET /roleManagement/entitlementManagement/roleAssignments/{id}
Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
GET /policies/roleManagementPolicies?$filter=scopeId eq '{groupId}' and scopeType eq 'Group'
GET /policies/roleManagementPolicies?$filter=scopeId eq '/' and scopeType eq 'DirectoryRole'
GET /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}
GET /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/effectiveRules
GET /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/rules
GET /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/rules/{unifiedRoleManagementPolicyRuleId}
GET /policies/roleManagementPolicyAssignments?$filter=scopeId eq '{groupId}' and scopeType eq 'Group'
GET /policies/roleManagementPolicyAssignments?$filter=scopeId eq '/' and scopeType eq 'DirectoryRole'
GET /policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignmentId}
GET /roleManagement/cloudPc/roleAssignments
GET /roleManagement/cloudPC/roleAssignments/{id}
GET /roleManagement/cloudPC/roleDefinitions
GET /roleManagement/cloudPC/roleDefinitions/{id}
GET /roleManagement/defender/customAppScopes
GET /roleManagement/defender/roleAssignments
GET /roleManagement/defender/roleDefinitions
GET /roleManagement/defender/roleDefinitions/{id}
GET /roleManagement/deviceManagement/roleAssignments
GET /roleManagement/deviceManagement/roleAssignments/{id}
GET /roleManagement/deviceManagement/roleDefinitions
GET /roleManagement/deviceManagement/roleDefinitions/{id}
GET /roleManagement/directory/resourceNamespaces
GET /roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespaceId}
GET /roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespaceId}/resourceActions
GET /roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespaceId}/resourceActions/{unifiedRbacResourceActionId}
GET /roleManagement/directory/roleAssignments
GET /roleManagement/directory/roleAssignments/{id}
GET /roleManagement/directory/roleAssignmentScheduleInstances
GET /roleManagement/directory/roleAssignmentScheduleInstances/{unifiedRoleAssignmentScheduleInstancesId}
GET /roleManagement/directory/roleAssignmentScheduleInstances/filterByCurrentUser(on='principal')
GET /roleManagement/directory/roleAssignmentSchedules
GET /roleManagement/directory/roleAssignmentSchedules/{unifiedRoleAssignmentSchedulesId}
GET /roleManagement/directory/roleAssignmentSchedules/filterByCurrentUser(on='principal')
GET /roleManagement/directory/roleDefinitions
GET /roleManagement/directory/roleDefinitions/{id}
GET /roleManagement/directory/roleEligibilityScheduleInstances
GET /roleManagement/directory/roleEligibilityScheduleInstances/{unifiedRoleEligibilityScheduleInstancesId}
GET /roleManagement/directory/roleEligibilityScheduleInstances/filterByCurrentUser(on='principal')
GET /roleManagement/directory/roleEligibilitySchedules
GET /roleManagement/directory/roleEligibilitySchedules/{unifiedRoleEligibilitySchedulesId}
GET /roleManagement/directory/roleEligibilitySchedules/filterByCurrentUser(on='principal')
GET /roleManagement/entitlementManagement/roleAssignments?
GET /roleManagement/entitlementManagement/roleAssignments/{id}
GET /roleManagement/entitlementManagement/roleDefinitions
GET /roleManagement/entitlementManagement/roleDefinitions/{id}
GET /roleManagement/exchange/customAppScopes
GET /roleManagement/exchange/customAppScopes/{id}
GET /roleManagement/exchange/roleAssignments
GET /roleManagement/exchange/roleAssignments/{id}
GET /roleManagement/exchange/roleDefinitions
GET /roleManagement/exchange/roleDefinitions/{id}
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgPolicyRoleManagementPolicy /policies/roleManagementPolicies?$filter=scopeId eq '/' and scopeType eq 'DirectoryRole'
List roleManagementPolicies
Get-MgPolicyRoleManagementPolicy /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}
Get unifiedRoleManagementPolicy
Get-MgPolicyRoleManagementPolicyAssignment /policies/roleManagementPolicyAssignments?$filter=scopeId eq '/' and scopeType eq 'DirectoryRole'
List roleManagementPolicyAssignments
Get-MgPolicyRoleManagementPolicyAssignment /policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignmentId}
Get unifiedRoleManagementPolicyAssignment
Get-MgPolicyRoleManagementPolicyRule /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/rules
List rules (for a role management policy)
Get-MgPolicyRoleManagementPolicyRule /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/rules/{unifiedRoleManagementPolicyRuleId}
Get unifiedRoleManagementPolicyRule
Get-MgRoleManagementDirectoryRoleAssignment /roleManagement/directory/roleAssignments
List unifiedRoleAssignments
Get-MgRoleManagementDirectoryRoleAssignment /roleManagement/directory/roleAssignments/{id}
Get unifiedRoleAssignment
Get-MgRoleManagementDirectoryRoleAssignmentSchedule /roleManagement/directory/roleAssignmentSchedules
List roleAssignmentSchedules
Get-MgRoleManagementDirectoryRoleAssignmentSchedule /roleManagement/directory/roleAssignmentSchedules/{unifiedRoleAssignmentScheduleId}
Get unifiedRoleAssignmentSchedule
Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance /roleManagement/directory/roleAssignmentScheduleInstances
List roleAssignmentScheduleInstances
Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance /roleManagement/directory/roleAssignmentScheduleInstances/{unifiedRoleAssignmentScheduleInstanceId}
Get unifiedRoleAssignmentScheduleInstance
Get-MgRoleManagementDirectoryRoleEligibilitySchedule /roleManagement/directory/roleEligibilitySchedules
List roleEligibilitySchedules
Get-MgRoleManagementDirectoryRoleEligibilitySchedule /roleManagement/directory/roleEligibilitySchedules/{unifiedRoleEligibilityScheduleId}
Get unifiedRoleEligibilitySchedule
Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance /roleManagement/directory/roleEligibilityScheduleInstances
List roleEligibilityScheduleInstances
Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance /roleManagement/directory/roleEligibilityScheduleInstances/{unifiedRoleEligibilityScheduleInstanceId}
Get unifiedRoleEligibilityScheduleInstance
Get-MgRoleManagementEntitlementManagementRoleAssignment /roleManagement/directory/roleAssignments
List unifiedRoleAssignments
Invoke-MgFilterRoleManagementDirectoryRoleAssignmentScheduleByCurrentUser /roleManagement/directory/roleAssignmentSchedules/filterByCurrentUser(on='parameterValue')
unifiedRoleAssignmentSchedule: filterByCurrentUser
Invoke-MgFilterRoleManagementDirectoryRoleAssignmentScheduleInstanceByCurrentUser /roleManagement/directory/roleAssignmentScheduleInstances/filterByCurrentUser(on=parameterValue)
unifiedRoleAssignmentScheduleInstance: filterByCurrentUser
Invoke-MgFilterRoleManagementDirectoryRoleEligibilityScheduleByCurrentUser /roleManagement/directory/roleEligibilitySchedules/filterByCurrentUser(on='parameterValue')
unifiedRoleEligibilitySchedule: filterByCurrentUser
Invoke-MgFilterRoleManagementDirectoryRoleEligibilityScheduleInstanceByCurrentUser /roleManagement/directory/roleEligibilityScheduleInstances/filterByCurrentUser(on='parameterValue')
unifiedRoleEligibilityScheduleInstance: filterByCurrentUser
Exact Microsoft Learn PowerShell match

Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.

Commands
Get-MgBetaPolicyRoleManagementPolicy /policies/roleManagementPolicies?$filter=scopeId eq '/' and scopeType eq 'DirectoryRole'
List roleManagementPolicies
Get-MgBetaPolicyRoleManagementPolicy /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}
Get unifiedRoleManagementPolicy
Get-MgBetaPolicyRoleManagementPolicyAssignment /policies/roleManagementPolicyAssignments?$filter=scopeId eq '/' and scopeType eq 'DirectoryRole'
List roleManagementPolicyAssignments
Get-MgBetaPolicyRoleManagementPolicyAssignment /policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignmentId}
Get unifiedRoleManagementPolicyAssignment
Get-MgBetaPolicyRoleManagementPolicyEffectiveRule /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/effectiveRules
List effectiveRules
Get-MgBetaPolicyRoleManagementPolicyRule /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/rules
List rules (for a role management policy)
Get-MgBetaPolicyRoleManagementPolicyRule /policies/roleManagementPolicies/{unifiedRoleManagementPolicyId}/rules/{unifiedRoleManagementPolicyRuleId}
Get unifiedRoleManagementPolicyRule
Get-MgBetaRoleManagementCloudPcRoleAssignment /roleManagement/cloudPc/roleAssignments
List unifiedRoleAssignmentMultiple
Get-MgBetaRoleManagementCloudPcRoleAssignment /roleManagement/cloudPC/roleAssignments/{id}
Get unifiedRoleAssignmentMultiple
Get-MgBetaRoleManagementCloudPcRoleDefinition /roleManagement/cloudPC/roleDefinitions
List roleDefinitions
Get-MgBetaRoleManagementCloudPcRoleDefinition /roleManagement/cloudPC/roleDefinitions/{id}
Get unifiedRoleDefinition
Get-MgBetaRoleManagementDeviceManagementRoleAssignment /roleManagement/cloudPc/roleAssignments
List unifiedRoleAssignmentMultiple
Get-MgBetaRoleManagementDeviceManagementRoleAssignment /roleManagement/cloudPC/roleAssignments/{id}
Get unifiedRoleAssignmentMultiple
Get-MgBetaRoleManagementDirectoryResourceNamespace /roleManagement/directory/resourceNamespaces
List resourceNamespaces
Get-MgBetaRoleManagementDirectoryResourceNamespace /roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespaceId}
Get unifiedRbacResourceNamespace
Get-MgBetaRoleManagementDirectoryResourceNamespaceResourceAction /roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespaceId}/resourceActions
List resourceActions
Get-MgBetaRoleManagementDirectoryResourceNamespaceResourceAction /roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespaceId}/resourceActions/{unifiedRbacResourceActionId}
Get unifiedRbacResourceAction
Get-MgBetaRoleManagementDirectoryRoleAssignment /roleManagement/directory/roleAssignments
List unifiedRoleAssignments
Get-MgBetaRoleManagementDirectoryRoleAssignment /roleManagement/directory/roleAssignments/{id}
Get unifiedRoleAssignment
Get-MgBetaRoleManagementDirectoryRoleAssignmentSchedule /roleManagement/directory/roleAssignmentSchedules
List roleAssignmentSchedules
Get-MgBetaRoleManagementDirectoryRoleAssignmentSchedule /roleManagement/directory/roleAssignmentSchedules/{unifiedRoleAssignmentSchedulesId}
Get unifiedRoleAssignmentSchedule
Get-MgBetaRoleManagementDirectoryRoleAssignmentScheduleInstance /roleManagement/directory/roleAssignmentScheduleInstances
List roleAssignmentScheduleInstances
Get-MgBetaRoleManagementDirectoryRoleAssignmentScheduleInstance /roleManagement/directory/roleAssignmentScheduleInstances/{unifiedRoleAssignmentScheduleInstancesId}
Get unifiedRoleAssignmentScheduleInstance
Get-MgBetaRoleManagementDirectoryRoleDefinition /roleManagement/cloudPC/roleDefinitions
List roleDefinitions
Get-MgBetaRoleManagementDirectoryRoleDefinition /roleManagement/cloudPC/roleDefinitions/{id}
Get unifiedRoleDefinition
Get-MgBetaRoleManagementDirectoryRoleEligibilitySchedule /roleManagement/directory/roleEligibilitySchedules
List roleEligibilitySchedules
Get-MgBetaRoleManagementDirectoryRoleEligibilitySchedule /roleManagement/directory/roleEligibilitySchedules/{unifiedRoleEligibilitySchedulesId}
Get unifiedRoleEligibilitySchedule
Get-MgBetaRoleManagementDirectoryRoleEligibilityScheduleInstance /roleManagement/directory/roleEligibilityScheduleInstances
List roleEligibilityScheduleInstances
Get-MgBetaRoleManagementDirectoryRoleEligibilityScheduleInstance /roleManagement/directory/roleEligibilityScheduleInstances/{unifiedRoleEligibilityScheduleInstancesId}
Get unifiedRoleEligibilityScheduleInstance
Get-MgBetaRoleManagementEntitlementManagementRoleAssignment /roleManagement/directory/roleAssignments
List unifiedRoleAssignments
Get-MgBetaRoleManagementEntitlementManagementRoleDefinition /roleManagement/cloudPC/roleDefinitions
List roleDefinitions
Get-MgBetaRoleManagementEntitlementManagementRoleDefinition /roleManagement/cloudPC/roleDefinitions/{id}
Get unifiedRoleDefinition
Get-MgBetaRoleManagementExchangeCustomAppScope /roleManagement/exchange/customAppScopes
List customAppScopes
Get-MgBetaRoleManagementExchangeCustomAppScope /roleManagement/exchange/customAppScopes/{id}
Get customAppScope
Get-MgBetaRoleManagementExchangeRoleAssignment /roleManagement/directory/roleAssignments
List unifiedRoleAssignments
Get-MgBetaRoleManagementExchangeRoleAssignment /roleManagement/directory/roleAssignments/{id}
Get unifiedRoleAssignment
Get-MgBetaRoleManagementExchangeRoleDefinition /roleManagement/cloudPC/roleDefinitions
List roleDefinitions
Get-MgBetaRoleManagementExchangeRoleDefinition /roleManagement/cloudPC/roleDefinitions/{id}
Get unifiedRoleDefinition
Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleByCurrentUser /roleManagement/directory/roleAssignmentSchedules/filterByCurrentUser(on='principal')
unifiedRoleAssignmentSchedule: filterByCurrentUser
Invoke-MgBetaFilterRoleManagementDirectoryRoleAssignmentScheduleInstanceByCurrentUser /roleManagement/directory/roleAssignmentScheduleInstances/filterByCurrentUser(on='principal')
unifiedRoleAssignmentScheduleInstance: filterByCurrentUser
Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleByCurrentUser /roleManagement/directory/roleEligibilitySchedules/filterByCurrentUser(on='principal')
unifiedRoleEligibilitySchedule: filterByCurrentUser
Invoke-MgBetaFilterRoleManagementDirectoryRoleEligibilityScheduleInstanceByCurrentUser /roleManagement/directory/roleEligibilityScheduleInstances/filterByCurrentUser(on='principal')
unifiedRoleEligibilityScheduleInstance: filterByCurrentUser

Code Examples

C# / .NET SDK
Get unifiedRoleAssignment
// Code snippets are only available for the latest version. Current version is 5.x

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.RoleManagement.Directory.RoleAssignments["{unifiedRoleAssignment-id}"].GetAsync();
JavaScript
Get unifiedRoleAssignment
const options = {
	authProvider,
};

const client = Client.init(options);

let unifiedRoleAssignment = await client.api('/roleManagement/directory/roleAssignments/lAPpYvVpN0KRkAEhdxReELhrmgjL6CxJqkHAeKoLUSA-11')
	.get();
PowerShell
Get unifiedRoleAssignment
Import-Module Microsoft.Graph.Identity.Governance

Get-MgRoleManagementDirectoryRoleAssignment -UnifiedRoleAssignmentId $unifiedRoleAssignmentId
Python
Get unifiedRoleAssignment
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python

result = await graph_client.role_management.directory.role_assignments.by_unified_role_assignment_id('unifiedRoleAssignment-id').get()

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Application permissions or delegated permissions and search for RoleManagement.Read.All

4

Grant Admin Consent

Application permissions always require admin consent.