Usage
m365 aad administrativeunit get
Description
Gets information about a specific administrative unit
Options
| Option |
Description |
-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. |
Examples
Get information about the administrative unit by its id
m365 aad administrativeunit get --id 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
Get information about the administrative unit by its display name
m365 aad administrativeunit get --displayName "Marketing Division"
Default properties
- Id
- DisplayName
- Visibility
Additional Info
https://learn.microsoft.com/en-us/graph/api/administrativeunit-get?view=graph-rest-1.0&tabs=http
It requires (new) scope AdministrativeUnit.Read.All.
I will work on this issue once #5569 is closed.
Usage
m365 aad administrativeunit get
Description
Gets information about a specific administrative unit
Options
-i, --id [id]idordisplayNamebut not both.-n, --displayName [displayName]idordisplayNamebut not both.Examples
Get information about the administrative unit by its id
Get information about the administrative unit by its display name
m365 aad administrativeunit get --displayName "Marketing Division"Default properties
Additional Info
https://learn.microsoft.com/en-us/graph/api/administrativeunit-get?view=graph-rest-1.0&tabs=http
It requires (new) scope
AdministrativeUnit.Read.All.I will work on this issue once #5569 is closed.