Skip to content

New command: viva engage role member list #6820

@MartinM85

Description

@MartinM85

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

  • id
  • userId

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions