aad group list
Lists Azure AD groups
Usage
m365 aad group list [options]
Options
-d, --deletedUse to retrieve deleted groups
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,response,full. Default isfull.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Examples
Lists all groups defined in Azure Active Directory.
m365 aad group list
List all recently deleted groups in the tenant
m365 aad group list --deleted