Commands › Exchange Online

Get-RegulatoryComplianceUI

Exchange Online ExchangeOnlineManagement Get-*

For more information, see Security & Compliance PowerShell . Use the Get-RegulatoryComplianceUI cmdlet to view the status of the regulatory compliance UI in the Microsoft Purview compliance portal (whether the preservation lock checkbox is displayed for retention policies and the immutable label checkbox is displayed for retention labels).

Quick start script

# Get-RegulatoryComplianceUI — 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-RegulatoryComplianceUI | Format-List

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

Syntax

Get-RegulatoryComplianceUI [<CommonParameters>]

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