Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2010-11-23
Medium Priority
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
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
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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why


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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
In this video we show how to create an email address policy 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…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

670 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