Solved

Help in inputting the correct commands to get all web services working correctly

Posted on 2010-09-21
6
538 Views
Last Modified: 2012-05-10
HI,

I have been reading the various blogs available on getting web services working correctly and have a few issues.  I have 2 CAS servers and when I run the "test-outlookwebservices -identity user@domain.com | fl, I get some errors.

Below are the commands I have entered to get my web services working, but am not sure I have these correct.  Please look this over and let me know if I have them wrong.  For example, I am not sure if my external url should be mail or autodiscover.  Also, do i apply this to both CAS server.

set-Outlook provider -id exch -server: CASserver1
set-Outlook provider -id expr -server: CASserver1
set-Outlook provider -id web -server: CASserver1



1.Create SRV record in DNS, External and Internal.

2.Set-ClientAccessServer -identity CASserver1 -AutodiscoverServiceInternalUri http://mail.domain.com

3.Set-WebServicesVirtualDirectory -Identity "CASserver1\EWS (Default Web Site)” -InternalURL https://mail.domain.com/EWS/Exchange.asmx -ExternalURL https://mail.domaint.com/EWS/Exchange.asmx -BasicAuthentication:$true

4.Set-OABVirtualDirectory -Identity "CASserver1\OAB (Default Web Site)” -InternalURL https://mail.domain.com/OAB -ExternalURL https://mail.domain.com/OAB -RequireSSL:$true

5.Set-ActiveSyncVirtualDirectory -Identity "CASserver1\Microsoft-Server-ActiveSync (Default Web Site)” -ExternalURL https://mail.domain.com/Microsoft-Server-Activesync 

6.Enable-OutlookAnywhere -Server CASserver1 -ExternalHostname "mail.domain.com” -ClientAuthenticationMethod-c "Basic” -SSLOffloading:$False

Thanks
David
0
Comment
Question by:dross333
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 32

Accepted Solution

by:
endital1097 earned 500 total points
ID: 33728784
you can use this article to validate
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_3704-Troubleshooting-Outlook-Certificate-Errors.html

you run
get-clientaccessserver | set-clientaccessserver
get-webservicesvirtualdirectory | set-webservicesvirtualdirectory
etc.
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33728791
do not run those set-outlookprovider commands
those values should be null
0
 

Author Comment

by:dross333
ID: 33736573
Thanks for the info.  Great link.

I made all the changes as per the information and here are a few outstanding errors.

1. When I run test-outlookwebservices -identity user@domain.com | fl
Error is:  When contacting http://mail.domain.com/AutoDiscover/AutoDiscover.xml received the error The remote server returned an error: (403) Forbidden.

2. When I run the exchange connectivity test
Error; Attempting to test potential AutoDiscover URL https://domain.com/AutoDiscover/AutoDiscover.xml 
  Testing of this potential Autodiscover URL failed.

Im almost there and I appreciate your help.

Thanks
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:dross333
ID: 33736584
1 other I forgot.
When I run test-outlookwebservices -identity user@domain.com | fl

: EXCH EXPR  provider(s) not found. Use Get-OutlookProvider or New-OutlookProvider to view or create providers.
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33736628
1. check you "get-clientaccessserver | fl" results
it looks like you have http and not https, and the site requires SSL

2. does it pass a later autodiscover test, it won't pass them all but should pass at least one
0
 

Author Closing Comment

by:dross333
ID: 33739251
Very helpful and provided the needed information.  Thanks Much
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Domain on O365 6 56
EWS Throttling - The Budget for user X is locked out 8 68
Exchange 2016 4 65
active directory, exhange 12 62
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question