-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command: viva engage community add
#5753
Comments
I suggest that without wait we print the polling URL to console, just like we do for the external connection schema add command, in case folks want to poll manually. For privacy, could we consider a reasonable default or should user always explicitly specify if they want a public or private community? |
Ok, updated the specs.
The API has no default value, you must provide one. I don't know which of the values we could consider default. |
The challenge for this (and the get) command is that we currently have |
I haven't compared the Yammer and Graph APIs so can't tell with certainty, but my gut feeling tells me that the data returned will be incompatible and we won't be able to move from Yammer to Graph APIs without introducing breaking changes. |
Yes indeed, as discussed before, we'll just leave the group commands untouched and just introduce 2 new |
Thats a bit of a bummer but in the end I agree this is the best we may do for now to keep moving forward and we should consider 'refactoring' the existing |
Not necessarily. We have other areas where we've got similar commands on Graph and SPO. As long as there's no parity, I think it's good to offer options as long as it's clear when to use which one. |
Can I work on it? |
Sure @Saurabh7019, thanks! |
dictionary update
dictionary update class name fix
Usage
m365 viva engage community add [options]
Description
Creates a new community in Viva Engage
Options
--displayName <displayName>
--description <description>
--privacy <privacy>
public
, andprivate
.--adminEntraIds [ownerEntraIds]
adminEntraIds
oradminEntraUserNames
, but not both.--adminEntraUserNames [adminEntraUserNames]
adminEntraIds
oradminEntraUserNames
, but not both.--wait
Examples
Create a public community and wait for the community to be created
Create a private community
Default properties
No response
Additional Info
API
https://learn.microsoft.com/en-us/graph/api/employeeexperience-post-communities?view=graph-rest-beta&tabs=http
The API returns a URL which you can poll to check the status of the community.
I suggest that without the
--wait
flag we just return nothing. When--wait
is specified, we return the community object on completion.Without
--wait
:With
--wait
:Remarks to be included in docs
The text was updated successfully, but these errors were encountered: