Symptom:

Exchange restore succeeds, but shows MAPI_E errors like:

MASON-FileIO JobId 272: Unable to set property PR_RECEIVED_BY_NAME_W
: MAPI_E_INVALID_PARAMETER
MASON-FileIO JobId 272: Unable to set property PR_RCVD_REPRESENTING_NAME_W
: MAPI_E_INVALID_PARAMETER
MASON-FileIO JobId 272: Unable to set property PR_RECEIVED_BY_ADDRTYPE_W
: MAPI_E_INVALID_PARAMETER
MASON-FileIO JobId 272: Unable to set property 0076001f
: MAPI_E_INVALID_PARAMETER
MASON-FileIO JobId 272: Unable to set property PR_RCVD_REPRESENTING_ADDRTYPE_W
: MAPI_E_INVALID_PARAMETER
MASON-FileIO JobId 272: Unable to set property PR_RCVD_REPRESENTING_EMAIL_ADDRESS_W
: MAPI_E_INVALID_PARAMETER

Resolution:

When restoring mail to a different or deleted/recreated server or account, these kinds of errors might be generated.


If you delete the mailbox and recreate another with the same name, the restore will be successful but the above errors may occur (setting some properties will fail because some internal unique IDs will be different).
If only the messages in the mailbox are deleted and then the data restored to the same mailbox, these errors are not generated.