-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
274 changed files
with
11,116 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
119 changes: 119 additions & 0 deletions
119
docs/docs/cmd/aad/administrativeunit/administrativeunit-add.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
import Global from '/docs/cmd/_global.mdx'; | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# aad administrativeunit add | ||
|
||
Creates a new administrative unit | ||
|
||
## Usage | ||
|
||
```sh | ||
m365 aad administrativeunit add [options] | ||
``` | ||
|
||
## Options | ||
|
||
```md definition-list | ||
`-n, --displayname <displayName>` | ||
: Display name for the administrative unit. | ||
|
||
`-d, --description [description]` | ||
: Description for the administrative unit. | ||
|
||
`--hiddenMembership` | ||
: Indicates whether the administrative unit and its members are hidden. | ||
``` | ||
|
||
<Global /> | ||
|
||
## Remarks | ||
|
||
:::info | ||
|
||
To use this command you must be either **Global Administrator** or **Privileged Role Administrator**. | ||
|
||
::: | ||
|
||
## Examples | ||
|
||
Create an administrative unit with a specific display name | ||
|
||
```sh | ||
m365 aad administrativeunit add --displayName 'Marketing Division' | ||
``` | ||
|
||
Create an administrative unit with a specific display name and description | ||
|
||
```sh | ||
m365 aad administrativeunit add --displayName 'Marketing Division' --description 'Marketing department administration' | ||
``` | ||
|
||
Create a hidden administrative unit with a specific display name | ||
|
||
```sh | ||
m365 aad administrativeunit add --displayName 'Marketing Division' --hiddenMembership | ||
``` | ||
|
||
## Response | ||
|
||
<Tabs> | ||
<TabItem value="JSON"> | ||
|
||
```json | ||
{ | ||
"id": "00b45a1b-7632-4e94-a3bd-f06aec976d31", | ||
"deletedDateTime": null, | ||
"displayName": "Marketing Division", | ||
"description": "Marketing department administration", | ||
"membershipRule": null, | ||
"membershipType": null, | ||
"membershipRuleProcessingState": null, | ||
"visibility": null | ||
} | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Text"> | ||
|
||
```text | ||
deletedDateTime : null | ||
description : Marketing department administration | ||
displayName : Marketing Division | ||
id : 00b45a1b-7632-4e94-a3bd-f06aec976d31 | ||
membershipRule : null | ||
membershipRuleProcessingState: null | ||
membershipType : null | ||
visibility : null | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="CSV"> | ||
|
||
```csv | ||
id,displayName,description,visibility | ||
00b45a1b-7632-4e94-a3bd-f06aec976d31,Marketing Division,Marketing department administration,HiddenMembership | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Markdown"> | ||
|
||
```md | ||
Date: 10/23/2023 | ||
|
||
## Marketing Division (00b45a1b-7632-4e94-a3bd-f06aec976d31) | ||
|
||
Property | Value | ||
---------|------- | ||
id | 00b45a1b-7632-4e94-a3bd-f06aec976d31 | ||
displayName | Marketing Division | ||
description | Marketing department administration | ||
visibility | HiddenMembership | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
## More information | ||
|
||
- Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units |
102 changes: 102 additions & 0 deletions
102
docs/docs/cmd/aad/administrativeunit/administrativeunit-get.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
import Global from '/docs/cmd/_global.mdx'; | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# aad administrativeunit get | ||
|
||
Gets information about a specific administrative unit | ||
|
||
## Usage | ||
|
||
```sh | ||
m365 aad administrativeunit get [options] | ||
``` | ||
|
||
## Options | ||
|
||
```md definition-list | ||
`-i, --id [id]` | ||
: The id of the administrative unit. Specify either `id` or `displayName` but not both. | ||
|
||
`-n, --displayName [displayName]` | ||
: The display name of the administrative unit. Specify either `id` or `displayName` but not both. | ||
``` | ||
|
||
<Global /> | ||
|
||
## Examples | ||
|
||
Get information about the administrative unit by its id | ||
|
||
```sh | ||
m365 aad administrativeunit get --id 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 | ||
``` | ||
|
||
Get information about the administrative unit by its display name | ||
|
||
```sh | ||
m365 aad administrativeunit get --displayName 'Marketing Division' | ||
``` | ||
|
||
## Response | ||
|
||
<Tabs> | ||
<TabItem value="JSON"> | ||
|
||
```json | ||
{ | ||
"id": "0a22c83d-c4ac-43e2-bb5e-87af3015d49f", | ||
"deletedDateTime": null, | ||
"displayName": "Marketing Division", | ||
"description": "Marketing Department Administration", | ||
"membershipRule": null, | ||
"membershipType": null, | ||
"membershipRuleProcessingState": null, | ||
"visibility": "HiddenMembership" | ||
} | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Text"> | ||
|
||
```text | ||
deletedDateTime : null | ||
description : Marketing Department Administration | ||
displayName : Marketing Division | ||
id : 0a22c83d-c4ac-43e2-bb5e-87af3015d49f | ||
membershipRule : null | ||
membershipRuleProcessingState: null | ||
membershipType : null | ||
visibility : HiddenMembership | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="CSV"> | ||
|
||
```csv | ||
id,displayName,description,visibility | ||
0a22c83d-c4ac-43e2-bb5e-87af3015d49f,Marketing Division,Marketing Department Administration,HiddenMembership | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Markdown"> | ||
|
||
```md | ||
Date: 10/23/2023 | ||
|
||
## Marketing Division (0a22c83d-c4ac-43e2-bb5e-87af3015d49f) | ||
|
||
Property | Value | ||
---------|------- | ||
id | 0a22c83d-c4ac-43e2-bb5e-87af3015d49f | ||
displayName | Marketing Division | ||
description | Marketing Department Administration | ||
visibility | HiddenMembership | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
## More information | ||
|
||
- Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units |
87 changes: 87 additions & 0 deletions
87
docs/docs/cmd/aad/administrativeunit/administrativeunit-list.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
import Global from '/docs/cmd/_global.mdx'; | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# aad administrativeunit list | ||
|
||
Retrieves a list of administrative units | ||
|
||
## Usage | ||
|
||
```sh | ||
m365 aad administrativeunit list [options] | ||
``` | ||
|
||
## Options | ||
|
||
<Global /> | ||
|
||
## Examples | ||
|
||
Retrieve a list of administrative units | ||
|
||
```sh | ||
m365 aad administrativeunit list | ||
``` | ||
|
||
## Response | ||
|
||
<Tabs> | ||
<TabItem value="JSON"> | ||
|
||
```json | ||
[ | ||
{ | ||
"id": "0a22c83d-c4ac-43e2-bb5e-87af3015d49f", | ||
"deletedDateTime": null, | ||
"displayName": "Marketing Department", | ||
"description": "Marketing Department Administration", | ||
"membershipRule": null, | ||
"membershipType": null, | ||
"membershipRuleProcessingState": null, | ||
"visibility": "HiddenMembership" | ||
} | ||
] | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Text"> | ||
|
||
```text | ||
displayName: 0a22c83d-c4ac-43e2-bb5e-87af3015d49f | ||
id : Marketing Department | ||
visibility : HiddenMembership | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="CSV"> | ||
|
||
```csv | ||
id,displayName,description,visibility | ||
0a22c83d-c4ac-43e2-bb5e-87af3015d49f,Marketing Department,Marketing Department Administration,HiddenMembership | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Markdown"> | ||
|
||
```md | ||
# aad administrativeunit list | ||
|
||
Date: 2023-10-16 | ||
|
||
## Marketing Department (0a22c83d-c4ac-43e2-bb5e-87af3015d49f) | ||
|
||
Property | Value | ||
---------|------- | ||
id | 0a22c83d-c4ac-43e2-bb5e-87af3015d49f | ||
displayName | Marketing Department | ||
description | Marketing Department Administration | ||
visibility | HiddenMembership | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
## More information | ||
|
||
- Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units |
Oops, something went wrong.