RoleManagementAlert.Read.Directory
Allows the app to read all role-based access control (RBAC) alerts for your company's directory, without a signed-in user. This includes reading alert statuses, alert definitions, alert configurations and incidents that lead to an alert.
Permission Details
Read all alert data for your company's directory
Allows the app to read all role-based access control (RBAC) alerts for your company's directory, without a signed-in user. This includes reading alert statuses, alert definitions, alert configurations and incidents that lead to an alert.
ef31918f-2d50-4755-8943-b8638c0a077e
Read all alert data for your company's directory
Allows the app to read the role-based access control (RBAC) alerts for your company's directory, on behalf of the signed-in user. This includes reading alert statuses, alert definitions, alert configurations and incidents that lead to an alert.
cce71173-f76d-446e-97ff-efb2d82e11b1
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
id |
String |
Unique identifier of an alert. Inherited from entity. |
alertConfigurations |
unifiedRoleManagementAlertConfiguration collection |
The various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. |
alertDefinitions |
unifiedRoleManagementAlertDefinition collection |
Defines an alert, its impact, and measures to mitigate or prevent it. |
alerts |
unifiedRoleManagementAlert collection |
Represents the alert entity. |
operations |
longRunningOperation collection |
Represents operations on resources that take a long time to complete and can run in the background until completion. |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"@odata.type": "#microsoft.graph.roleManagementAlert",
"id": "String (identifier)"
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
alertConfigurations |
unifiedRoleManagementAlertConfiguration collection |
The various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. |
alertDefinitions |
unifiedRoleManagementAlertDefinition collection |
Defines an alert, its impact, and measures to mitigate or prevent it. |
alerts |
unifiedRoleManagementAlert collection |
Represents the alert entity. |
operations |
longRunningOperation collection |
Represents operations on resources that take a long time to complete and can run in the background until completion. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// 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.IdentityGovernance.RoleManagementAlerts.Operations["{longRunningOperation-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let longRunningOperation = await client.api('/identityGovernance/roleManagementAlerts/operations/refresh:DirectoryRole_19356be4-7e93-4ed6-a7c6-0ae28454d125_StaleSignInAlert')
.version('beta')
.get();
Import-Module Microsoft.Graph.Beta.Identity.Governance
Get-MgBetaIdentityGovernanceRoleManagementAlertOperation -LongRunningOperationId $longRunningOperationId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta 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.identity_governance.role_management_alerts.operations.by_long_running_operation_id('longRunningOperation-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for RoleManagementAlert.Read.Directory
Grant Admin Consent
Application permissions always require admin consent.