Avatar of WINBRO
WINBRO
Flag for Cyprus asked on

Dynamics CRM 2011 E-Mail Router & Exchange 2010 Cluster Error “Incoming Status: Failure - No results were found”

I have what seems a common problem setting up the router to handle incoming mail, but after spending a couple of days implementing the suggestions I ran out of ideas.

The situation is as follows:

All operating systems Win2k8R2 64 bit.

Domain user names are @domain.local

Mail addresses are @domain.com

Dynamics CRM 2011 installed on server CRM. Exchange server 2010 cluster consisting of 2 mbx servers and 2 cas servers.

Dynamics CRM E-mail Router installed on cas1 server, running as local system.

Service domain account added to PrivUserGroup in AD. cas1 & cas2 servers added to PrivUserGroup in AD

Service domain account added to CRM as full read-write System Administrator.

Management Role Assignment given to service account to impersonate all account in the domain.

Global Address Book membership checked for the accounts of interest.

Access to GAB from service account checked.

Logged in successfully to both domain & Outlook with all accounts of interest.

I am getting "Incoming Status: Failure: No results were found." error when i try to test access from e-mail router config tool, with the following exception in event log:

An error occurred while opening mailbox account@domain.com.
   Microsoft.Crm.Tools.Email.Providers.EmailException: No results were found.
   at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.IsCurrentUser()
   at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.GetService()
   at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.OpenMailbox()
   at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.InitExchangeConnector()
   at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.OpenMailbox()
   at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()

When I check the IIS log on cas1 I see that the respective request contains:

2011-09-30 14:19:15 192.168.1.128 POST /EWS/Exchange.asmx ;RC:a744e288-62f0-44bf-b506-
    54f0753fa283;Init>>Conn:0,HangingConn:0,AD:30000/30000/0%,CAS:54000/54000/0%,AB:30000/30000/0%,RPC:36
000/36000/0%,FC:1000/0,Policy:DefaultThrottlingPolicy_a90f4c5f-dfd1-4e99-8a1f-
3cf7adb8ffa3,Norm,Sub:5000/0;ErrorCode=ErrorNameResolutionNoResults;[C]
Queues:0msec/Execute:51.8605msec;SoapAction=m:ResolveNames;Version=1;RpcC=2;RpcL=3;LdapC=1;LdapL=15;E
nd(54.796ms)
 >>Conn:1,HangingConn:0,AD:30000/29986/1%,CAS:54000/53948/1%,AB:30000/30000/0%,RPC:36000/35998/1%,FC:1

000/0,Policy:DefaultThrottlingPolicy_a90f4c5f-dfd1-4e99-8a1f-3cf7adb8ffa3,Norm[Resources:(Mdb)WINDDB
(Health:-1%,HistLoad:0),(DC)DCSRV2.domain.local(Health:-1%,HistLoad:0),],Sub:5000/0; 443
DOMAIN\serviceaccount 192.168.1.120 Mozilla/4.0+
(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.237) 200 0 0 91

So I understand there is a name resolution issue, but how do I proceed from here?

BTW, Exchange hosts around 10 different Accepted Domains, but the one of interest is set as default one.

Thanks.


Microsoft DynamicsExchange

Avatar of undefined
Last Comment
WINBRO

8/22/2022 - Mon
stefor

Have you tried running the E-mail router as a service account from your Active Directory with the impersonate-rights of everyone.

I set this up for a client quite a while ago, can't recall exactly how tho. Usually I try having a service account running these kinds of applications as I usually don't want to add computers to my Exchange administrative groups.

When running this as Local System and you've installed it on one of the CAS servers, you might even be experiencing issues where Exchange Servers have deny access on Objects in your Exchange enviroment.
WINBRO

ASKER
manage to by pass the above kind of and now getting the error

Email Router Incoming Status: Failure - The request failed with HTTP status 403: Forbidden

which is strange  because i have given full access for the account i have in the incoming and outgoing and the deployment.
stefor

have a look at http://technet.microsoft.com/en-us/library/dd297964.aspx for a little read on throttling policies. It might be that the router does too many requests in a short time and get locked out.

Try creating a new throttling policy without any limits and assign it to the account you have configured the routers use.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
WINBRO

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
WINBRO

ASKER
The reason for selecting my answer as a solution was that after keep troubleshooting and asking many people i found my problem .