Usage
m365 viva engage role member list [options]
Description
Get a list of users assigned to a Viva Engage role
Options
| Option |
Description |
-i, --roleId [roleId] |
The id of the Viva Engage role. Specify either roleId or roleName, but not both. |
-n, --roleName [roleName] |
The name of the Viva Engage role. Specify either roleId or roleName, but not both. |
Examples
Get all users assigned to a Viva Engage role specified by id
m365 viva engage role member list --roleId 77aa47ad-96fe-4ecc-8024-fd1ac5e28f17
Get all users assigned to a Viva Engage role specified by name
m365 viva engage role member list --roleName 'Verified Admin'
Default properties
Additional Info
Requires new permission EngagementRole.Read.All
It's a beta endpoint, let's not forget to mention this in the docs with an admonition.
More info: https://learn.microsoft.com/graph/api/engagementrole-list-members?view=graph-rest-beta
Usage
m365 viva engage role member list [options]
Description
Get a list of users assigned to a Viva Engage role
Options
-i, --roleId [roleId]roleIdorroleName, but not both.-n, --roleName [roleName]roleIdorroleName, but not both.Examples
Get all users assigned to a Viva Engage role specified by id
Get all users assigned to a Viva Engage role specified by name
m365 viva engage role member list --roleName 'Verified Admin'Default properties
Additional Info
Requires new permission
EngagementRole.Read.AllIt's a beta endpoint, let's not forget to mention this in the docs with an admonition.
More info: https://learn.microsoft.com/graph/api/engagementrole-list-members?view=graph-rest-beta