pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
908 stars 317 forks source link

New command: viva engage community list #6278

Open MartinM85 opened 2 weeks ago

MartinM85 commented 2 weeks ago

Usage

m365 viva engage community list [options]

Description

Retrieves a list of the Viva Engage communities

Options

Option Description

Examples

List Viva Engage communities

m365 viva engage community list

Default properties

Additional Info

API https://learn.microsoft.com/graph/api/employeeexperience-list-communities?view=graph-rest-1.0&tabs=http

Requires the Community.Read.All permission.

It's quite new API. CLI already has commands m365 viva engage community get and m365 viva engage community add

milanholemans commented 2 weeks ago

Nice suggestion @MartinM85, only suggestion from my side is that we drop groupid and description from the default props. Are you willing to work on it, or should we open it up?

MartinM85 commented 2 weeks ago

@milanholemans The default props updated. I can work on it