Commands › Microsoft Teams

Grant-CsTeamsMeetingPolicy

Microsoft Teams MicrosoftTeams Grant-*

Assigns a teams meeting policy at the per-user scope. The CsTeamsMeetingPolicy cmdlets enable administrators to control the type of meetings that users can create or the features that they can access while in a meeting. It also helps determine how meetings deal with anonymous or external users

Quick start script

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

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

Syntax — 3 parameter sets

GrantToTenant (Default)

Grant-CsTeamsMeetingPolicy [-Global] [-PassThru] [[-PolicyName] <String>] [<CommonParameters>]

GrantToGroup

Grant-CsTeamsMeetingPolicy [-PassThru] [[-PolicyName] <String>]
 [[-Group] <String>] [-Rank <Int32>] [<CommonParameters>]

Identity

Grant-CsTeamsMeetingPolicy [-PassThru] [[-PolicyName] <String>]
 [[-Identity] <String>] [<CommonParameters>]

Parameters (8)

ParameterTypeRequiredWhat it controls
-DomainController Fqdn {{ Fill DomainController Description }}
-Global SwitchParameter When you use this cmdlet without specifying a user identity, the policy applies to all users in your tenant. To skip a warning when you do this operation, specify "-Global".
-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 }}

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