Trying to follow MS KB 940726 about Outlook 2007 Certificate errors and getting errors

Posted on 2010-11-23
Last Modified: 2012-05-10
I enter this:
Set-WebServicesVirtualDirectory -Identity "server\EWS (Default Web Site)" -InternalUrl

I get this:
Set-WebServicesVirtualDirectory : The operation could not be performed because
object 'server\EWS (Default Web Site)' could not be found on domain controller
At line:1 char:32
+ Set-WebServicesVirtualDirectory  <<<< -Identity "server\EWS (Default Web Site
)" -InternalUrl
LVL 31

Expert Comment

ID: 34198802
Is "server" the name of your server or have you changed it for our benefit?

Expert Comment

ID: 34198813
LVL 31

Expert Comment

ID: 34198814
Get-webservicesvirtualdirectory |fl name
To get the name you should be running against
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Accepted Solution

TMTECHCLEVELAND earned 0 total points
ID: 34199296
I have found a different solution than what is referenced in the KB, and it does not require using the command shell.

By going into the Exchange Management Console\Client Access and then OAB, OWA & Activesync tabs, I changed the internal & external URLs on each.

Problem solved.
LVL 31

Expert Comment

ID: 34199399
Thanks for the update and your solution
LVL 13

Expert Comment

ID: 34200671
@TMTECHCLEV: Just curious and wanted to know how did u change the URL's for rest of the virtual directories i.e. Autodiscover, EWS?

OWA, Activesync - internal and external URL's will not cause certificate errors in OL.

OAB - It will cause cert related errors and can be changed from EMC.

Autodiscover/EWS - ??

Author Closing Comment

ID: 34224643
I found a simpler way than the KB.

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

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…
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

763 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