Commands › Microsoft Teams

New-CsTeamsMeetingTemplatePermissionPolicy

Microsoft Teams MicrosoftTeams New-*

Creates a new instance of the TeamsMeetingTemplatePermissionPolicy.

Quick start script

# New-CsTeamsMeetingTemplatePermissionPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsTeamsMeetingTemplatePermissionPolicy
$before | Format-List

# 3. Make the change (dry run first)
New-CsTeamsMeetingTemplatePermissionPolicy  -WhatIf
New-CsTeamsMeetingTemplatePermissionPolicy

# 4. Verify and diff
$after = Get-CsTeamsMeetingTemplatePermissionPolicy
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

New-CsTeamsMeetingTemplatePermissionPolicy [-Identity] <string> [-HiddenMeetingTemplates<PSListModifier[HiddenMeetingTemplate]>] [-Description <string>] [-DefaultMeetingTemplateId <string>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Identity String Name of the new policy instance to be created.
-HiddenMeetingTemplates HiddenMeetingTemplate[] The list of meeting template IDs to hide. The HiddenMeetingTemplate objects are created with [New-CsTeamsHiddenMeetingTemplate](https://learn.microsoft.com/powershell/module/microsoftteams/new-csteamshiddenmeetingtemplate).
-Description String Description of the new policy instance to be created.
-DefaultMeetingTemplateId String Specifies the ID of the meeting template to be applied by default to ad-hoc or standard meetings created by the user. Must use the `customtemplate_<GUID>` format. When set to null, no default template is applied.

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