Yammer network list¶
Returns a list of networks to which the current user has access
Usage¶
m365 yammer network list [options]
Options¶
--includeSuspended
- Include the networks in which the user is suspended
-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
. Defaulttext
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Remarks¶
Attention
In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the cli consent --service yammer
command.
Examples¶
Returns the current user's networks
m365 yammer network list
Returns the current user's networks including the networks in which the user is suspended
m365 yammer network list --includeSuspended