am attempting to set the internal URL on the exchange server to match the new external URL that is mentioned on our certificate.
---
[PS] C:\Windows\System32>Set-ClientAccessServer -Identity **** -AutodiscoverSe
rviceInternalUri https://***/autodiscover/autodiscover.xml
Running this command works perfectly fine.
----
However, when I run the other two I need:
C:\Windows\System32>Set-WebServicesVirtualDirectory -Identity "***\EWS (
Default Web Site)" -InternalUrl https://***/ews/exchange.asmx
and
[PS] C:\Windows\System32>Set-OABVirtualDirectory -Identity "***\oab (Default
Web Site)" -InternalUrl https://***/oab
----
They give the following errors respectively:
Set-WebServicesVirtualDirectory : The operation could not be performed because
object '****\EWS (Default Web Site)' could not be found on domain controller
At line:1 char:32
+ Set-WebServicesVirtualDirectory <<<< -Identity "***\EWS (Default Web Site
)" -InternalUrl https://***/ews/exchange.asmx
----
Set-OabVirtualDirectory : The operation could not be performed because object '
***\oab (Default Web Site)' could not be found on domain controller
(Refers to the same server as above)
At line:1 char:24
+ Set-OABVirtualDirectory <<<< -Identity "***\oab (Default Web Site)" -Inte
rnalUrl https://***/oab
-----
Note, I am following the Microsoft KB article: http://support.microsoft.com/kb/940726 to fix an issue with a certificate warning.
efine
using administrator run get-WebServicesVirtualDirectory |fl name
Name : EWS (Default Web Site)