Views:
An Exchange service account is necessary to perform the backend searches in the Exchange environment. Administrators can use the following Exchange Management Shell Commands to configure the service account:

Service Account Commands

Command
Description
Add-RoleGroupMember –Identity “Discovery Management” –Member “SERVICE_ACCOUNT_NAME”
Adds the "SERVICE_ACCOUNT_NAME" account to the Exchange Discovery Management group
New-ManagementRoleAssignment -Role "mailbox import export" -User “SERVICE_ACCOUNT_NAME”
Adds the "SERVICE_ACCOUNT_NAME" account to the Exchange Mailbox Import Export role