Quantcast
Channel: Fórum Exchange Server
Viewing all articles
Browse latest Browse all 11117

Set-WebServicesVirtualDirectory Object Could not be found

$
0
0

 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)




Viewing all articles
Browse latest Browse all 11117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>