| title | List agentRiskDetections |
|---|---|
| description | Retrieve the properties of a collection of agentRiskDetection objects. |
| author | jiayle27 |
| ms.date | 10/24/2025 |
| ms.localizationpriority | medium |
| ms.subservice | entra-sign-in |
| doc_type | apiPageType |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Retrieve the properties of a collection of agentRiskDetection objects.
[!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]
[!INCLUDE rbac-identity-protection-apis-read]
GET /identityProtection/agentRiskDetectionsThis method supports the $select, $filter, and $top OData query parameters to help customize the response. The default and maximum page size is 20 and 500 objects respectively. For general information, see OData query parameters.
| 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 an agentRiskDetection object in the response body.
The following example shows a request.
GET https://graph.microsoft.com/beta/identityProtection/agentRiskDetections[!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]
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
{
"value": [
{
"@odata.type": "#microsoft.graph.agentRiskDetection",
"id": "1e384c2b0799b01834c0f886560a9a64e433135fe5b8607c535ebbfb03d2ee67",
"agentId": "229da549-7a91-4365-900f-d4ef49a759a0",
"agentDisplayName": "Copilot Application",
"blueprintId": "b3390471-68c5-466a-9ac2-b93e2a454532",
"identityType": "agentIdentity",
"activityDateTime": "2025-07-30T15:38:56.9594972Z",
"detectedDateTime": "2025-07-30T15:38:56.9594972Z",
"detectionTimingType": "offline",
"lastModifiedDateTime": "2025-07-30T15:38:56Z",
"riskDetail": "none",
"riskLevel": "high",
"riskState": "atRisk",
"riskEventType": "unfamiliarResourceAccess",
"riskEvidence": "Agent targeted resources that it does not usually access.",
"additionalInfo": "",
"source": "activeDirectory"
}
]
}