Skip to content

Commit abbb3a3

Browse files
committed
2 parents 2092167 + c67b7d1 commit abbb3a3

18 files changed

+211
-140
lines changed

api-reference/beta/api/administrativeunit-update.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: "Update administrativeunit"
2+
title: "Update administrativeUnit"
33
description: "Update the properties of an administrativeUnit object."
44
author: "DougKirschner"
55
ms.localizationpriority: medium
66
ms.subservice: "entra-directory-management"
77
doc_type: apiPageType
88
---
99

10-
# Update administrativeunit
10+
# Update administrativeUnit
1111

1212
Namespace: microsoft.graph
1313

@@ -41,29 +41,29 @@ PATCH /directory/administrativeUnits/{id}
4141

4242
## Request body
4343

44-
In the request body, supply the values for relevant fields that should be updated. Existing properties that aren't included in the request body maintains their previous values or be recalculated based on changes to other property values. For best performance, you shouldn't include existing values that haven't changed.
44+
[!INCLUDE [table-intro](../../includes/update-property-table-intro.md)]
4545

4646
| Property | Type |Description|
4747
|:---------------|:--------|:----------|
4848
| description | String | Description for the administrative unit.|
4949
| displayName | String | Display name for the administrative unit. |
50-
| membershipRule | String | Dynamic membership rule for the administrative unit. For more about the rules that you can use for dynamic administrative units and dynamic groups, see [Using attributes to create advanced rules](https://azure.microsoft.com/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/).|
51-
| membershipRuleProcessingState | String | Used to control whether the dynamic membership rule is actively processed. Set to `On` when you want the dynamic membership rule to be active and `Paused` if you want to stop updating membership dynamically. |
52-
| membershipType | String | Membership type for the administrative unit. Can be `dynamic` or `assigned`. |
53-
| visibility | String | Visibility for the administrative unit. If not set, then the default is `public`. Can be set to `HiddenMembership`, which hides the membership from nonmembers. |
50+
| membershipRule | String | The dynamic membership rule for the administrative unit. For more information about the rules you can use for dynamic administrative units and dynamic groups, see [Manage rules for dynamic membership groups in Microsoft Entra ID](/entra/identity/users/groups-dynamic-membership).|
51+
| membershipRuleProcessingState | String | Controls whether the dynamic membership rule is actively processed. Set to `On` to activate the dynamic membership rule, or `Paused` to stop updating membership dynamically. |
52+
| membershipType | String | Indicates the membership type for the administrative unit. The possible values are: `dynamic`, `assigned`. If not set, the default value is `null` and the default behavior is assigned. |
53+
| visibility | String | The visibility of the administrative unit. If not set, the default value is `null` and the default behavior is public. It can be set to `HiddenMembership` to hide the membership from nonmembers. |
5454

55-
Since the **administrativeUnit** resource supports [extensions](/graph/extensibility-overview), you can use the `PATCH` operation to add, update, or delete your own app-specific data in custom properties of an extension in an existing **administrativeUnit** instance.
55+
The **administrativeUnit** resource supports [extensions](/graph/extensibility-overview), which allows you to use the `PATCH` operation to add, update, or delete your own app-specific data in custom properties of an extension in an existing **administrativeUnit** instance.
5656

5757
## Response
5858

5959
If successful, this method returns a `204 No Content` response code.
6060

6161
## Examples
6262

63-
The following example sets a dynamic membership rule on an existing administrative unit to include all users whose country is United States. It also updates the administrative unit display name.
64-
6563
### Request
6664

65+
The following example shows a request that sets a dynamic membership rule on an existing administrative unit to include all users whose country is the United States. It also updates the display name of the administrative unit.
66+
6767
# [HTTP](#tab/http)
6868
<!-- {
6969
"blockType": "request",
@@ -117,6 +117,8 @@ Content-type: application/json
117117

118118
### Response
119119

120+
The following example shows the response.
121+
120122
<!-- {
121123
"blockType": "response"
122124
} -->

api-reference/beta/api/directory-post-administrativeunits.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Create administrativeUnit"
3-
description: "Use this API to create a new administrativeUnit."
3+
description: "Create a new administrativeUnit."
44
author: "DougKirschner"
55
ms.localizationpriority: medium
66
ms.subservice: "entra-directory-management"
@@ -13,7 +13,7 @@ Namespace: microsoft.graph
1313

1414
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1515

16-
Use this API to create a new [administrativeUnit](../resources/administrativeunit.md).
16+
Create a new [administrativeUnit](../resources/administrativeunit.md).
1717

1818
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)]
1919

