Skip to main content

viva engage role list

Lists all Viva Engage roles

Usage

m365 viva engage role list [options]

Options

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, permissions, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

warning

This command is based on an API that is currently in preview and is subject to change once the API reaches general availability.

Permissions

ResourcePermissions
Microsoft GraphEngagementRole.Read.All

Examples

List all Viva Engage roles

m365 viva engage role list

Response

[
{
"id": "ec759127-089f-4f91-8dfc-03a30b51cb38",
"displayName": "Network Admin"
}
]