Skip to content

Latest commit

 

History

History
161 lines (132 loc) · 7.49 KB

File metadata and controls

161 lines (132 loc) · 7.49 KB
title List alertIncidents
description Get a list of the unifiedRoleManagementAlertIncident objects and their properties.
author rkarim-ms
ms.localizationpriority medium
ms.subservice entra-id-governance
doc_type apiPageType
ms.date 04/05/2024

List alertIncidents

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object:

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE rbac-pim-alerts-apis-read]

HTTP request

GET /identityGovernance/roleManagementAlerts/alerts/{unifiedRoleManagementAlertId}/alertIncidents

Optional query parameters

This method supports the $select, $filter, $top, and $expand OData query parameters to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of unifiedRoleManagementAlertIncident objects in the response body.

Examples

Request

The following example shows a request that retrieves the top five alert incidents of an alert under the tenant resource scope.

GET https://graph.microsoft.com/beta/identityGovernance/roleManagementAlerts/alerts/DirectoryRole_67b47f38-0f0b-4e62-a3be-859140c2061f_TooManyGlobalAdminsAssignedToTenantAlert/alertIncidents?$top=5

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
    "@odata.context": "https://graph.microsoft.com/beta/$metadata#identityGovernance/roleManagementAlerts/alerts('DirectoryRole_67b47f38-0f0b-4e62-a3be-859140c2061f_TooManyGlobalAdminsAssignedToTenantAlert')/alertIncidents",
    "value": [
        {
            "@odata.type": "#microsoft.graph.tooManyGlobalAdminsAssignedToTenantAlertIncident",
            "id": "13d5df6a-3d2e-4dcb-9dab-486df2cf5c8e",
            "assigneeId": "13d5df6a-3d2e-4dcb-9dab-486df2cf5c8e",
            "assigneeDisplayName": "testUser1",
            "assigneeUserPrincipalName": "testuser1@contoso.com"
        },
        {
            "@odata.type": "#microsoft.graph.tooManyGlobalAdminsAssignedToTenantAlertIncident",
            "id": "1d14292b-8a56-41cb-ac9c-e1e3a69e0e71",
            "assigneeId": "1d14292b-8a56-41cb-ac9c-e1e3a69e0e71",
            "assigneeDisplayName": "testUser2",
            "assigneeUserPrincipalName": "testuser2@contoso.com"
        },
        {
            "@odata.type": "#microsoft.graph.tooManyGlobalAdminsAssignedToTenantAlertIncident",
            "id": "36158c4b-adc5-445c-8130-862cba705dad",
            "assigneeId": "36158c4b-adc5-445c-8130-862cba705dad",
            "assigneeDisplayName": "testUser3",
            "assigneeUserPrincipalName": "testuser3@contoso.com"
        },
        {
            "@odata.type": "#microsoft.graph.tooManyGlobalAdminsAssignedToTenantAlertIncident",
            "id": "38f6f1bd-2a6e-4d47-b738-0bb189c9c389",
            "assigneeId": "38f6f1bd-2a6e-4d47-b738-0bb189c9c389",
            "assigneeDisplayName": "testUser4",
            "assigneeUserPrincipalName": "testuser4@contoso.com"
        },
        {
            "@odata.type": "#microsoft.graph.tooManyGlobalAdminsAssignedToTenantAlertIncident",
            "id": "42793c70-b1e4-49bb-82c0-9fed214f05ab",
            "assigneeId": "42793c70-b1e4-49bb-82c0-9fed214f05ab",
            "assigneeDisplayName": "testUser5",
            "assigneeUserPrincipalName": "testuser5@contoso.com"
        }
    ],
    "@odata.nextLink": "https://graph.microsoft.com/beta/identityGovernance/roleManagementAlerts/alerts/DirectoryRole_67b47f38-0f0b-4e62-a3be-859140c2061f_TooManyGlobalAdminsAssignedToTenantAlert/alertIncidents?$top=5&$skip=5"
}