Skip to content

New command: aad group get #3786

@martinlingstuyl

Description

@martinlingstuyl

Usage

m365 aad group get [options]

Description

Retrieve information about a specific Azure AD Group

Options

Option Description
-i, --id [id] The object Id of the Azure AD group. Specify either id or title but not both.
-t, --title [title] The display name of the Azure AD group. Specify either id or title but not both.

Examples

Get the group information from Azure AD for the Group with the title Sales

m365 aad group get --title "Sales"

Additional Info

Because there's already a command that does this: aad o365group get we take the following steps:

  • copy the code of aad o365group get to aad group get and make it a brand new command
  • (in a new issue) update the code of aad o365group get so that it returns only O365 groups, rather than all groups as it's doing now? The current behavior might be confusing and lead to undesired effects if you think that you're working with an O365 group while in fact you're not.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions