Skip to content

New command: List administrative units #5569

@MartinM85

Description

@MartinM85

Usage

m365 aad administrativeunit list

Description

List all administrative units

Examples

List all administrative units

m365 aad administrativeunit list

Default properties

  • id
  • displayName
  • visibility

Additional Info

The required permissions scope: AdministrativeUnit.Read.All

Link to the doc:

https://learn.microsoft.com/en-us/graph/api/directory-list-administrativeunits?view=graph-rest-1.0&tabs=http

I would try to implement the command.

It should be the first command to manage administrative units.

Next commands will follow:

  • add administrative unit
  • get administrative unit
  • remove administrative unit
  • add member
  • list members
  • remove member
  • assign scoped role administrative unit
  • list assignments
  • remove assignment

Suppose that only one command can be implemented. So, I will create next issue, once it's implemented.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions