myRole resource type

Namespace: microsoft.graph.managedTenants

Important

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.

Methods

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

Properties

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

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

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