Skip to content

aad group list

Lists Azure AD groups

Usage

m365 aad group list [options]

Options

-d, --deleted
Use 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 is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs 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