Skip to content
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

[FEATURE] New-PnPTeam Allow Add Multiple Owners #1021

Closed
YuriySamorodov opened this issue Aug 17, 2021 · 0 comments · Fixed by #1241
Closed

[FEATURE] New-PnPTeam Allow Add Multiple Owners #1021

YuriySamorodov opened this issue Aug 17, 2021 · 0 comments · Fixed by #1241
Assignees
Labels
enhancement New feature or request

Comments

@YuriySamorodov
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Consider you have multiple users to add. If you pass them all to Owner parameter it would through an error below:
image
However the command would complete just fine if you pass a single user:
image

Describe the solution you'd like
Please make Owners parameter of New-TeamsTeam accept collections (aka arrays)

Describe alternatives you've considered

  • Add-PnPMicrosoft365GroupOwner

  • Add-PnPTeamsUser

@YuriySamorodov YuriySamorodov added the enhancement New feature or request label Aug 17, 2021
@gautamdsheth gautamdsheth self-assigned this Oct 11, 2021
gautamdsheth added a commit to gautamdsheth/powershell that referenced this issue Oct 12, 2021
KoenZomers added a commit that referenced this issue Jan 26, 2022
#1021 - New-PnPTeamsTeam , ability to add multiple owners and members
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants