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
