cli-microsoft365
cli-microsoft365 copied to clipboard
New command: viva engage community remove
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.
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 Example added. I can work on it