Skip to content

aad o365group recyclebinitem list

Lists Groups from the recycle bin in the current tenant

Usage

m365 aad o365group recyclebinitem list [options]

Options

-d, --displayName [displayName]
Lists groups with displayName starting with the specified value
-m, --mailNickname [mailNickname]
Lists groups with mailNickname starting with the specified value
-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. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

List all deleted Microsoft 365 Groups in the tenant

m365 aad o365group recyclebinitem list

List deleted Microsoft 365 Groups with display name starting with Project

m365 aad o365group recyclebinitem list --displayName Project

List deleted Microsoft 365 Groups mail nick name starting with team

m365 aad o365group recyclebinitem list --mailNickname team

List deleted Microsoft 365 Groups mail nick name starting with team and with display name starting with Project

m365 aad o365group recyclebinitem list --mailNickname team --displayName Project