Share via


Opening destination mailbox. Failed to open mailbox with error: The operation failed., error code: -1056749262

Scenario:

Mailbox restore fails when restoring the mailbox from recovery storage group

Restore-Mailbox : Error was found for xyz (xyz@ contoso.com) because: Error occurred in the step: Opening destination mailbox. Fail
ed to open mailbox with error: The operation failed., error code: -1056749262

 

Resolution:

1.Verify if the mailbox is accessible using owa or outlook

2. Check if test-mapiconnectivity is successful

3.If the mailbox isn't accessible or you don't need data in the mailbox and your objective is to restore mailbox from RSG

4. Get the mailbox guid of the mailbox or value for the mailbox guid from ADSIEDIT

5. Disable the Mailbox

6.Create a new mailbox for user

7. Change the mailbox Guid of new mailbox pointing to the old one using ADSIEDIT

8. You can use the below link for converting the Mailbox GUID in to the value that can be used in ADSI.

https://support.microsoft.com/en-us/kb/322308

9. Now perform restore-mailbox

 

  1. Paste the Mailbox GUID  into Notepad. For example,f911a4c2-42de-42c1-8d97-abef7766063c.

    Note The GUID contains five sections that are separated by hyphens.

  2. On a blank line in Notepad, type the characters from the first section of the GUID (for example,f911a4c2), in two-character portions separated by backslash character, in reversed order. For example: \c2\a4\11\f9.

    Note You must include the initial backslash character.

  3. Type the characters from the second section of the GUID (for example, 42de) in two-character portions separated by backslash characters, in reverse order. For example: \de\42.

  4. Type the characters from the third section of the GUID (for example, 42c1) in two-character portions separated by backslash characters, in reverse order. For example: \c1\42.

  5. Type the characters from the fourth section of the GUID (for example, 8d97) in two-character portions separated by backslash characters. For example: \8d\97.

    Note For this section of the GUID, you do not reverse the order of the two-character sections.

  6. Type the characters from the fifth section of the GUID (for example, abef7766063c) in two-character portions separated by backslash characters. For example: \ab\ef\77\66\06\3c.

    Note For this section of the GUID, you do not reverse the order of the two-character sections.

  7. Add each of the re-typed GUID sections together to form the msExchMailbox value. For example:
    \c2\a4\11\f9\de\42\c1\42\8d\97\ab\ef\77\66\06\3c

  8. On a new line in Notepad, use this new msExchMailbox value to create a msExchMailboxGUID entry similar to the following:
    (msExchMailboxGUID=\c2\a4\11\f9\de\42\c1\42\8d\97\ab\ef\77\66\06\3c)

    Note Include the parentheses in the preceding command.