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
output usage information
--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