dross333
asked on
Help in inputting the correct commands to get all web services working correctly
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 -AutodiscoverServiceIntern alUri http://mail.domain.com
3.Set-WebServicesVirtualDi rectory -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-ActiveSyncVirtualDir ectory -Identity "CASserver1\Microsoft-Serv er-ActiveS ync (Default Web Site)” -ExternalURL https://mail.domain.com/Microsoft-Server-Activesync
6.Enable-OutlookAnywhere -Server CASserver1 -ExternalHostname "mail.domain.com” -ClientAuthenticationMetho d-c "Basic” -SSLOffloading:$False
Thanks
David
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 -AutodiscoverServiceIntern
3.Set-WebServicesVirtualDi
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-ActiveSyncVirtualDir
6.Enable-OutlookAnywhere -Server CASserver1 -ExternalHostname "mail.domain.com” -ClientAuthenticationMetho
Thanks
David
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
ASKER
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.
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.
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
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
ASKER
Very helpful and provided the needed information. Thanks Much
those values should be null