We help IT Professionals succeed at work.

All outlook clients can't connect to exchange

browningit
browningit asked
on
183 Views
Last Modified: 2014-11-25
Hi all,

I spent the weekend fixing some major IIS issues and Exhange OWA issues for a client.  They had removed IIS compeltely from the server, and I re set it up and made sure OWA was working for all users.  EMC and EMS at one point wouldn't connect to the (local) SBS server.  All that has been resolved.  OWA is working 100%.

What the issue is right now, is none of the outlook clients are working.  Setting them up resolves the local server instantly, but when they try to load I get prompted for the local account credentials.  Tried running different profiles, different users, etc.  Tried resetting permissions and passwords.  I get "Cannot start Microsoft....You do not have permission to log on".

Let me know if you need more details!
Comment
Watch Question

Jasvindar SinghOffice 365 Administrator

Commented:
In Exchange 2010, all kind of Client request - OWA, ActiveSync, Outlook Anywhere and Outlook inside the domain is processed by IIS on the server.

As you mentioned that you re-installed IIS, which means RPC virtual directory would be missing from IIS.

Because RPC virtual directory is not present by default when we install Exchange Server.

To resolve the issue,

a. Go to Server manager => Features => Install RPC over HTTP proxy feature.

Post it is installed, you should be able to view RPC virtual directory in IIS, make sure Basic Authentication is set for it.

b. Now make sure, in EMC => Server Configuration => Client Access => Server Name => Properties => Outlook  Anywhere tab => Outlook anywhere is enabled.

For External Host Name: mail.domain.com (basically your OWA URL) and authentication should be BASIC.

c. Services.msc => Restart "Microsoft Exchange Service Host" service.

Post performing above steps, https://testconnectivity.microsoft.com/ => Exchange Server tab => Outlook Connectivity test => Provide credential of any of the user => And make sure "Use Autodiscover to detect server settings" radio button is checked.

If the above test passes then we are good to go.
browningitSysadmin

Author

Commented:
RPC HTTP was installed over the weekend, I verified it just not it's already in the feature list.

EMC shows OA is enabled, security is set properly to your notes.

Rebooted the service for fun, tried again, no love.

My connectivity tests are as follows:

"e Microsoft Connectivity Analyzer is testing Exchange ActiveSync.
 	The Exchange ActiveSync test failed.
 	
	Additional Details
 	
Elapsed Time: 6564 ms.
 	
	Test Steps
 	
	Attempting the Autodiscover and Exchange ActiveSync test (if requested).
 	Testing of Autodiscover for Exchange ActiveSync failed.
 	
	Additional Details
 	
	Test Steps
 	
	Attempting each method of contacting the Autodiscover service.
 	The Autodiscover service couldn't be contacted successfully by any method.
 	
	Additional Details
 	
	Test Steps
 	
	Attempting to test potential Autodiscover URL https://:443/Autodiscover/Autodiscover.xml
 	Testing of this potential Autodiscover URL failed.
 	
	Additional Details
 	
	Test Steps
 	
	Attempting to resolve the host name  in DNS.
 	The host name resolved successfully.
 	
	Additional Details
	Testing TCP port 443 on host mydomain.com to ensure it's listening and open.
 	The port was opened successfully.
 	
	Additional Details
	Testing the SSL certificate to make sure it's valid.
 	The SSL certificate failed one or more certificate validation checks.
 	
	Additional Details
 	
	Test Steps
	Attempting to test potential Autodiscover URL https://autodiscover.r:443/Autodiscover/Autodiscover.xml
 	Testing of this potential Autodiscover URL failed.
 	
	Additional Details
 	
	Test Steps
 	
	Attempting to resolve the host name autodiscover..com in DNS.
 	The host name resolved successfully.
 	
	Additional Details
	Testing TCP port 443 on host autodiscover..com to ensure it's listening and open.
 	The specified port is either blocked, not listening, or not producing the expected response.
 	 Tell me more about this issue and how to resolve it
 	
	Additional Details
 	
A network error occurred while communicating with the remote host.
Elapsed Time: 27 ms.
	Attempting to contact the Autodiscover service using the HTTP redirect method.
 	The attempt to contact Autodiscover using the HTTP Redirect method failed.
 	
	Additional Details
 	
	Test Steps
 	
	Attempting to resolve the host name autodiscover..com in DNS.
 	The host name resolved successfully.
 	
	Additional Details
	Testing TCP port 80 on host autodiscover..com to ensure it's listening and open.
 	The specified port is either blocked, not listening, or not producing the expected response.
 	 Tell me more about this issue and how to resolve it
 	
	Additional Details
	Attempting to contact the Autodiscover service using the DNS SRV redirect method.
 	The Microsoft Connectivity Analyzer failed to contact the Autodiscover service using the DNS SRV redirect method.
 	
	Additional Details
 	
	Test Steps
 	
	Attempting to locate SRV record _autodiscover._tcp.in DNS.
 	The Autodiscover SRV record wasn't found in DNS.
 	 Tell me more about this issue and how to resolve it
 	
	Additional Details
 	
Elapsed Time: 97 ms."

Open in new window


While not running perfectly, I don't see why it would cause local issues in that case, but not OWA issues.  Just to reiterate, OWA is 100%.  That's the part that is baffling (and I haven't looked at the connectivity test yet at this point, this is news to me that some parts are failing).  Ideas on what to trudge forward with?
Jasvindar SinghOffice 365 Administrator
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
browningitSysadmin

Author

Commented:
Created a new SRV record, which was missing in the DNS on the local server.  Still have the same failures in the test connectivity for SRV record.  Restarted the services.  Restarted IIS.  Check client outlook, issue persistent.

Any other ideas?
browningitSysadmin

Author

Commented:
Just noted that when I ran Get-CAS internaluri I returned a null result, so I am checking that their mail server is configured correctly with some of these commands:

http://mshiyas.wordpress.com/2010/07/06/how-to-configure-and-verify-autodiscover-for-exchange-2007-and-2010/

If you have other ideas I should track down outside of this, let m eknow,
browningitSysadmin
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
browningitSysadmin

Author

Commented:
In fact, if I run:

Get-AutodiscoverVirtualDirectory "SERVERNAME\*" | fl

It shows nothing on the internal or external URL.  Why?!?  I've told it to set each, but it's not listening.
browningitSysadmin

Author

Commented:
But then I found this command:

Get-ClientAccessServer casserver1 | fl *InternalUri*

Which displays the proper location. So now I am back at square one.  Help!
browningitSysadmin

Author

Commented:
I've set up an outlook profile this time around using the IP of the serve rinstead of the FQDN.  On saving and exiting, I now get "cannot start microsoft outlook cannot open the outlook window the set of folders cannot be opened microsoft exchange is not available. either there are network problems or the exchange server is down for maintenance"

I ran and nslookup on a client computer internally, and they still return the external IP for autodiscover.domain.com

Ideas?
Gareth GudgerSolution Architect
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Sysadmin
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Gareth GudgerSolution Architect
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2014

Commented:
Glad you got it resolved. Yep. I was just going through your EXRCA report for earlier and noticed the SSL was wrong.
browningitSysadmin

Author

Commented:
Noted a misconfigured item in the services on my own, outside of what was being discussed.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.