I'm stuck on exporting a user's mailbox to PST via PowerShell

Deval Katherina 60 Reputation points
2026-01-27T13:00:32.6033333+00:00

I'm stuck on exporting a user's mailbox to PST via PowerShell. The command New-MailboxExportRequest throws "The term 'New-MailboxExportRequest' is not recognized as the name of a cmdlet," even after connecting to Exchange Online PowerShell (v3.0.0) with Connect-ExchangeOnline

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Hin-V 12,755 Reputation points Microsoft External Staff Moderator
    2026-01-27T14:00:06.22+00:00

    Hi @Deval Katherina

    Thank you for posting your question in Microsoft Q&A. 

    As my research, the cmdlet New-MailboxExportRequest seem doesn’t exist in Exchange Online. That cmdlet is only for on‑premises Exchange Server. That’s why PowerShell says it can’t find it even after Connect-ExchangeOnline. Microsoft’s docs explicitly state: “This cmdlet is available only in on‑premises Exchange.” 

     undefined

    You can refer via: New-MailboxExportRequest (ExchangePowerShell) | Microsoft Learn 

    For exporting Exchange Online mailboxes to .PST files, I have not found any directly supported method for exporting mailbox content to PST yet. The mailbox export functionality in the Exchange Admin Center (EAC) is primarily intended for managing mailboxes, rather than exporting their contents. 

    To export emails from mailboxes, you may need to use the Microsoft Purview eDiscovery tool. This method allows you to export mailbox content efficiently by following the steps provided in the eDiscovery workflow. 

    Reference: How to Export an Office 365 Mailbox to PST - [Step-by-Step]. 

    Note: Microsoft is providing this information as a convenience to you. These sites are not controlled by Microsoft, and Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please ensure that you fully understand the risks before using any suggestions from the above link. 

    Additionally, if you do not need to export the contents of multiple mailboxes simultaneously, you can also perform the export directly in the Outlook client. Using the steps provided in Export emails, contacts, and calendar items to Outlook using a .pst file - Microsoft Support, you can complete the export quickly and efficiently, which could save you a significant amount of time. 

    I hope this helps.  

    Please understand that our initial reply may not always immediately resolve the issue. However, with your help and more detailed information, we can work together to find a solution. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".      

    Note: Please follow the steps in [our documentation] to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.