Commands › Microsoft Teams

Grant-CsTeamsMeetingBroadcastPolicy

Microsoft Teams MicrosoftTeams Grant-*

Use this cmdlet to assign a policy to a user.

Quick start script

# Grant-CsTeamsMeetingBroadcastPolicy — 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
Grant-CsTeamsMeetingBroadcastPolicy -Group <String> | Format-List

# 3. Export for evidence / drift tracking
Grant-CsTeamsMeetingBroadcastPolicy | Export-Clixml .\CsTeamsMeetingBroadcastPolicy-$(Get-Date -Format yyyyMMdd).xml

Syntax — 3 parameter sets

Identity (Default)

Grant-CsTeamsMeetingBroadcastPolicy [[-Identity] <String>] [-PassThru] [[-PolicyName] <String>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

GrantToTenant

Grant-CsTeamsMeetingBroadcastPolicy [-PassThru] [[-PolicyName] <String>]
 [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]

GrantToGroup

Grant-CsTeamsMeetingBroadcastPolicy [-PassThru] [[-PolicyName] <String>]
 -Group <String> [-Rank <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (10)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-DomainController Fqdn Not applicable to online service.
-Global SwitchParameter Use this switch if you want to grant the specified policy to be the default policy for all users in the tenant.
-Group String yes Specifies the group used for the group policy assignment.
-Identity UserIdParameter Indicates the Identity of the user account the policy should be assigned to. User Identities can be specified using one of four formats: 1) the user's SIP address; 2) the user principal name (UPN); 3) the user's...
-PassThru SwitchParameter {{ Fill PassThru Description }}
-PolicyName String The name of the custom policy that is being assigned to the user. To remove a specific assignment and fall back to the default tenant policy, you can assign to $Null.
-Rank Int32 The rank of the policy assignment, relative to other group policy assignments for the same policy type.
-Tenant Guid {{ Fill Tenant Description }}
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.