| 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 |
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]
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]
For a Defender provider:
GET /roleManagement/defender/customAppScopesThis 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.
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK response code and a collection of customAppScope objects in the response body.
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]
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" : [ ]
}
]
}