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
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 workbook by its ID.
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) | Workbooks.Read.All | Workbooks.ReadWrite.All |
| Delegated (personal Microsoft account) | Not supported. | Not supported. |
| Application | Workbooks.Read.All | Workbooks.ReadWrite.All |
The tenant must be active and onboarded to use the Workbooks APIs. The delegated work or school and application permissions require administrator consent. Delegated access also requires the signed-in user to have the applicable Microsoft Defender XDR Unified RBAC authorization. Personal Microsoft accounts aren't supported.
HTTP request
GET /security/workbooks/{workbookId}
Optional query parameters
This method supports the $select OData query parameter to choose the properties to return. 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 microsoft.graph.security.workbook object in the response body.
The response's ETag header identifies the current version of the workbook. For a conditional update, copy this value unchanged into the If-Match header, including the W/ prefix and quotation marks.
Examples
Request
The following example shows a request.
GET https://graph.microsoft.com/beta/security/workbooks/ba989c62-af63-b8de-286d-7474ec579357
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
ETag: W/"0x8DE000000000001"
{
"@odata.type": "#microsoft.graph.security.workbook",
"id": "ba989c62-af63-b8de-286d-7474ec579357",
"name": "Threat hunting overview",
"content": {
"version": "1.0",
"title": "Threat hunting overview",
"items": [
{
"type": "text",
"text": "Investigate recent security activity."
}
],
"settings": {
"showTitle": true
}
},
"createdByUpn": "adelev@contoso.com",
"lastUpdatedByUpn": "adelev@contoso.com",
"createdAtDateTime": "2026-09-22T10:00:00Z",
"updatedAtDateTime": "2026-09-22T10:00:00Z"
}