Commands › Exchange Online

Get-TeamsProtectionPolicy

Exchange Online ExchangeOnlineManagement Get-*

View Microsoft Teams protection policies.

Quick start script

# Get-TeamsProtectionPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-TeamsProtectionPolicy | Format-List

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

Syntax

Get-TeamsProtectionPolicy [[-Identity] <TeamsProtectionPolicyIdParameter>]
 [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-Identity TeamsProtectionPolicyIdParameter The Identity parameter specifies the Teams protection policy that you want to view. There's only one Teams protection policy in an organization named Teams Protection Policy.

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