Microsoft Purview (Security & Compliance PowerShell) Flags & Options
Retention, DLP, eDiscovery and sensitivity labels through Connect-IPPSSession.All Microsoft Purview (Security & Compliance PowerShell) pages
- Connect-IPPSSession -ConnectionUri: connect to GCC High, DoD or 21VianetConnect-IPPSSession -ConnectionUri and -AzureADAuthorizationEndpointUri values for GCC High, DoD and 21Vianet. Commercial and GCC tenants should not use them.
- New-ComplianceSearchAction -Purge -PurgeType SoftDelete or HardDeleteNew-ComplianceSearchAction -Purge -PurgeType SoftDelete or HardDelete removes phishing mail found by a content search: 10 items per mailbox, roles and holds.
- Search-UnifiedAuditLog -SessionCommand ReturnLargeSet: get more than 100 audit recordsSearch-UnifiedAuditLog returns 100 records by default. -SessionCommand ReturnLargeSet with one SessionId pages up to 50,000; rules, a loop and the 5,000 limit.
- Set-RetentionCompliancePolicy -RetryDistribution: redeploy a retention policy with errorsSet-RetentionCompliancePolicy -RetryDistribution redeploys a retention policy to locations that failed. Read DistributionResults first; which errors it fixes.