Forum Discussion
How to add/remove member team in microsoft teams by command line?
Hi
please suggest help me how to add/remove member team in microsoft teams by command line?
Best Regards,
Thanks
Hi Tien Ngo Thanh
Here are the articles you need.
https://docs.microsoft.com/en-us/powershell/module/teams/add-teamuser?view=teams-psFor example:
Add-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User dmx@example.com
https://docs.microsoft.com/en-us/powershell/module/teams/remove-teamuser?view=teams-psFor example:
Remove-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User dmx@example.com
Hope that answers your question
Best, Chris
1 Reply
Hi Tien Ngo Thanh
Here are the articles you need.
https://docs.microsoft.com/en-us/powershell/module/teams/add-teamuser?view=teams-psFor example:
Add-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User dmx@example.com
https://docs.microsoft.com/en-us/powershell/module/teams/remove-teamuser?view=teams-psFor example:
Remove-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User dmx@example.com
Hope that answers your question
Best, Chris