Run Connect-IPPSSession (part of the Exchange Online PowerShell module) to reach cmdlets for Purview and Defender for Office 365, including New-ComplianceSearchAction, which purges messages.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains Security & Compliance PowerShell in context, with comparison tables and the common traps.
Terms in this definition
- Connect-IPPSSession
Opens a Security & Compliance PowerShell session using modern authentication, signing in interactively or app-only with a certificate. It comes with the Exchange Online PowerShell module.
- Exchange Online PowerShell
Command-line administration for Exchange Online, including its anti-spam and anti-malware settings, using a PowerShell module that opens a connection to the service.
- Microsoft 365
Formerly Office 365, Microsoft's software-as-a-service productivity suite. A Microsoft Entra tenant provides its identity, and its data is not governed by Azure RBAC.
- Agents (classic) API
First-generation Foundry Agent Service API, based on threads, messages and runs. It is deprecated, replaced by conversations and responses, and retires on 31 March 2027.