We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

The live mailbox search in the AOneSearch website returns no results

  • Type: Knowledgebase
  • Date changed: 3 years ago
Solution #00007542

Scope: 

ArchiveOne Enterprise, v6.5.1 or later

Answer:

SYMPTOMS

In the ArchiveOne Search website (AOneSearch), you have tried running a search of both your archive and live mailbox. However, no results from the live mailbox are returned even though it contains matching items. 
Examining the AOneSearch.log, you can see the following error:

"Error:LiveSearch threw EXCEPTION: The account does not have permission to impersonate the requested user."

ROOT CAUSE

The live mailbox search is failing as the ArchiveOne service account user does not have permission to impersonate other users in Exchange. This ability is required in order to run searches against live mailboxes in Exchange.

RESOLUTION

To allow the ArchiveOne service account to impersonate other users in Exchange 2010:

1. On the Exchange server, open the Exchange Management Shell.

2. Run the command:

New-ManagementRoleAssignment -Name C2CServiceAccountImpersonation -Role applicationImpersonation -User Service_Account

where Service_Account is the name of the ArchiveOne service account (the domain account that the Archive One Service runs under).

3. Confirm the command has execute successfully by running the command:

Get-ManagementRoleAssignment -RoleAssignee Service_Account

where Service_Account is the name of the ArchiveOne service account (the domain account that the Archive One Service runs under).

The 'C2CServiceAccountImpersonation' role should be listed.

Now retest your live mailbox search to ensure this now returns the expected results.