privilegedRoleSummary resource type

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

The statistics summary for a particular role.

Methods

Method Return Type Description
Get privilegedRoleSummary privilegedRoleSummary Read properties and relationships of privilegedRoleSummary object.

Properties

Property Type Description
elevatedCount int32 The number of users that have the role assigned and the role is activated.
id string The unique identifier for the role. Read-only.
managedCount int32 The number of users that have the role assigned but the role is deactivated.
mfaEnabled boolean true if the role activation requires MFA. false if the role activation doesn't require MFA.
status string Possible values are: ok, bad. The value depends on the ratio of (managedCount / usersCount). If the ratio is less than a predefined threshold, ok is returned. Otherwise, bad is returned.
usersCount int32 The number of users that are assigned with the role.

Relationships

None

JSON representation

Here is a JSON representation of the resource.

{
  "elevatedCount": 1024,
  "id": "string (identifier)",
  "managedCount": 1024,
  "mfaEnabled": true,
  "status": "string",
  "usersCount": 1024
}