Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph.security.caseManagement
Important
APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Get a list of activity objects in a case timeline.
This API is available in the following national cloud deployments.
| Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
|---|---|---|---|
| ✅ | ❌ | ❌ | ❌ |
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.
| Permission type | Least privileged permissions | Higher privileged permissions |
|---|---|---|
| Delegated (work or school account) | CaseManagement.Read.All | CaseManagement.ReadWrite.All |
| Delegated (personal Microsoft account) | Not supported. | Not supported. |
| Application | CaseManagement.Read.All | CaseManagement.ReadWrite.All |
Important
For delegated access using work or school accounts, the signed-in user must be assigned a supported Microsoft Entra role or a custom role that grants the permissions required for this operation. This API supports the following built-in roles:
- Global Reader
- Security Reader
- Security Operator
- Security Administrator
HTTP request
GET /security/caseManagement/cases/{caseId}/activities
Optional query parameters
This method supports the $filter and $select OData query parameters. On the base collection, these query options can reference only properties declared on activity. To reference a property declared only on a derived type, cast the collection to the derived type first.
For an auditLog cast, you can filter by the action, createdBy, createdDateTime, id, lastModifiedBy, lastModifiedDateTime, and modifiedProperties properties. For example: GET /security/caseManagement/cases/{caseId}/activities/microsoft.graph.security.caseManagement.auditLog?$filter=action eq 'update'.
For a comment cast, you can filter by the createdBy, createdDateTime, id, lastModifiedBy, lastModifiedDateTime, and message properties. For example: GET /security/caseManagement/cases/{caseId}/activities/microsoft.graph.security.caseManagement.comment?$filter=message eq 'hello'.
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 activity objects in the response body.
Examples
Request
The following example shows a request.
GET https://graph.microsoft.com/beta/security/caseManagement/cases/{caseId}/activities
Response
The following example shows the response.
HTTP/1.1 200 OK
Content-Type: application/json
{
"value": [
{
"@odata.type": "#microsoft.graph.security.caseManagement.comment",
"id": "d2a408d7-9023-4e99-ac69-2e00b36314eb",
"createdDateTime": "2026-05-20T11:12:28Z",
"createdBy": "user@contoso.com",
"lastModifiedDateTime": "2026-05-20T11:18:45Z",
"lastModifiedBy": "user@contoso.com",
"message": "This is a comment for the case."
}
]
}