myRole resource type

Namespace: microsoft.graph.managedTenants


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the role assignments to a signed-in user for a managed tenant.


Method Return type Description
List myRoles microsoft.graph.managedTenants.myRole collection Get the roles that the signed-in user has through a delegated relationship across managed tenants.


Property Type Description
assignments microsoft.graph.managedTenants.roleAssignment collection A collection of role assignments for the managed tenant.
tenantId String The Azure Active Directory tenant identifier for the managed tenant. Optional. Read-only.



JSON representation

The following is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.managedTenants.myRole",
  "assignments": [
      "@odata.type": "microsoft.graph.managedTenants.roleAssignment"
  "tenantId": "String"