Before you install the Exchange package, make sure that your on-premises environment meets the prerequisites.
- 
Assign full access to service accounts The service account must have full access rights to all mailboxes on the server. 
- 
Access nodes should be a part of the same domain as where the agent is located.