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.
Usage
m365 aad group get [options]
Description
Retrieve information about a specific Azure AD Group
Options
-i, --id [id]idortitlebut not both.-t, --title [title]idortitlebut 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 getwe take the following steps:aad o365group gettoaad group getand make it a brand new commandaad o365group getso 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.