Skip to content

Commit

Permalink
New command: viva engage community set
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinM85 committed Sep 12, 2024
1 parent 48ce8ca commit de78bb5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/docs/cmd/viva/engage/engage-community-set.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ m365 viva engage community set [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.

`-d, --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 Entra group associated with the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.

`--newDisplayName [newDisplayName]`
: New name for the community. The maximum length is 255 characters.
Expand All @@ -35,7 +38,7 @@ m365 viva engage community set [options]

## Examples

Update info about the community specified by id
Update info about the community specified by the community id

```sh
m365 viva engage community set --id eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI0NzY5MTM1ODIwOSJ9 --newDisplayName 'Developers' --description 'Community for all devs' --privacy public
Expand All @@ -47,6 +50,12 @@ Update info about the community specified by name
m365 viva engage community set --displayName 'Developrs' --newDisplayName 'Developers'
```

Update info about the community specified by the Microsoft Entra group id

```sh
m365 viva engage community set --entraGroupId 0bed8b86-5026-4a93-ac7d-56750cc099f1 --newDisplayName 'Developers' --description 'Community for all devs' --privacy public
```

## Response

The command won't return a response on success.

0 comments on commit de78bb5

Please sign in to comment.