Items in split pst marked as corrupt

We are splitting PST files into smaller PSTs for Exchange Online New-MailboxImportRequest.

We can split the large PST files using code below. However when we create Mailbox Import requests the import process skips all items in the PSTs as corrupt items.

I have tried splitting with the latest version of the DLL and also 19.10. We are using 30 day trial license.

[Reflection.Assembly]::LoadFile(“C:\Program Files (x86)\Aspose\Aspose.Email for .NET\Bin\net4.0\Aspose.Email.dll”)

$license = New-Object Aspose.Email.License

$PersonalStorage = [Aspose.Email.Storage.Pst.PersonalStorage]::FromFile($PstFilePath)
$PersonalStorage.SplitInto($PSTFileSizeBytes, $SplitPstFilesDir)

Welcome to our community! Thank you for the issue description. Could you please share a PST file to investigate the problem?

We need an additional code snippet or more details about how we can reproduce the problem.

Hi Andrey,

Thanks for contacting me.

In order to reproduce the issue, please do the following.

image003.jpg (181 Bytes)

image003.jpg (164 Bytes)

To my regret, we need a simple comprehensive standalone project to reproduce your problem.