Forum Discussion
amyrc
Apr 10, 2021Copper Contributor
adding multiple members in Microsoft team through powershell
0 i am adding multiple users as members to Microsoft teams through https://docs.microsoft.com/en-us/powershell/module/exchange/add-unifiedgrouplinks?view=exchange-ps command,following https:/...
Apr 11, 2021
Adding members to the Team using the Microsoft 365 Groups cmdlet should work with no problems and reflect automatically in Teams, so the behavior your are having is not expected. As an alternative you might add users to Teams using Teams PS cmdlets: https://docs.microsoft.com/en-us/powershell/module/teams/add-teamuser?WT.mc_id=M365-MVP-4015732&view=teams-ps
amyrc
Apr 11, 2021Copper Contributor
Juan but i can't add multiple members using Add-TeamUser cmdlet to team.
- Apr 11, 2021Why not? You could have the Team Members to be added in a CSV file or even in an array object so you could iterate through them and easily add the Team members to the Team: https://joguerre.medium.com/adding-bulk-users-from-a-csv-file-to-a-microsoft-teams-team-374414b9d8c9