Skip to content

Commit

Permalink
New command: viva engage community remove
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinM85 committed Oct 25, 2024
1 parent dee9610 commit d9b2137
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/docs/cmd/viva/engage/engage-community-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ m365 viva engage community remove [options]

```md definition-list
`-i, --id [id]`
: The id of the community. Specify either `id` or `displayName` but not both.
: 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` or `displayName` but not both.
: The name of the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.

`--entraGroupId [entraGroupId]`
: The id of the Microsoft 365 group associated with the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.

`-f, --force`
: Don't prompt for confirmation.
Expand Down Expand Up @@ -47,6 +50,12 @@ Remove a community specified by name and prompt for confirmation
m365 viva engage community remove --displayName 'Software Engineers'
```

Remove a community specified by Entra group id and prompt for confirmation

```sh
m365 viva engage community remove --entraGroupId '0bed8b86-5026-4a93-ac7d-56750cc099f1'
```

## Response

The command won't return a response on success

0 comments on commit d9b2137

Please sign in to comment.