Forum Discussion
StanleyHao
Jul 29, 2021Brass Contributor
how to remove unlicensed people from group chat by powershell?
hi gents, i have a request to bulk remove unlicensed people from chat group, which is self-organized by random users since unlicensed people are in many chat groups, manual way costs too much...
- Jul 29, 2021Hi StanleyHao
Sorry, nothing in the PowerShell cmdlets which point to being able to do this programmatically.
https://docs.microsoft.com/en-us/powershell/teams/intro?view=teams-ps
I would recommend raising it on uservoice (https://microsoftteams.uservoice.com/forums/555103-public) whilst it is still around in order to raise it as a new feature. As far as I know this is the only possible way is
https://support.microsoft.com/en-gb/office/leave-or-remove-someone-from-a-group-chat-7db55a67-0ba4-4409-a399-5ed502a1d094
Note - If someone leaves or is removed from a group chat, their messages will remain in the group chat history
Hope that answers your question
Best, Chris
Jul 29, 2021
Hi StanleyHao
Sorry, nothing in the PowerShell cmdlets which point to being able to do this programmatically.
https://docs.microsoft.com/en-us/powershell/teams/intro?view=teams-ps
I would recommend raising it on uservoice (https://microsoftteams.uservoice.com/forums/555103-public) whilst it is still around in order to raise it as a new feature. As far as I know this is the only possible way is
https://support.microsoft.com/en-gb/office/leave-or-remove-someone-from-a-group-chat-7db55a67-0ba4-4409-a399-5ed502a1d094
Note - If someone leaves or is removed from a group chat, their messages will remain in the group chat history
Hope that answers your question
Best, Chris
Sorry, nothing in the PowerShell cmdlets which point to being able to do this programmatically.
https://docs.microsoft.com/en-us/powershell/teams/intro?view=teams-ps
I would recommend raising it on uservoice (https://microsoftteams.uservoice.com/forums/555103-public) whilst it is still around in order to raise it as a new feature. As far as I know this is the only possible way is
https://support.microsoft.com/en-gb/office/leave-or-remove-someone-from-a-group-chat-7db55a67-0ba4-4409-a399-5ed502a1d094
Note - If someone leaves or is removed from a group chat, their messages will remain in the group chat history
Hope that answers your question
Best, Chris
StanleyHao
Jul 29, 2021Brass Contributor
Hi ChrisHoardMVP
Thanks for your replies, similar result as my guess and researches. It is very helpful.
I'll go to uservoice to raise the request.
Thanks for your replies, similar result as my guess and researches. It is very helpful.
I'll go to uservoice to raise the request.