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://answers.microsoft.com/en-us/msteams/forum/msteams_tfe-msteams_chatg-msteams_suboth/how-to-add-multiple-members-at-the-same-time-in/ccf20146-12db-454f-93b2-37cb59aa5858 article. Users are getting added in office 365 groups and reflecting in Microsoft teams admin center at the same time. but users and not reflecting in MS teams (https://admin.teams.microsoft.com/) even after 24 hours. i am even not getting any other way to automate adding users to MS teams.
Forum Discussion
amyrc
Apr 10, 2021Copper Contributor
adding multiple members in Microsoft team through powershell
0
3 Replies
Sort By
- 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
- Why 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