Skip to content

Latest commit

 

History

History
137 lines (97 loc) · 4.71 KB

File metadata and controls

137 lines (97 loc) · 4.71 KB
title List customAppScopes (UnifiedRbacApplicationMultiple)
description Get a list of customAppScope objects for an RBAC provider (UnifiedRbacApplicationMultiple)
ms.localizationpriority medium
author Adsela
ms.subservice entra-directory-management
doc_type apiPageType
ms.date 07/06/2025

List customAppScopes (UnifiedRbacApplicationMultiple)

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Get a list of customAppScope objects for an RBAC provider.

Only the Microsoft Defender XDR Unified RBAC provider is supported.

[!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]

HTTP request

For a Defender provider:

GET /roleManagement/defender/customAppScopes

Optional query parameters

This method supports the $filter and $count OData query parameters to help customize the response. Note that $filter doesn't work for nested properties stored in the customAttributes property.

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 customAppScope objects in the response body.

Examples

Request

The following example shows how to request all customAppScope objects of Unified Rbac Defender provider.

GET https://graph.microsoft.com/beta/roleManagement/defender/customAppScopes

[!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#roleManagement/defender/customAppScopes",
    "value": [
        {
        "id": "00567",
        "type": "DeviceGroups",
        "displayName": "TLV1",
        "description": "TLV floor 1 devices",
        "customAttributes" : []
    },
    {
        "id": "00123",
        "type": "UserGroupIds",
        "displayName": "NHS.local",
        "description": "Rambam 5th floor",
        "customAttributes" : [ ]
    }
    ]
}