CmdID / PowerShell / Cmdlets / Remove
Remove-TeamChannelUser
Removes a user from a channel in Microsoft Teams. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 4 parameters Its page in the reference
Parameters
-DisplayNameDisplay name of the private channel-GroupIdGroupId of the team-RoleUse this to demote a user from owner to member of the team-UserUser's email address (e.g.