logo
search
Microsoft 365 Error Codes

How to Fix Intermittent Get-QuarantineMessage Error in Exchange Online PowerShell

Natalie TaylorNatalie Taylor Sep 28, 2026 869 views

Question details

The user encounters a transient exception when running the Get-QuarantineMessage command in Exchange Online PowerShell.

How to Fix Intermittent Get-QuarantineMessage Error in Exchange Online PowerShell
Product
Microsoft Exchange Online
Device & OS
not provided
Scenario
Running the Get-QuarantineMessage cmdlet to retrieve quarantined messages data.
Observed behavior
The command intermittently fails and returns a Microsoft.Exchange.Hygiene.Data.TransientDALException error after repeated backend retries.
Before you start

Ensure you have the latest version of the Exchange Online PowerShell V3 module installed and that your administrator account has the necessary permissions to access quarantine data.

Solution 1Recommended

Contact Microsoft 365 Technical Support

Since this is a transient backend database exception, Microsoft support engineers need to review service logs to identify the root cause and provide a mitigation.

The Microsoft.Exchange.Hygiene.Data.TransientDALException is a Data Access Layer error indicating that the Exchange Online PowerShell module is failing to communicate effectively with Microsoft's backend hygiene databases. Because this is a backend service issue, it cannot be permanently resolved by client-side troubleshooting.

1
Log in to the Microsoft 365 admin center

Navigate to admin.microsoft.com and log in using your Microsoft 365 administrator credentials.

2
Open Help & support

Locate and click on the 'Help & support' widget in the bottom right corner of the admin center dashboard.

3
Search for the issue

Type 'Get-QuarantineMessage TransientDALException' into the search bar and press Enter to view preliminary automated solutions.

4
Create a service request

If the automated solutions do not resolve the problem, click on 'Contact support' to open a new support ticket.

5
Provide error details

Supply the support team with the exact error message, time of occurrence, and the specific intermittent behavior of the Get-QuarantineMessage cmdlet.

Contact Microsoft 365 Technical Support
Administrator Privileges Required: You must possess global or exchange administrator privileges within your Microsoft 365 tenant to open a service request.
Free Microsoft Office alternative

Discover WPS Office for Your Daily Productivity Needs

While managing Exchange Server and backend Microsoft 365 services requires native Microsoft administrative tools, WPS Office provides a lightweight, free, and highly compatible alternative for your everyday document, spreadsheet, and presentation tasks. Enjoy a familiar interface and seamless migration without the heavy subscription fees.

  1. 1. Download the software: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to set up the suite on your device.
  3. 3. Open your files: Launch WPS Office and directly open your existing Microsoft Office documents to continue your work seamlessly.
Completely free and lightweight alternative to Microsoft Office desktop applications.Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Built-in PDF editing, conversion, and management tools.Familiar, easy-to-use interface that requires zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

What does TransientDALException mean in Exchange Online?

It indicates a temporary Data Access Layer (DAL) issue where the Exchange Online PowerShell module fails to maintain a stable connection with Microsoft's backend email hygiene and quarantine databases.

Can I resolve the Get-QuarantineMessage error by updating the PowerShell module?

While updating to the latest Exchange Online PowerShell (EXO V3) module is always recommended for stability and security, this specific transient error usually stems from backend service issues that require Microsoft Support intervention to fully resolve.

Does this error affect the actual email quarantine process for end users?

No, this error typically only impacts administrators retrieving quarantine message logs via PowerShell. The underlying Microsoft Defender for Office 365 threat protection and quarantine services usually continue to operate normally.