A unified data governance solution that helps manage, protect, and discover data across your organization
Hi PawelT,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
Coming to your question why the purge action “completes” but items remain.
This behavior is usually expected and tied to compliance safeguards. A few common reasons:
- SoftDelete doesn’t erase the item
-PurgeType SoftDeletemoves messages to the Recoverable Items\Deletions folder, not Deleted Items. They disappear from the Inbox but remain in Recoverable Items until the retention window expires. - Retention or holds override purge If the mailbox is under a retention policy, Litigation Hold, or eDiscovery hold, Purview preserves copies even after a purge. You can’t permanently remove them until the hold/policy is lifted.
- Built‑in purge limits PowerShell purge via
New-ComplianceSearchActiononly deletes up to 10 items per mailbox per action (E3/non‑Premium). For larger sets, you need multiple actions or, if you have E5, use the Graph eDiscovery purge (up to 100 items per mailbox). - Permissions and case type Ensure you’re connected to Security & Compliance PowerShell and have the Search And Purge role assigned in Purview. Purge won’t work if roles are missing or if you mix classic and modern case types.
I hope this information is helpful! If you still have questions or you come across issues, please let us know what is needed in the comments so this question can be answered.