question

VinodSurvase-1595 avatar image
0 Votes"
VinodSurvase-1595 asked VinodSurvase-1595 commented

How to remove owner and member of private channels in teams via Powershell or is there any script and commands for the same?

How to remove owner and member of private channels in teams via PowerShell or is there any script and commands for the same?

office-teams-windows-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

pvanberlo avatar image
1 Vote"
pvanberlo answered VinodSurvase-1595 commented

You can use the Remove-TeamsChannelUser cmdlet for this. Keep in mind it won’t allow you to remove the last owner. The cmdlet is part of a public preview version of the MicrosoftTeams PowerShell module.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks @pvanberlo , I will check this

0 Votes 0 ·