Exchange MAPI User Experience scenario fails with Error 0x8004010F when attempting to open the user mailbox.
This is because the Outlook data file cannot be accessed; either because the Robot User cannot find the local mailbox or because is not allowed to access it.
The problem is solved by creating a local copy of the test mailbox used in the scenario, and configuring the Robot User with the same credentials as used when creating the Outlook Profile.
Symptoms
- Error 0x8004010F.
- Scenario is Down due to action 1 (Open Mailbox).
- Creating an instance of the COM component with CLSID {29AB7A12-B531-450E-8F7A-EA94C2F3C05F} from the IClassFactory failed due to the following error: 8004010f Exception from HRESULT: 0x8004010F.
How to Solve the Issue
The GSX Robot User does not have access to the Outlook Data File. If using an Exchange Cloud Account, we will check that Cached Exchange Mode is enabled to create a local copy of the mail account. Then check where the local mail copy is stored and ensure the Robot User has access to it.
- Open Outlook on the Robot User.
- Go to File - Account Settings.
- Double-click the Account Profile and check Use Cached Exchange Mode if it is not already enabled:
- Select the Data Files tab.
- Notate the on-disk Location for the Data File:
- Ensure the account running the Robot User has access to the Data File on-disk location:
- In our example, the account running the Robot User is "ent\gmonitor":
- In our example, the account running the Robot User is "ent\gmonitor":
- Close the Outlook client.
- Logoff the Robot User.
The Robot User Scenario will now scan correctly: