Certificate Import Failed Because the Store Was Read-only
KB ID 0000443
Problem
If you have mail in .PST file format that you would like to import, either exported via ExMerge from an older Exchange server, or Exported via Outlook, or even exported via PowerShell, then the process for importing that mail into Substitution has been the same since Exchange 2010 (SP1).
Before SP1 you would take to install a copy of Outlook on the Commutation server and utilize a PowerShell command that looks like this (once you had granted Import/Export rights);
Earlier Exchange 2010 SP1 Go-Mailbox | Import-Mailbox –PSTFolderPath C:Folder_Containing_PST_Files
However try that afterward SP1 and yous will get an error message, saying that Import-Mailbox is not a commandlet. That's because at present you no longer utilise this command you lot employ "New-MailboxImportRequest", and y'all too no longer need Outlook installing on the server.
How To Import PST Files
Note: To Majority Import (See Below)
Firstly make certain the folder y'all are importing from is shared and the 'Substitution Trusted Subsystem' has read permissions, and System has total control.

Grant the user you you want to Import the PST file with the advisable permissions;
New-ManagementRoleAssignment –Role "Mailbox Import Consign" –User {username}

Notation: This grants import and export rights, if you want to grant these permissions to a 'group' and so see instructions below.
To submit the import request;
New-MailboxImportRequest-FilePath \\{server-name}\{binder-name}\{filename}.pst -Mailbox "{mailbox-user}"

To check progress;
Get-MailboxImportRequest OR Get-MailboxImportRequest | Get-MailboxImportRequestStatistics

If Mailbox Importing Fails
To troubleshoot failures, try using the following command and analysing the output;
Get-MailboxImportRequest | Get-MailboxImportRequestStatistics -IncludeReport | fl
i.e. below you can see the problem was;
"This mailbox exceeded the maximum number of big items that were specified for this request. (Fatal error TooManyLargeItemsPermanentException has occurred.)"

To gear up that error you tin use the '-LargeItemLimit 200 -AcceptLargeDataLoss' flags (which sounds alarming, but I have non seen it intermission anything in the last 10 years).

Importing PST Files From the Exchange Admin Center
You lot tin import PST files directly in the management GUI > Recipients > Mailboxes > Select the target mailbox > {Ellipses} > Import PST.

Enter the path to the .PST file > Next.

Select the target mailbox > Adjacent.

Optional: Select a user to exist emailed an consign report.

Note: To view progress and troubleshoot failures, you will have to revert to PowerShell.
How To Bulk Import .PST Files
Note: To Bulk Import successfully, the .PST file MUST take the same name every bit the alias of the target mailbox.
Commands Required

1. Once yous have created a "Universal Security Grouping" in this instance chosen "Mailbox_Import" then assign the mailbox import/export roles with the post-obit command;
New-ManagementRoleAssignment –Name "MailboxImportExport" –SecurityGroup "Mailbox_Import" –Role "Mailbox Import Export"
Note: If you create a 'global security group' you will see an error when you effort to import.
2. Think to log off and back on as the user in question before proceeding.
iii. To Start the bulk import use the post-obit command, (all you should demand to change is the UNC path to the binder with the .pst files in);
Dir DC2APST_To_Import*.pst | %{ New-MailboxImportRequest -Name BulkPSTImport -BatchName Recovered -Mailbox $_.BaseName -FilePath $_.FullName}

4. Check on progress with the following four commands;
Become-MailboxImportRequest -Status Completed Get-MailboxImportRequest -Condition Queued Get-MailboxImportRequest -Status InProgress Get-MailboxImportRequest -Condition Failed

5. When finished, flush the requests with;
Get-MailboxImportRequest -Status Completed | Remove-MailboxImportRequest Get-MailboxImportRequest -Condition Failed | Remove-MailboxImportRequest

Note: Enter "A" To have multiple removes at once.
If New-MailboxImportRequest Fails

Firstly y'all need to detect out why information technology failed, to do that you need to generate an error log.
Go-MailboxImportRequest | Get-MailboxImportRequestStatistics -IncludeReport | fl >errorlog.txt

And then open up that log file, to see what information technology says.
Common Errors
FailureType : TooManyBadItemsPermanentException Message : Error: This mailbox exceeded the maximum number of corrupted items that were specified for this motion request.

This happens when information technology sees items in the mailbox it does not similar, or considers corrupt. To get round this problem, import the .pst file on its own with the post-obit command;
New-MailboxImportRequest -Mailbox joe.soap -FilePath "DC2APST_TO_IMPORTjoe.lather.PST" -BadItemLimit 200 -AcceptLargeDataLoss

FailureType : MapiExceptionShutoffQuotaExceeded Bulletin : Error: MapiExceptionShutoffQuotaExceeded: Unable to relieve changes. (hr=0x80004005, ec=12 45)

This happens if you take a limit on the mailbox size, and to import from this PST file would interruption that restriction.

FailureType : MailboxReplicationPermanentException Message : Error: serverfolderfilename.pst –> Page map offset {number} is greater than buffer length {number}.

This happens because yous exported a PST file either using ExMerge or an older version of Outlook and it's too big. Brand sure it's well under 2GB.
Additionally
If you desire to import the "Old" post into a binder within the target users mailbox, you can apply the post-obit command instead of the ane in step 3;
Dir DC2APST_To_Import*.pst | %{ New-MailboxImportRequest -Name RecoveredPST -BatchName Recovered -Mailbox $_.BaseName -FilePath $_.FullName -TargetRootFolder Imported_Mail}
Related Articles, References, Credits, or External Links
Exchange Exporting Mailboxes to PST Files
Exchange 2000/2003 Exporting mailbox's with ExMerge
Exchange 2007 – Export Mailbox'due south to PST files
Source: https://www.petenetlive.com/KB/Article/0000443
0 Response to "Certificate Import Failed Because the Store Was Read-only"
Post a Comment