viva engage community set
Updates an existing Viva Engage community
Usage
m365 viva engage community set [options]
Options
-i, --id [id]The id of the community. Specify either
id,displayNameorentraGroupId, but not multiple.-d, --displayName [displayName]The name of the community. Specify either
id,displayNameorentraGroupId, but not multiple.--entraGroupId [entraGroupId]The id of the Microsoft Entra group associated with the community. Specify either
id,displayNameorentraGroupId, but not multiple.--newDisplayName [newDisplayName]New name for the community. The maximum length is 255 characters.
--description [description]The description of the community. The maximum length is 1024 characters.
--privacy [privacy]Defines the privacy level of the community. The possible values are:
public, andprivate.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Examples
Update info about the community specified by id
m365 viva engage community set --id eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI0NzY5MTM1ODIwOSJ9 --newDisplayName 'Developers' --description 'Community for all devs' --privacy public
Update info about the community specified by name
m365 viva engage community set --displayName 'Developrs' --newDisplayName 'Developers'
Update info about the community specified by Entra group id
m365 viva engage community set --entraGroupId '0bed8b86-5026-4a93-ac7d-56750cc099f1' --newDisplayName 'Developers'
Response
The command won't return a response on success.