Skip to content

New command: viva engage community remove #6280

@MartinM85

Description

@MartinM85

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, displayName or entraGroupId, but not multiple.
-n, --displayName [displayName] The name of the community. Specify either id, displayName or entraGroupId, but not multiple.
--entraGroupId [entraGroupId] The id of the Microsoft Entra group associated with the community. Specify either id, displayName or entraGroupId, but not multiple.
-f, --force Don't prompt for confirmation.

Examples

Remove a community specified by the community id without prompting

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

Remove a community specified by name and prompt for confirmation

m365 viva engage community remove --displayName 'Software Engineers'

Remove a community specified by the Microsoft Entra group id without prompting

m365 viva engage community remove --entraGroupId 0bed8b86-5026-4a93-ac7d-56750cc099f1 --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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions