SOLVED

How to add/remove member team in microsoft teams by command line?

Iron Contributor

Hi

     please suggest help me how to add/remove member team in microsoft teams by command line?

Best Regards,

Thanks

1 Reply
best response confirmed by Tien Ngo Thanh (Iron Contributor)
Solution

Hi @Tien Ngo Thanh

Here are the articles you need.

https://docs.microsoft.com/en-us/powershell/module/teams/add-teamuser?view=teams-ps

 

For 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-ps

 

For example:

Remove-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User dmx@example.com


Hope that answers your question

Best, Chris

1 best response

Accepted Solutions
best response confirmed by Tien Ngo Thanh (Iron Contributor)
Solution

Hi @Tien Ngo Thanh

Here are the articles you need.

https://docs.microsoft.com/en-us/powershell/module/teams/add-teamuser?view=teams-ps

 

For 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-ps

 

For example:

Remove-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User dmx@example.com


Hope that answers your question

Best, Chris

View solution in original post