Select Page

I recently had a requirement where we had a few hundred mailboxes that needed to be enabled for Forward Mailbox on the email router in a CRM 2011 deployment, a task that may sound daunting were it not for the “Rule Deployment Wizard”, with which we can bulk deploy Exchange Rules to enable to forwarding of all emails as attachments to the Forward Mailbox.

However, as with all things Email Router, it is not always as simple as one would hope. There are quite a few dependencies, mostly around permissions (credentials, relay access etc.) that make the email router the subject of many a consultants frustrations.

In this instance I ran into an issue where the Rules would not deploy because the wizard said “there is no such object on the server”

Rule Deployment Wizard

Rule Deployment Wizard

There are apparently quite a few reasons why this could occur, I found a really good post on MSDN Blogs which gives some of the scenarios where this error can occur and some really good troubleshooting tips using Network Monitor and Process Monitor

It turns out there is an additional scenario, which doesn’t come up easily when searching, as it makes reference to working with an Exchange 2003 and Exchange 2010 mixed environment, and while this deployment only appeared to be Exchange 2010, it was migrated from Exchange 2003 and some legacy components that still caused the issue.

This issue has been addressed in CRM 2011 Update Rollup 11 and requires manual enabling via a registry key. The fix allow the setting of the Exchange Admin account name.

1. Go to Start, click Run, and type regedit

2. Navigate to HKEY_Local_Machine\Software\Microsoft\MSCRM Email

3. Set the value of the ExchangeAdminAccountName property to the SAMAccountName property of the Exchange Admin Account on the computer that has the Rule Deployment Wizard installed.

 

The official Microsoft KB article is 2820838