diff --git a/docs/docs/cmd/viva/engage/engage-community-set.mdx b/docs/docs/cmd/viva/engage/engage-community-set.mdx index 09ecf9bb73b..eb5f0f2caf2 100644 --- a/docs/docs/cmd/viva/engage/engage-community-set.mdx +++ b/docs/docs/cmd/viva/engage/engage-community-set.mdx @@ -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. @@ -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 @@ -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. \ No newline at end of file