CRM E-mail Router Configuration for Exchange On-Premise, POP3 Accounts and Exchange Online
The CRM E-mail router is available for implementation with Exchange On-Premise, POP3 accounts, and Exchange Online. In this article, my focus is on implementing the CRM E-mail router with Exchange Online.
To begin, you’ll want to ensure you understand the hardware / software requirements. These were pulled directly from the E-mail Router Installation Guide: Windows 7, Windows Server 2008.
Next, you’ll want to consider a few configuration options and make decisions:
- How do you want to handle Incoming Mail for each user?
- How do you want to setup the Outgoing Mail Profile?
Incoming Mail Options
You have a couple of options regarding the Incoming Mail Profile - do you want to have the CRM E-mail router handle both outgoing and incoming or do you want to use the Forward Mailbox for Incoming? The benefit for using the Forward Mailbox is that you have only one point of failure to troubleshoot incoming mail issues, the Forward Mailbox. If each user is configured to use the E-mail Router to manage incoming E-mail, then you might have to troubleshoot issues at the Outlook user mailbox level. The downside to this approach for some is it requires an additional mailbox setup for the Forward Mailbox and Rule Deployment to manage the forwarding mail process. The upside is that it scales well as organizations grow.
Additionally, you’ll need to decide if you are going to setup one Incoming profile for each user or use one Incoming Profile for all. The most common approach is to use one Incoming Profile for all users. If that is the choice you make, then the Access Credentials you choose to use for this profile must have full access to all user mailboxes. If you choose to setup one Incoming Profile for each user, then you will need to know the Exchange Online password for each user.
Outgoing Mail Options
The option you want to focus on for the Outgoing Mail Profile is do you want to use an Administrator level account for Access or setup each user account. Generally, you’ll want to use an Administrator level account for Access rather than setting up individual Outgoing profiles. An Administrator level account assumes full rights to all user’s mailboxes. There will be some important items to pay close attention to when setting up this configuration to include a required call to Exchange Online support to complete a few configuration steps which I’ll highlight later in the article.
After you’ve identified the best configuration options for your organization and completed the preparation work required for the options you selected, you are ready to install the CRM E-mail router.
CRM E-mail Router Installation
One of the best resources I’ve found for a detailed guide on installing the E-mail router for CRM Online and Exchange Online is this article written a few years ago on the Dynamics CRM Team Blog, Configure Microsoft Dynamics CRM Online E-mail Router with Exchange Online. Although some of this will be a repeat of the above article, the following steps are from a ‘real-world’ installation, so here we go:
First, ensure your CRM users have been configured to use the E-mail router.
- Go to CRM Online, select Settings, Administration, Users, select each User and update the E-mail Access Type Incoming and Outgoing fields under the E-mail Configuration section.
- Also ensure you’ve that you’ve selected the Approve E-mail button from the Ribbon.
Now we are ready to install and test the E-mail router.
- Download the Microsoft Dynamics CRM 2011 E-mail router and run the installation package. You can choose from a 32 or 64 bit package depending on your machine setup.
- Select to Install any prerequisites required.
- If you received the error message, the Microsoft Exchange Server MAPI subsystem is not installed on this system, please see this KB article for the fix.
- If you needed to apply the fix, select back once the fix is applied and select next. If no errors were encountered, select finish if the installation completed successfully. If the installation did not complete successfully, you need to resolve all error before proceeding.
- Next you’ll go to Start Programs, Microsoft Dynamics CRM 2011 E-mail Router and open the Configuration Manager.
- Remaining on the Configuration Profile tab, we’ll create the Incoming and Outgoing profile. You may not need both depending on how you plan to use the CRM E-mail router.
- Enter a Profile Name, Select Outgoing for the Direction and Select Exchange Online from the E-mail Server Type.
- Enter the Exchange Online Web Server URL which can be found in the Configure Microsoft Dynamics CRM Online E-mail router with Exchange Online article and documentation.
- Select Other Specified for the Access Credential, select Administrator for the User Type and enter the credentials of an Exchange Online Administrator account
- For Access Type, select the desired option.
- Note: the difference between Delegate Access and Send as Permission is Delegate Access causes E-mail to display “Sent on behalf of (specified CRM User)” and Send as Permission causes the E-mail to appear as though it was sent directly by the CRM User.
- Note:from the documentation: “The Send As” setting is currently not enabled by default for the Exchange Online Administrator. Please call Exchange Online Support to update the setting. This may change with future releases.
- Enter a Profile Name, Select Incoming for the Direction and Select Exchange Online from the E-mail Server Type.
- Enter the Exchange Online Web Server URL which can be found in the Configure Microsoft Dynamics CRM 2011 Online E-mail router with Exchange Online article and documentation.
- Select Other Specified for the Access Credential, select Administrator for the User Type and enter the credentials of an Exchange Online Administrator account.
- Select the Deployments Tab and select the New button from the right navigation menu.
- Select Microsoft Dynamics CRM Online and replace <organizationname> with Your Unique Org name.
- You can find your CRM Online Unique Org Name by going to Settings, Customization, Developer Resources and copy the value found under the first entry, “Organization Unique Name.”
- Do not replace the first part of the URL “https://dev.CRM.dynamics.com/” only replace this value <organizationname> with your unique organization name.
- Enter the Live ID in the User Name and related password that is used by a CRM User with the System Administration role to login into CRM Online. The user name should be in the same format as that used to log into CRM, firstname.lastname@example.org.
- Select the Incoming and Outgoing profile for each of the applicable Default configuration profiles.
- Select Ok and select the Publish button in the lower right-hand corner of the Window.
Test the CRM E-mail Router
- Go to the Users, Queues and Forward Mailbox tab and select the Load Data tab.
- If all configurations are correct to include passwords, you should see a list of your CRM users when the action is completed.
- Once the Users are loaded you can select the Test Access button from the right navigation menu.
If you plan to use the Forward Mailbox to manage incoming mail, select the Forward Mailbox tab and select the New button. Enter a Name for the forward mailbox, enter the mailbox address for the forward mailbox and select Incoming.
- If you choose to use a Forward mailbox, you’ll need to change each User record in CRM to Forward Mailbox for Incoming Configuration and Deploy the Forward Mailbox rule.
E-mail Router Service
In closing, the CRM E-mail router service plays an important role in ensuring the everything works as expected. Therefore, it is important that you set the logon for the E-mail router service to a logon that has sufficient rights. To do this, ensure that the user account that is running the CRM E-mail router service is a member of the Active Directory directory service PrivUserGroup security group.
I hope you found this article helpful.
Click here to learn more about Microsoft Dynamics CRM.