Commands › Exchange Online

Install-UnifiedCompliancePrerequisite

Exchange Online ExchangeOnlineManagement Install-*

For more information, see Security & Compliance PowerShell. Use the Install-UnifiedCompliancePrerequisite cmdlet to view, create, or configure the Compliance Policy Center in Microsoft SharePoint. The Compliance Policy Center is a site collection that's used by the Microsoft Purview compliance portal to store preservation policies that act on content in SharePoint sites. Typically, you don't need to run this cmdlet. You use this cmdlet for troubleshooting and diagnostics.

Quick start script

# Install-UnifiedCompliancePrerequisite — 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
Install-UnifiedCompliancePrerequisite | Format-List

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

Syntax — 2 parameter sets

Initialize

Install-UnifiedCompliancePrerequisite [-ForceInitialize]
 [-PolicyCenterSiteOwner <SmtpAddress>]
 [<CommonParameters>]

LoadOnly

Install-UnifiedCompliancePrerequisite [-LoadOnly]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-ForceInitialize SwitchParameter The ForceInitialize switch recreates the Compliance Policy Center, even if it has already been created. You don't specify a value with this switch.
-LoadOnly SwitchParameter The LoadOnly switch loads the current settings of the Compliance Policy Center. You don't specify a value with this switch.
-PolicyCenterSiteOwner SmtpAddress The PolicyCenterSiteOwner parameter specifies the email address of the owner of the Compliance Policy Center. You can use this parameter by itself or with the ForceInitialize switch.

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