Mailbox-Restore Fails (FailureCode : -2147024809 Operation: IDestinationFolder.SetRules)

Symptoms:

Restore-Mailbox fails

Get-moverequeststatistics shows the below error

FailureCode                   : -2147024809
FailureType                   : MapiExceptionInvalidParameter
FailureSide                   : Target
Message                       : Error: MapiExceptionInvalidParameter: Unable to modify table. (hr=0x80070057, ec=-21470 24809)

FailureContext                : --------
Operation: IDestinationFolder.SetRules
OperationSide: Target

 

Cause:

Caused by Junk Email Rule

Resolution:

Run Restore-Mailbox –AssociatedMessagesCopyOption: Copy