Commands › Microsoft Teams
Add-TeamChannelUser
Adds an owner or member to the private channel.
Quick start script
# Add-TeamChannelUser — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId
# 2. Run and inspect
Add-TeamChannelUser -DisplayName <String> -GroupId <String> -User <String> | Format-List
# 3. Export for evidence / drift tracking
Add-TeamChannelUser | Export-Clixml .\TeamChannelUser-$(Get-Date -Format yyyyMMdd).xml
Syntax
Add-TeamChannelUser -GroupId <String> -DisplayName <String> -User <String> [-Role <String>] [-TenantId <String>] [<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.