DeviceManagementRBAC. ReadWrite. All
Permission details
Roles that support this permission
Request samples
About these request samplesSome read operations use POST requests, such as searches that send query details in a request body. Samples and permission mappings are collated from multiple official Microsoft sources, including Microsoft Graph DevX and the PowerShell SDK. Differences between API versions and source metadata mean they may not always reflect actual endpoint behavior. Verify the current Microsoft Graph documentation before implementation.
application
- DELETE
/devicemanagement/resourceoperations/{id}PowerShellRemove-MgDeviceManagementResourceOperationDeviceManagement.AdministrationLeast privilege - DELETE
/devicemanagement/roleassignments/{id}PowerShellRemove-MgDeviceManagementRoleAssignmentDeviceManagement.AdministrationLeast privilege - DELETE
/devicemanagement/roledefinitions/{id}PowerShellRemove-MgDeviceManagementRoleDefinitionDeviceManagement.AdministrationLeast privilege - DELETE
/devicemanagement/roledefinitions/{id}/roleassignments/{id}PowerShellRemove-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.AdministrationLeast privilege - PATCH
/devicemanagement/resourceoperations/{id}PowerShellUpdate-MgDeviceManagementResourceOperationDeviceManagement.AdministrationLeast privilege - PATCH
/devicemanagement/roleassignments/{id}PowerShellUpdate-MgDeviceManagementRoleAssignmentDeviceManagement.AdministrationLeast privilege - PATCH
/devicemanagement/roledefinitions/{id}PowerShellUpdate-MgDeviceManagementRoleDefinitionDeviceManagement.AdministrationLeast privilege - PATCH
/devicemanagement/roledefinitions/{id}/roleassignments/{id}PowerShellUpdate-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.AdministrationLeast privilege - POST
/devicemanagement/resourceoperationsPowerShellNew-MgDeviceManagementResourceOperationDeviceManagement.AdministrationLeast privilege - POST
/devicemanagement/roleassignmentsPowerShellNew-MgDeviceManagementRoleAssignmentDeviceManagement.AdministrationLeast privilege - POST
/devicemanagement/roledefinitionsPowerShellNew-MgDeviceManagementRoleDefinitionDeviceManagement.AdministrationLeast privilege - POST
/devicemanagement/roledefinitions/{id}/roleassignmentsPowerShellNew-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.AdministrationLeast privilege - DELETE
/devicemanagement/operationapprovalpolicies/{id}No matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/operationapprovalrequests/{id}No matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}No matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignments/{id}No matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/roledefinitionNo matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/rolescopetags/{id}No matching Microsoft Graph PowerShell command - DELETE
/rolemanagement/cloudpc/roleassignments/{id}No matching Microsoft Graph PowerShell command - DELETE
/rolemanagement/cloudpc/roledefinitions/{id}No matching Microsoft Graph PowerShell command - DELETE
/rolemanagement/devicemanagement/roleassignments/{id}No matching Microsoft Graph PowerShell command - DELETE
/rolemanagement/devicemanagement/roledefinitions/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagementPowerShellGet-MgDeviceManagementDeviceManagement - GET
/devicemanagement/getassignedroledetailsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/geteffectivepermissionsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpoliciesNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpolicies/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpolicies/getapprovableoperationsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpolicies/getoperationsallowedapprovalNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpolicies/getoperationsrequiringapprovalNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalrequestsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalrequests/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalrequests/getmyrequestbyidNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalrequests/getmyrequestsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/resourceoperationsPowerShellGet-MgDeviceManagementResourceOperationDeviceManagement.Administration - GET
/devicemanagement/resourceoperations/{id}PowerShellGet-MgDeviceManagementResourceOperationDeviceManagement.Administration - GET
/devicemanagement/resourceoperations/{id}/getscopesforuserNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/roleassignmentsPowerShellGet-MgDeviceManagementRoleAssignmentDeviceManagement.Administration - GET
/devicemanagement/roleassignments/{id}PowerShellGet-MgDeviceManagementRoleAssignmentDeviceManagement.Administration - GET
/devicemanagement/roledefinitionsPowerShellGet-MgDeviceManagementRoleDefinitionDeviceManagement.Administration - GET
/devicemanagement/roledefinitions/{id}PowerShellGet-MgDeviceManagementRoleDefinitionDeviceManagement.Administration - GET
/devicemanagement/roledefinitions/{id}/roleassignmentsPowerShellGet-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.Administration - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}PowerShellGet-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.Administration - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetagsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignmentsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignments/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/hascustomrolescopetagNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/roledefinitionPowerShellGet-MgDeviceManagementRoleDefinitionRoleAssignmentRoleDefinitionDeviceManagement.Administration - GET
/devicemanagement/rolescopetagsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/rolescopetags/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/rolescopetags/hascustomrolescopetagNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/scopedforresourceNo matching Microsoft Graph PowerShell command - GET
/rolemanagementPowerShellGet-MgRoleManagementDeviceManagement.Enrollment - GET
/rolemanagement/cloudpc/roleassignmentsNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/cloudpc/roleassignments/{id}No matching Microsoft Graph PowerShell command - GET
/rolemanagement/cloudpc/roledefinitionsNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/cloudpc/roledefinitions/{id}No matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagementNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagement/roleassignmentsNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagement/roleassignments/{id}No matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagement/roledefinitionsNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagement/roledefinitions/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagementPowerShellUpdate-MgDeviceManagementDeviceManagement - PATCH
/devicemanagement/operationapprovalpolicies/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/operationapprovalrequests/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignments/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/roledefinitionNo matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/rolescopetags/{id}No matching Microsoft Graph PowerShell command - PATCH
/rolemanagementPowerShellUpdate-MgRoleManagementDeviceManagement.Enrollment - PATCH
/rolemanagement/cloudpc/roleassignmentsNo matching Microsoft Graph PowerShell command - PATCH
/rolemanagement/cloudpc/roledefinitions/{id}No matching Microsoft Graph PowerShell command - PATCH
/rolemanagement/devicemanagementNo matching Microsoft Graph PowerShell command - PATCH
/rolemanagement/devicemanagement/roleassignmentsNo matching Microsoft Graph PowerShell command - PATCH
/rolemanagement/devicemanagement/roledefinitions/{id}No matching Microsoft Graph PowerShell command - POST
/devicemanagement/operationapprovalpoliciesNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/operationapprovalrequestsNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/operationapprovalrequests/getrequeststatusNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetagsNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignmentsNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/getrolescopetagsbyidNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/rolescopetagsNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/rolescopetags/{id}/assignNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/rolescopetags/getrolescopetagsbyidNo matching Microsoft Graph PowerShell command - POST
/rolemanagement/cloudpc/roleassignmentsNo matching Microsoft Graph PowerShell command - POST
/rolemanagement/cloudpc/roledefinitionsNo matching Microsoft Graph PowerShell command - POST
/rolemanagement/devicemanagement/roleassignmentsNo matching Microsoft Graph PowerShell command - POST
/rolemanagement/devicemanagement/roledefinitionsNo matching Microsoft Graph PowerShell command
delegated
- DELETE
/devicemanagement/resourceoperations/{id}PowerShellRemove-MgDeviceManagementResourceOperationDeviceManagement.AdministrationLeast privilege - DELETE
/devicemanagement/roleassignments/{id}PowerShellRemove-MgDeviceManagementRoleAssignmentDeviceManagement.AdministrationLeast privilege - DELETE
/devicemanagement/roledefinitions/{id}PowerShellRemove-MgDeviceManagementRoleDefinitionDeviceManagement.AdministrationLeast privilege - DELETE
/devicemanagement/roledefinitions/{id}/roleassignments/{id}PowerShellRemove-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.AdministrationLeast privilege - PATCH
/devicemanagement/resourceoperations/{id}PowerShellUpdate-MgDeviceManagementResourceOperationDeviceManagement.AdministrationLeast privilege - PATCH
/devicemanagement/roleassignments/{id}PowerShellUpdate-MgDeviceManagementRoleAssignmentDeviceManagement.AdministrationLeast privilege - PATCH
/devicemanagement/roledefinitions/{id}PowerShellUpdate-MgDeviceManagementRoleDefinitionDeviceManagement.AdministrationLeast privilege - PATCH
/devicemanagement/roledefinitions/{id}/roleassignments/{id}PowerShellUpdate-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.AdministrationLeast privilege - POST
/devicemanagement/resourceoperationsPowerShellNew-MgDeviceManagementResourceOperationDeviceManagement.AdministrationLeast privilege - POST
/devicemanagement/roleassignmentsPowerShellNew-MgDeviceManagementRoleAssignmentDeviceManagement.AdministrationLeast privilege - POST
/devicemanagement/roledefinitionsPowerShellNew-MgDeviceManagementRoleDefinitionDeviceManagement.AdministrationLeast privilege - POST
/devicemanagement/roledefinitions/{id}/roleassignmentsPowerShellNew-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.AdministrationLeast privilege - DELETE
/devicemanagement/operationapprovalpolicies/{id}No matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/operationapprovalrequests/{id}No matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}No matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignments/{id}No matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/roledefinitionNo matching Microsoft Graph PowerShell command - DELETE
/devicemanagement/rolescopetags/{id}No matching Microsoft Graph PowerShell command - DELETE
/rolemanagement/cloudpc/roleassignments/{id}No matching Microsoft Graph PowerShell command - DELETE
/rolemanagement/cloudpc/roledefinitions/{id}No matching Microsoft Graph PowerShell command - DELETE
/rolemanagement/devicemanagement/roleassignments/{id}No matching Microsoft Graph PowerShell command - DELETE
/rolemanagement/devicemanagement/roledefinitions/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagementPowerShellGet-MgDeviceManagementDeviceManagement - GET
/devicemanagement/getassignedroledetailsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/geteffectivepermissionsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpoliciesNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpolicies/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpolicies/getapprovableoperationsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpolicies/getoperationsallowedapprovalNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalpolicies/getoperationsrequiringapprovalNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalrequestsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalrequests/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalrequests/getmyrequestbyidNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/operationapprovalrequests/getmyrequestsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/resourceoperationsPowerShellGet-MgDeviceManagementResourceOperationDeviceManagement.Administration - GET
/devicemanagement/resourceoperations/{id}PowerShellGet-MgDeviceManagementResourceOperationDeviceManagement.Administration - GET
/devicemanagement/resourceoperations/{id}/getscopesforuserNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/roleassignmentsPowerShellGet-MgDeviceManagementRoleAssignmentDeviceManagement.Administration - GET
/devicemanagement/roleassignments/{id}PowerShellGet-MgDeviceManagementRoleAssignmentDeviceManagement.Administration - GET
/devicemanagement/roledefinitionsPowerShellGet-MgDeviceManagementRoleDefinitionDeviceManagement.Administration - GET
/devicemanagement/roledefinitions/{id}PowerShellGet-MgDeviceManagementRoleDefinitionDeviceManagement.Administration - GET
/devicemanagement/roledefinitions/{id}/roleassignmentsPowerShellGet-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.Administration - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}PowerShellGet-MgDeviceManagementRoleDefinitionRoleAssignmentDeviceManagement.Administration - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetagsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignmentsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignments/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/hascustomrolescopetagNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/roledefinitionPowerShellGet-MgDeviceManagementRoleDefinitionRoleAssignmentRoleDefinitionDeviceManagement.Administration - GET
/devicemanagement/rolescopetagsNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/rolescopetags/{id}No matching Microsoft Graph PowerShell command - GET
/devicemanagement/rolescopetags/hascustomrolescopetagNo matching Microsoft Graph PowerShell command - GET
/devicemanagement/scopedforresourceNo matching Microsoft Graph PowerShell command - GET
/rolemanagementPowerShellGet-MgRoleManagementDeviceManagement.Enrollment - GET
/rolemanagement/cloudpc/roleassignmentsNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/cloudpc/roleassignments/{id}No matching Microsoft Graph PowerShell command - GET
/rolemanagement/cloudpc/roledefinitionsNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/cloudpc/roledefinitions/{id}No matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagementNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagement/roleassignmentsNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagement/roleassignments/{id}No matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagement/roledefinitionsNo matching Microsoft Graph PowerShell command - GET
/rolemanagement/devicemanagement/roledefinitions/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagementPowerShellUpdate-MgDeviceManagementDeviceManagement - PATCH
/devicemanagement/operationapprovalpolicies/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/operationapprovalrequests/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignments/{id}No matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/roledefinitionNo matching Microsoft Graph PowerShell command - PATCH
/devicemanagement/rolescopetags/{id}No matching Microsoft Graph PowerShell command - PATCH
/rolemanagementPowerShellUpdate-MgRoleManagementDeviceManagement.Enrollment - PATCH
/rolemanagement/cloudpc/roleassignmentsNo matching Microsoft Graph PowerShell command - PATCH
/rolemanagement/cloudpc/roledefinitions/{id}No matching Microsoft Graph PowerShell command - PATCH
/rolemanagement/devicemanagementNo matching Microsoft Graph PowerShell command - PATCH
/rolemanagement/devicemanagement/roleassignmentsNo matching Microsoft Graph PowerShell command - PATCH
/rolemanagement/devicemanagement/roledefinitions/{id}No matching Microsoft Graph PowerShell command - POST
/devicemanagement/operationapprovalpoliciesNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/operationapprovalrequestsNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/operationapprovalrequests/getrequeststatusNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetagsNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/{id}/assignmentsNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/roledefinitions/{id}/roleassignments/{id}/microsoft.graph.deviceandappmanagementroleassignment/rolescopetags/getrolescopetagsbyidNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/rolescopetagsNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/rolescopetags/{id}/assignNo matching Microsoft Graph PowerShell command - POST
/devicemanagement/rolescopetags/getrolescopetagsbyidNo matching Microsoft Graph PowerShell command - POST
/rolemanagement/cloudpc/roleassignmentsNo matching Microsoft Graph PowerShell command - POST
/rolemanagement/cloudpc/roledefinitionsNo matching Microsoft Graph PowerShell command - POST
/rolemanagement/devicemanagement/roleassignmentsNo matching Microsoft Graph PowerShell command - POST
/rolemanagement/devicemanagement/roledefinitionsNo matching Microsoft Graph PowerShell command