Cannot connect to Exchange 2007 (SBS 2008) with Outlook 2011 for Mac
We have a big issue at a customer where we have a number of Windows PC's en two iMac. We have successfully installed Outlook on the PC's to connect with the Exchange server. The brandnew Outlook 2011 on the Macs cannot be successfully set up. They keep coming back with username/password issues, although these combinations work (confirmed in OWA and on PC's). We have tried lookin at the autodiscover issue, and can confirm that nslookups on autodiscover.domain.com (using domain as a placeholder for the actual value at the customer), points to the ip address of the exchange server on the local network. We looked at some suggestions concerning EWS security settings, but they seem to be OK. When connecting to https://server FQDN/EWS/Exchange.asmx a username/password box comes up.None of the combinations that we know are valid, are accepted. What could be the issue, and how do I test it?
March 29th, 2011 12:06am

Hello, Yes, it seems to be the issues with the EWS VD. Please also try access the EWS VD on the CAS server by: https://localhost/EWS/exchange.asmx. Does it work? If it still does not work, please check the authentication method on the EWS Virtual Directory and make sure only the “Windows Authentication” is enabled and other authentications are disabled. Thanks, Simon
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2011 6:18am

Performing https://localhost/EWS/exchange.asmx on the SBS 2008 server itself, gave the same username/password issue where no combinations are found valid. Clicking in the left pane on the EWS site entry in IIS Manager, and asking to see virtual directories (complete right hand side) brings up a sheet with no entries at all. I am starting to wonder if something is wrong in the EWS setup. How do I check this?
March 29th, 2011 9:07am

Hello, We can use Remove-WebservicesVirtualDirectory and New-WebservicesvirtualDirectory to rebuild the EWS VD to restore it to its default settings. Here is the detailed information about how to properly run these command. Remove-WebServicesVirtualDirectory http://technet.microsoft.com/en-us/library/bb124231(EXCHG.80).aspx New-WebServicesVirtualDirectory http://technet.microsoft.com/en-us/library/bb125176(EXCHG.80).aspx Make sure the web site name is right when you run the command. I assume it should be “SBS Web Apps” Thanks, Simon
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2011 9:41pm

Simon, Thanks for the feedback. I am a little bit scared to apply these command, because I do not want to "break" the server. Reading though the links you sent, it looks like the Remove-WebservicesVirtualDirectory command would apply to the whole of SBS Web Applications (which is the name of the thing you were hinting at). Would that make OutlookWebAccess go down if I applied it wrongly? In a nutshell, looking at the documentation, the two commands for me should say: Remove-WebServicesVirtualDirectory -Identity BFDSBS\SBS Web Applications followed by: New-WebServicesVirtualDirectory -Websitename "remote.bfdfilm.com" -ExternalUrl https://remote.bfdfilm.com/webservices.aspx Where: BFDSBS is the name of the server on which this all runs SBS Web Applications the site in IIS under which EWS appears remote.bfdfilm.com and https://remote.bfdfilm.com/webservices.aspx : i just replace the contose example with the proper settings for this server I am correct?Wouter Pinkhof PINKH bvba, PC-Hulp.com
March 30th, 2011 9:12am

Hello, I am not sure if you have made any redirection on the Web Applications. A standard EWS url is like “https://xxxx/EWS/Exchange.asmx” If you are not sure about the ExternalUrl, we can use the following command to see the current settings: Get-WebServicesVirtualDirectory |FL The detailed commands are: Remove-WebServicesVirtualDirectory “BFDSBS\EWS (SBS Web Applications)” New-WebServicesVirtualDirectory –WebSiteName “SBS Web Applications” -ExternalUrl https://remote.bfdfilm.com/EWS/Exchange.asmx Thanks, Simon
Free Windows Admin Tool Kit Click here and download it now
March 30th, 2011 9:45pm

Hi Simon, Looks like I am getting close to finding out what is wrong. On your command Get-WebServicesVirtualDirectory |FL I get the following reply: Get-WebServicesVirtualDirectory : Unable to create Internet Information Service (IIS) directory entry. Error message is: Access is denied. HResult = -2147024891. At line:1 char:32 + Get-WebServicesVirtualDirectory <<<< |FL Any idea what is means? Either the directory is missing, or we cannot access it. I will be running a special backup tonight before considering applying your commands. WouterWouter Pinkhof PINKH bvba, PC-Hulp.com
April 1st, 2011 10:12am

Hi Simon, Looks like I am getting close to finding out what is wrong. On your command Get-WebServicesVirtualDirectory |FL I get the following reply: Get-WebServicesVirtualDirectory : Unable to create Internet Information Service (IIS) directory entry. Error message is: Access is denied. HResult = -2147024891. At line:1 char:32 + Get-WebServicesVirtualDirectory <<<< |FL Any idea what is means? Either the directory is missing, or we cannot access it. I will be running a special backup tonight before considering applying your commands. Wouter Update from today: Both commands you suggested came up with access denied errors: Here's the data: [PS] C:\Windows\System32>Remove-WebServicesVirtualDirectory "BFDSBS\EWS (SBS Web Applications)" Confirm Are you sure you want to perform this action? Removing Web Services virtual directory "BFDSBS\EWS (SBS Web Applications)". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):y Remove-WebServicesVirtualDirectory : Deleting virtual directory 'IIS://BFDSBS.b fd.local/W3SVC/3/ROOT/EWS' on 'BFDSBS' failed. At line:1 char:35 + Remove-WebServicesVirtualDirectory <<<< "BFDSBS\EWS (SBS Web Applications)" [PS] C:\Windows\System32>New-WebServicesVirtualDirectory -Websitename "SBS Web A pplications" -ExternalUrl https://remote.bfdfilm.com/EWS/Exchange.asmx New-WebServicesVirtualDirectory : Unable to create Internet Information Service s (IIS) directory entry. Error message is: Access is denied. . HResult = -2147024891. At line:1 char:32 + New-WebServicesVirtualDirectory <<<< -Websitename "SBS Web Applications" -Ex ternalUrl https://remote.bfdfilm.com/EWS/Exchange.asmx [PS] C:\Windows\System32> Wouter Pinkhof PINKH bvba, PC-Hulp.com
Free Windows Admin Tool Kit Click here and download it now
April 1st, 2011 5:04pm

Have we had a chance to try rebuilding the EWS VD? Thanks, Simon
April 4th, 2011 2:59am

Hi Simon, I was under the impression that the commands you proposed (and that I tried) were about rebuilding the EWS VD. Have I missed something? WouterWouter Pinkhof PINKH bvba, PC-Hulp.com
Free Windows Admin Tool Kit Click here and download it now
April 5th, 2011 6:52am

Did a Best practice analysis. Showed Exchange 2007 SP was not yet installed (funny, why does that still not come automatically with Windows update). Downloaded and installed it. Now the following command comes back with xml data: https://localhost/EWS/exchange.asmx. Will try to set up Outlook 2011 again.Wouter Pinkhof PINKH bvba, PC-Hulp.com
April 11th, 2011 3:36pm

On Mon, 11 Apr 2011 19:30:25 +0000, wouterpinkhof wrote: >Did a Best practice analysis. Showed Exchange 2007 SP was not yet installed (funny, why does that still not come automatically with Windows update). Exchange service packs usually (but not always) involve schema changes. That's not something that can be done without elevated privileges such as membership in the Schema Admins group and possibly registry modifications to allow schema changes. You really don't want to have that sort of stuff happening without your knowing about it and planning for such changes. >Downloaded and installed it. Now the following command comes back with xml data: https://localhost/EWS/exchange.asmx. Will try to set up Outlook 2011 again. >Wouter Pinkhof PINKH bvba, PC-Hulp.com --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
April 11th, 2011 5:52pm

Tested Outlook 2011 in connection with Exchange 2007, now leverl SP3. Good news: works like a charm. Problems solved.Wouter Pinkhof PINKH bvba, PC-Hulp.com
April 14th, 2011 4:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics