Riva administrator reported encountering an "Unable to initialize: No mailbox with such guid" error after removing an Active Directory/Exchange user and recreating the user's account.
2013-02-08 15:16:27Z : [200PFXMKT4HS] Establishing connection to Exchange [username@example.com]..
2013-02-08 15:16:27Z : [200PFXMKT4HS] Connection to Exchange established.
2013-02-08 15:16:27Z : [200PFXMKT4HS] Establishing connection to Salesforce CRM [IMPERSONATION]...
2013-02-08 15:16:29Z : [200PFXMKT4HS] Connection to Salesforce CRM established.
2013-02-08 15:16:29Z : [200PFXMKT4HS] Re-initializing
2013-02-08 15:16:30Z : [200PFXMKT4HS] (CRM -> Exchange) Synchronizing Contacts
2013-02-08 15:16:35Z : [200PFXMKT4HS] Unable to initialize: No mailbox with such guid.
2013-02-08 15:16:35Z : [200PFXMKT4HS] Synchronization Completed in 8 secs. (3:16:35 PM)
2013-02-08 15:16:35Z : [200PFXMKT4HS] Next scheduled full synchronization : 3:21:27 PM
Explanation
Riva server maintains a transaction record for each user in each sync policy that it synchronizes. This transaction record uses the AD/Exchange GUID (unique ID number created by AD/Exchange) to create and use a referential link to the user's mailbox to ensure that data is synced from the CRM user to the correct user mailbox.
If an administrator removes an AD user/Exchange mailbox and creates a new AD user/Exchange mailbox using the same primary email address for the user, Riva cannot link to the new mailbox because there is a mismatch between the previously known GUID and the new mailbox GUID.
Procedure to Re-add User to the Sync Policy
Use this procedure to remove the previous user (old mailbox) and re-add the user (new mailbox) that is using the same primary reply-to email address:
-
In Exchange, confirm that the Riva connection user has been granted Delegate (or Impersonation) full access permissions to the new target user mailbox - see "Prepare the Riva Connection User to Exchange" and "Prepare the Riva On-Premise Connection Account for Exchange".
-
In the Riva Manager application, under "Policies", edit the sync policy that contains the affected user.
-
Under "General", select the affected user and click Remove.
-
Under "General", while pressing the CTRL key and double click the Name: label. This will open Windows Explorer to the root Transaction folder for the sync policy.
-
Navigate into the \Lookup folder and locate and remove the folder for the desired user.
Example: if the user is username@example.com, look for and remove the folder \USERNAME$EXAMPLE$COM. -
Close Windows Explorer.
-
In the sync policy edit window, under "General", add the user back into the Exchange user list. Since the transaction folder for the previous user was removed, Riva will create a new transaction folder that uses the AD/Exchange GUID for the new mailbox.
-
Save the sync policy. Once the sync policy is saved, Riva will perform a first sync cycle to the new user mailbox.
-
In the CRM Monitor application, open an activity monitor panel for the re-added user and confirm that Riva is syncing to that user.
Applies to
- Riva for Exchange (EWS and MAPI)