Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

adding multiple members in Microsoft team through powershell

New Contributor

i am adding multiple users as members to Microsoft teams through this  command,following this 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 ( even after 24 hours. i am even not getting any other way to automate adding users to MS teams.

3 Replies
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:
@Juan but i can't add multiple members using Add-TeamUser cmdlet to team.
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: