Get-MailboxExportRequest status not updated, but request completed

ilianko 21 Reputation points
2021-01-08T10:24:19.007+00:00

Recently I upgraded from Exchange 2013 to exchange 2019 and now my script that exports mailboxes does not work properly

I found the following problem:

get-MailboxExportRequest is updated very slowly ( 1 hour to one day) ... The status shows that export is queued, but the export is already finished, and the pst file is without errors. ( My database configuration is DAG with two servers on different sites)

Get-MailBoxExportRequest:

RunspaceId : d38cdd90-9892-455e-a617-4ce43ad298c5
FilePath : \admins\y_x_20210108.pst
Mailbox : domain/xxx yyy
Name : x_y_20210108
RequestGuid : e10c8560-1cec-42a2-9272-21db0c3d0e55
RequestQueue : DB-01
Flags : IntraOrg, Push
BatchName : admin
Status : Queued
Protect : False
Suspend : False
Direction : Push
RequestStyle : IntraOrg
OrganizationId :
WhenChanged : 1/8/2021 10:05:35 AM
WhenCreated : 1/8/2021 10:00:52 AM
WhenChangedUTC : 1/8/2021 8:05:35 AM
WhenCreatedUTC : 1/8/2021 8:00:52 AM
Identity : domain/xxx yyy\y_x_20210108
IsValid : True
ObjectState : New

If I check the status with get-MailboExportRequeStstatistic everything is OK:
RunspaceId : d38cdd90-9892-455e-a617-4ce43ad298c5
Name : y_x_20210108
Status : Completed
StatusDetail : Completed

SyncStage : SyncFinished
Flags : IntraOrg, Push
RequestStyle : IntraOrg
Direction : Push
Protect : False
Priority : Normal
WorkloadType : Local
Suspend : False
FilePath : \admins\y_x_20210108.pst
ComplianceStorePath :
PreferredMessageFormat : Default
SourceAlias : y_x
SourceIsArchive : False
SourceExchangeGuid : 0837e85a-7cc9-440d-b390-fa411590ce2b
SourceRootFolder :
RecipientTypeDetails : UserMailbox
SourceVersion : Version 15.2 (Build 721.0)
SourceMailboxIdentity : domain/yyy_xxx
LargeItemsEncountered : 0
QueuedTimestamp : 1/8/2021 10:00:51 AM
StartTimestamp : 1/8/2021 10:00:57 AM
LastUpdateTimestamp : 1/8/2021 10:03:46 AM
LastSuccessfulSyncTimestamp : 1/8/2021 10:03:45 AM
InitialSeedingCompletedTimestamp : 1/8/2021 10:03:46 AM
CompletionTimestamp : 1/8/2021 10:03:46 AM
SuspendedTimestamp :
OverallDuration : 00:02:54.8590619
TotalSuspendedDuration : 00:00:00
TotalFailedDuration : 00:00:00

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,763 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Lucas Liu-MSFT 6,181 Reputation points
    2021-01-11T06:36:16.787+00:00

    Hi @ilianko ,
    Does exporting all mailboxes have this issue?
    "PST file is without errors" means that you can import the .pst file to mailbox and get the complete mailbox data?
    Please try to following steps:
    1.Please try to restart the Microsoft Exchange Mailbox Replication service.
    2.Please try to run the following command to view the health and status information about mailbox database copies.

    Get-MailboxDatabaseCopyStatus  
    

    3.Please run the following commands to remove all mailbox export request then create an export request to export only one mailbox, then check the status again. If the status is normal, please check whether the script you are using supports Exchange 2019.

    Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest  
    New-MailboxExportRequest -Mailbox <> -FilePath <>  
    

    In addition, according to my test to export the mailboxes in Exchange 2019 and running the " Get-MailBoxExportRequest" and " Get-MailboxExportRequestStatistics" command lines, the results obtained are normal.
    55213-3.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.


  2. Joachim 26 Reputation points
    2022-01-24T16:47:49.98+00:00

    I can confirm that this is a problem with Exchange 2019 on premise too.

    Randomly a MailboxExportRequest is shown as "Queued" while it's already writing data or is even finished.
    Most times the correct status "InProgress" and "Complete" can be retrieved, but sometimes it's stuck with "Queued" while it is NOT queueing. There is nothing in the posts above that can help resolve the situation. The problem is the server not reporting a correct status with get-MailboxExportRequest

    0 comments No comments

Your answer

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