Skip to content

Latest commit

 

History

History
139 lines (105 loc) · 4.89 KB

File metadata and controls

139 lines (105 loc) · 4.89 KB
title Get agentRiskDetection
description Read the properties and relationships of agentRiskDetection object.
author jiayle27
ms.date 10/24/2025
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType

Get agentRiskDetection

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Read the properties and relationships of agentRiskDetection 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-identity-protection-apis-read]

HTTP request

GET /identityProtection/agentRiskDetections/{agentRiskDetectionId}

Optional query parameters

This 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.

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 an agentRiskDetection object in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/identityProtection/agentRiskDetections/{agentRiskDetectionId}

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

{
  "value": {
    "@odata.type": "#microsoft.graph.agentRiskDetection",
    "id": "1e384c2b0799b01834c0f886560a9a64e433135fe5b8607c535ebbfb03d2ee67",
    "agentId": "229da549-7a91-4365-900f-d4ef49a759a0",
    "agentDisplayName": "Ask HR Agent Identity",
    "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"
  }
}