cli-microsoft365 icon indicating copy to clipboard operation
cli-microsoft365 copied to clipboard

New command: viva engage community remove

Open MartinM85 opened this issue 1 year ago • 1 comments

Usage

m365 viva engage community remove [options]

Description

Removes a Viva Engage community

Options

Option Description
-i, --id [id] The id of the community. Specify either id or displayName, but not both.
-d, --displayName [displayName] The name of the community. Specify either id or displayName, but not both.
-f, --force Don't prompt for confirmation.

Examples

Remove a community specified by id without prompting

m365 viva engage community remove --id eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI0NzY5MTM1ODIwOSJ9 --force

Default properties

No response

Additional Info

API https://learn.microsoft.com/en-us/graph/api/community-delete?view=graph-rest-1.0&tabs=http

All the associated Microsoft 365 content, including the M365 group, the document library, OneNote notebook, and Planner plans is deleted.

MartinM85 avatar Aug 28 '24 06:08 MartinM85

Nice suggestion, let's also add an example for the displayName. Do you want to work on it, or should we open it up?

milanholemans avatar Aug 28 '24 21:08 milanholemans

@milanholemans Example added. I can work on it

MartinM85 avatar Aug 29 '24 05:08 MartinM85