@@ -32,6 +32,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
3232
POST /administrativeUnits
3333
POST /directory/administrativeUnits
3434
```
35+
3536
## Request headers
3637
| Name |Description|
3738
|:----------|:----------|
@@ -41,19 +42,19 @@ POST /directory/administrativeUnits
4142
## Request body
4243
In the request body, supply a JSON representation of an [administrativeUnit](../resources/administrativeunit.md) object.
4344

44-
You can specify the following properties when creating an **administrativeUnit**.
45+
You can specify the following properties when you create an **administrativeUnit**.
4546

4647
| Property | Type |Description|
4748
|:---------------|:--------|:----------|
4849
| description | String | Description for the administrative unit. Optional. |
4950
| displayName | String | Display name for the administrative unit. Required. |
5051
| isMemberManagementRestricted | Boolean | `true` if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is `false`. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so can't be changed later. Optional. |
51-
| membershipRule | String | Dynamic membership rule for the administrative unit. For more about the rules that you can use for dynamic administrative units and dynamic groups, see [Using attributes to create advanced rules](https://azure.microsoft.com/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/). Optional. |
52-
| membershipRuleProcessingState | String | Used to control whether the dynamic membership rule is actively processed. Set to `On` when you want the dynamic membership rule to be active and `Paused` if you want to stop updating membership dynamically. Optional. |
53-
| membershipType | String | Membership type for the administrative unit. Can be `dynamic` or `assigned`. Optional. |
54-
| visibility |String | Visibility for the administrative unit. If not set, then the default is `public`. Can be set to `HiddenMembership`, which hides the membership from non-members. Optional. |
52+
| membershipRule | String | The dynamic membership rule for the administrative unit. For more information about the rules you can use for dynamic administrative units and dynamic groups, see [Manage rules for dynamic membership groups in Microsoft Entra ID](/entra/identity/users/groups-dynamic-membership). Optional.|
53+
| membershipRuleProcessingState | String | Controls whether the dynamic membership rule is actively processed. Set to `On` to activate the dynamic membership rule, or `Paused` to stop updating membership dynamically. Optional. |
54+
| membershipType | String | Indicates the membership type for the administrative unit. The possible values are: `dynamic`, `assigned`. If not set, the default value is `null` and the default behavior is assigned. Optional. |
55+
| visibility | String | The visibility of the administrative unit. If not set, the default value is `null` and the default behavior is public. It can be set to `HiddenMembership` to hide the membership from nonmembers. Optional. |
5556

56-
Because the **administrativeUnit** resource supports [extensions](/graph/extensibility-overview), you can use the `POST` operation and add custom properties with your own data to the administrative unit while creating it.
57+
The **administrativeUnit** resource supports [extensions](/graph/extensibility-overview), which allows you to use the `POST` operation to add custom properties with your own data when you create the administrative unit.
5758

5859
## Response
5960

@@ -66,7 +67,7 @@ If successful, this method returns a `201 Created` response code and an [adminis
6667
The following example creates a new administrative unit with a dynamic membership rule to include all users whose country is United States.
6768

6869
#### Request
69-
70+
The following example shows a request.
7071
# [HTTP](#tab/http)
7172
<!-- {
7273
"blockType": "request",
@@ -149,6 +150,7 @@ Content-type: application/json
149150
The following example creates a new restricted management administrative unit. The `isMemberManagementRestricted` property is immutable, so can't be changed later.
150151

151152
#### Request
153+
The following example shows a request.
152154
# [HTTP](#tab/http)
153155
<!-- {
154156
"blockType": "request",
@@ -199,9 +201,8 @@ Content-type: application/json
199201

200202
---
201203

202-
In the request body, supply a JSON representation of an [administrativeUnit](../resources/administrativeunit.md) object.
203-
204204
#### Response
205+
The following example shows the response.
205206
>**Note:** The response object shown here might be shortened for readability.
206207
<!-- {
207208
"blockType": "response",

api-reference/beta/api/security-auditcoreroot-list-auditlogqueries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ Auditing data can be accessed through Microsoft Purview Audit Search API via the
2323
"blockType": "ignored"
2424
}
2525
-->
26-
|Microsoft 365 service|Delegated (work or school account)|Delegated (personal Microsoft account)|Application
26+
|Microsoft 365 service|Delegated (work or school account)|Delegated (personal Microsoft account)|Application|
2727
|:---|:---|:---|:---|
2828
|Microsoft OneDrive|AuditLogsQuery-OneDrive.Read.All|Not supported|AuditLogsQuery-OneDrive.Read.All|
2929
|Microsoft Exchange|AuditLogsQuery-Exchange.Read.All|Not supported|AuditLogsQuery-Exchange.Read.All|
3030
|Microsoft SharePoint|AuditLogsQuery-SharePoint.Read.All|Not supported|AuditLogsQuery-SharePoint.Read.All|
31-
|Microsoft Intune|AuditLogsQuery-Endpoint.Read.All|Not supported|AuditLogsQuery-Endpoint.Read.All|
31+
|Data Loss Protection for Endpoint|AuditLogsQuery-Endpoint.Read.All|Not supported|AuditLogsQuery-Endpoint.Read.All|
3232
|Microsoft Dynamics CRM|AuditLogsQuery-CRM.Read.All|Not supported|AuditLogsQuery-CRM.Read.All|
3333
|Microsoft Entra|AuditLogsQuery-Entra.Read.All|Not supported|AuditLogsQuery-Entra.Read.All|
3434
|All Audit Logs|AuditLogsQuery.Read.All|Not supported|AuditLogsQuery.Read.All|

api-reference/beta/api/security-auditcoreroot-post-auditlogqueries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Auditing data can be accessed through Microsoft Purview Audit Search API via the
2424
}
2525
-->
2626

27-
|Microsoft 365 service|Delegated (work or school account)|Delegated (personal Microsoft account)|Application
27+
|Microsoft 365 service|Delegated (work or school account)|Delegated (personal Microsoft account)|Application|
2828
|:---|:---|:---|:---|
2929
|Microsoft OneDrive|AuditLogsQuery-OneDrive.Read.All|Not supported|AuditLogsQuery-OneDrive.Read.All|
3030
|Microsoft Exchange|AuditLogsQuery-Exchange.Read.All|Not supported|AuditLogsQuery-Exchange.Read.All|
3131
|Microsoft SharePoint|AuditLogsQuery-SharePoint.Read.All|Not supported|AuditLogsQuery-SharePoint.Read.All|
32-
|Microsoft Intune|AuditLogsQuery-Endpoint.Read.All|Not supported|AuditLogsQuery-Endpoint.Read.All|
32+
|Data Loss Protection for Endpoint|AuditLogsQuery-Endpoint.Read.All|Not supported|AuditLogsQuery-Endpoint.Read.All|
3333
|Microsoft Dynamics CRM|AuditLogsQuery-CRM.Read.All|Not supported|AuditLogsQuery-CRM.Read.All|
3434
|Microsoft Entra|AuditLogsQuery-Entra.Read.All|Not supported|AuditLogsQuery-Entra.Read.All|
3535
|All Audit Logs|AuditLogsQuery.Read.All|Not supported|AuditLogsQuery.Read.All|

api-reference/beta/api/security-auditlogquery-get.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Auditing data can be accessed through Microsoft Purview Audit Search API via the
2424
}
2525
-->
2626

27-
|Microsoft 365 Service|Delegated (work or school account)|Delegated (personal Microsoft account)|Application
27+
|Microsoft 365 Service|Delegated (work or school account)|Delegated (personal Microsoft account)|Application|
2828
|:---|:---|:---|:---|
2929
|Microsoft OneDrive|AuditLogsQuery-OneDrive.Read.All|Not supported|AuditLogsQuery-OneDrive.Read.All|
3030
|Microsoft Exchange|AuditLogsQuery-Exchange.Read.All|Not supported|AuditLogsQuery-Exchange.Read.All|
3131
|Microsoft SharePoint|AuditLogsQuery-SharePoint.Read.All|Not supported|AuditLogsQuery-SharePoint.Read.All|
32-
|Microsoft Intune|AuditLogsQuery-Endpoint.Read.All|Not supported|AuditLogsQuery-Endpoint.Read.All|
32+
|Data Loss Protection for Endpoint|AuditLogsQuery-Endpoint.Read.All|Not supported|AuditLogsQuery-Endpoint.Read.All|
3333
|Microsoft Dynamics CRM|AuditLogsQuery-CRM.Read.All|Not supported|AuditLogsQuery-CRM.Read.All|
3434
|Microsoft Entra|AuditLogsQuery-Entra.Read.All|Not supported|AuditLogsQuery-Entra.Read.All|
3535
|All Audit Logs|AuditLogsQuery.Read.All|Not supported|AuditLogsQuery.Read.All|

api-reference/beta/api/security-auditlogquery-list-records.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ Auditing data can be accessed through Microsoft Purview Audit Search API via the
2626
}
2727
-->
2828

29-
|Microsoft 365 Service|Delegated (work or school account)|Delegated (personal Microsoft account)|Application
29+
|Microsoft 365 Service|Delegated (work or school account)|Delegated (personal Microsoft account)|Application|
3030
|:---|:---|:---|:---|
3131
|Microsoft OneDrive|AuditLogsQuery-OneDrive.Read.All|Not supported|AuditLogsQuery-OneDrive.Read.All|
3232
|Microsoft Exchange|AuditLogsQuery-Exchange.Read.All|Not supported|AuditLogsQuery-Exchange.Read.All|
3333
|Microsoft SharePoint|AuditLogsQuery-SharePoint.Read.All|Not supported|AuditLogsQuery-SharePoint.Read.All|
34-
|Microsoft Intune|AuditLogsQuery-Endpoint.Read.All|Not supported|AuditLogsQuery-Endpoint.Read.All|
34+
|Data Loss Protection for Endpoint|AuditLogsQuery-Endpoint.Read.All|Not supported|AuditLogsQuery-Endpoint.Read.All|
3535
|Microsoft Dynamics CRM|AuditLogsQuery-CRM.Read.All|Not supported|AuditLogsQuery-CRM.Read.All|
3636
|Microsoft Entra|AuditLogsQuery-Entra.Read.All|Not supported|AuditLogsQuery-Entra.Read.All|
3737
|All Audit Logs|AuditLogsQuery.Read.All|Not supported|AuditLogsQuery.Read.All|

api-reference/beta/resources/administrativeunit.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ This resource supports:
6262
|displayName|String|Display name for the administrative unit. Supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`, `in`, `startsWith`, and `eq` on `null` values), `$search`, and `$orderby`.|
6363
|id|String|Unique identifier for the administrative unit. Read-only. Supports `$filter` (`eq`).|
6464
|isMemberManagementRestricted|Boolean|`true` if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is `false`. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so can't be changed later. <br/><br/> For more information about working with restricted management administrative units, see [Restricted management administrative units in Microsoft Entra ID](/azure/active-directory/roles/admin-units-restricted-management).|
65-
| membershipRule | String | Dynamic membership rule for the administrative unit. For more about the rules that you can use for dynamic administrative units and dynamic groups, see [Using attributes to create advanced rules](https://azure.microsoft.com/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/). |
66-
| membershipRuleProcessingState | String | Used to control whether the dynamic membership rule is actively processed. Set to `On` when you want the dynamic membership rule to be active and `Paused` if you want to stop updating membership dynamically. If not set, the default behavior is `Paused`. |
67-
| membershipType | String | Membership type for the administrative unit. Can be `dynamic` or `assigned`. If not set, the default behavior is `assigned`. |
68-
| visibility | String | Controls whether the administrative unit and its members are hidden or public. Can be set to `HiddenMembership` or `Public`. If not set, the default behavior is `Public`. When set to `HiddenMembership`, only members of the administrative unit can list other members of the administrative unit. |
65+
| membershipRule | String | The dynamic membership rule for the administrative unit. For more information about the rules you can use for dynamic administrative units and dynamic groups, see [Manage rules for dynamic membership groups in Microsoft Entra ID](/entra/identity/users/groups-dynamic-membership). |
66+
| membershipRuleProcessingState | String | Controls whether the dynamic membership rule is actively processed. Set to `On` to activate the dynamic membership rule, or `Paused` to stop updating membership dynamically. |
67+
| membershipType | String | Indicates the membership type for the administrative unit. The possible values are: `dynamic`, `assigned`. If not set, the default value is `null` and the default behavior is assigned. |
68+
| visibility | String | Controls whether the administrative unit and its members are hidden or public. Can be set to `HiddenMembership` or `Public`. If not set, the default value is `null` and the default behavior is public. When set to `HiddenMembership`, only members of the administrative unit can list other members of the administrative unit. |
6969

7070
> [!TIP]
7171
> Directory extensions and associated data are returned by default while schema extensions and associated data returned only on `$select`.
@@ -96,12 +96,11 @@ The following JSON representation shows the resource type.
9696
"displayName": "String",
9797
"id": "String (identifier)",
9898
"isMemberManagementRestricted": "Boolean",
99-
"visibility": "String",
100-
"membershipType": "String",
10199
"membershipRule": "String",
102-
"membershipRuleProcessingState": "String"
100+
"membershipRuleProcessingState": "String",
101+
"membershipType": "String",
102+
"visibility": "String"
103103
}
104-
105104
```
106105

107106

0 commit comments

Comments
 (0)