|
| 1 | +--- |
| 2 | +title: "Get autoAuditingConfiguration" |
| 3 | +description: "Read the properties and relationships of microsoft.graph.security.autoAuditingConfiguration object." |
| 4 | +author: "SamuelBenichou" |
| 5 | +ms.date: 03/26/2026 |
| 6 | +ms.localizationpriority: medium |
| 7 | +ms.subservice: "security" |
| 8 | +doc_type: apiPageType |
| 9 | +--- |
| 10 | + |
| 11 | +# Get autoAuditingConfiguration |
| 12 | + |
| 13 | +Namespace: microsoft.graph.security |
| 14 | + |
| 15 | + |
| 16 | +Get the properties and relationships of [microsoft.graph.security.autoAuditingConfiguration](../resources/security-autoauditingconfiguration.md) object. |
| 17 | + |
| 18 | +## Permissions |
| 19 | + |
| 20 | +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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). |
| 21 | + |
| 22 | +<!-- { |
| 23 | + "blockType": "permissions", |
| 24 | + "name": "security-autoauditingconfiguration-get-permissions" |
| 25 | +} |
| 26 | +--> |
| 27 | +[!INCLUDE [permissions-table](../includes/permissions/security-autoauditingconfiguration-get-permissions.md)] |
| 28 | + |
| 29 | +[!INCLUDE [rbac-mdi-apis](../includes/rbac-for-apis/rbac-mdi-apis.md)] |
| 30 | + |
| 31 | +## HTTP request |
| 32 | + |
| 33 | +<!-- { |
| 34 | + "blockType": "ignored" |
| 35 | +} |
| 36 | +--> |
| 37 | +``` http |
| 38 | +GET /security/identities/settings/autoAuditingConfiguration |
| 39 | +``` |
| 40 | + |
| 41 | +## Optional query parameters |
| 42 | + |
| 43 | +Not supported. |
| 44 | + |
| 45 | +## Request headers |
| 46 | + |
| 47 | +|Name|Description| |
| 48 | +|:---|:---| |
| 49 | +|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| |
| 50 | + |
| 51 | +## Request body |
| 52 | + |
| 53 | +Don't supply a request body for this method. |
| 54 | + |
| 55 | +## Response |
| 56 | + |
| 57 | +If successful, this method returns a `200 OK` response code and a [microsoft.graph.security.autoAuditingConfiguration](../resources/security-autoauditingconfiguration.md) object in the response body. |
| 58 | + |
| 59 | +## Examples |
| 60 | + |
| 61 | +### Request |
| 62 | + |
| 63 | +The following example shows a request. |
| 64 | +<!-- { |
| 65 | + "blockType": "request", |
| 66 | + "name": "get_autoauditingconfiguration" |
| 67 | +} |
| 68 | +--> |
| 69 | +``` http |
| 70 | +GET https://graph.microsoft.com/v1.0/security/identities/settings/autoAuditingConfiguration |
| 71 | +``` |
| 72 | + |
| 73 | + |
| 74 | +### Response |
| 75 | + |
| 76 | +The following example shows the response. |
| 77 | +>**Note:** The response object shown here might be shortened for readability. |
| 78 | +<!-- { |
| 79 | + "blockType": "response", |
| 80 | + "truncated": true, |
| 81 | + "@odata.type": "microsoft.graph.security.autoAuditingConfiguration" |
| 82 | +} |
| 83 | +--> |
| 84 | +``` http |
| 85 | +HTTP/1.1 200 OK |
| 86 | +Content-Type: application/json |
| 87 | +
|
| 88 | +{ |
| 89 | + "value": { |
| 90 | + "@odata.type": "#microsoft.graph.security.autoAuditingConfiguration", |
| 91 | + "isAutomatic": true |
| 92 | + } |
| 93 | +} |
| 94 | +``` |
| 95 | + |
0 commit comments