Fix Microsoft 365 Quarantine Messages That Cannot Be Deleted
Question details
The user needs to delete quarantined messages after receiving an HTTP 401 client error.

- Product
- Microsoft 365 Defender quarantine
- Device & OS
- not provided
- Scenario
- Deleting messages from the Microsoft 365 quarantine portal.
- Observed behavior
- Deletion returns an HTTP 401 error in multiple browsers. Quarantine may also be slow or show previously deleted messages again.
Make sure you can sign in to the Microsoft 365 account that manages the affected quarantine messages. If you plan to use PowerShell, confirm that your administrator account has the required quarantine permissions.
Retry quarantine deletion in a private browser session
Use a fresh sign-in session to rule out stale or missing browser authentication.
Open an InPrivate or Incognito window from your browser's menu.
Go to https://security.microsoft.com/quarantine and sign in with the account authorized to manage the messages.
Select the affected messages, choose Delete, and confirm the action. Refresh the quarantine list to check the result.

Delete quarantine messages with Exchange Online PowerShell
Use this administrative option to identify and remove specific messages outside the browser portal.
Check Microsoft 365 service health and monitor quarantine
Use this approach if deletion is slow across browsers or the issue resolves without changes.
Work with Office documents using WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. It supports a smooth move between common document formats, but it does not manage Microsoft 365 quarantine or fix its authentication errors.

Frequently Asked Questions
What does HTTP 401 mean when I delete a quarantined message?
HTTP 401 generally indicates missing or invalid authentication. Open an InPrivate or Incognito window, sign in at security.microsoft.com/quarantine, and retry the deletion.
Why do deleted messages appear in quarantine again?
The deletion may not have completed, or the quarantine list may be affected by a temporary service issue. Refresh the list and check Health > Service health in the Microsoft 365 admin center.
Can an administrator delete a message without using the quarantine portal?
Yes. An administrator with the appropriate permissions can connect with Connect-ExchangeOnline, find the message using Get-QuarantineMessage, and remove it with Delete-QuarantineMessage -Identity.
What should I do if the quarantine error goes away on its own?
Monitor the quarantine portal for several days. If the error returns, check service health and contact Microsoft through Support in the Microsoft 365 admin center.




