Set-WebServicesVirtualDirectory Object Could not be found
Hi, Trying to configure Autodiscover with instructions from http://technet.microsoft.com/en-us/library/bb201695(EXCHG.80).aspx Enable-OutlookAnywhere and Set-OAB commands have worked fine however when running Set-WebServicesVirtualDirectory and also Set-UMVirtualDirectory we get the following error. set-WebServicesVirtualDirectory -identity "CAS\EWS (Default Web Site)" -externalurl https://domain.com/EWS/Exchange.asmx Set-WebServicesVirtualDirectory : The operation could not be performed becauseobject 'CAS\EWS (Default Web Site)' could not be found on domain controller 'dc.domain.local'.At line:1 char:32 + set-WebServicesVirtualDirectory <<<< -identity "CAS\EWS (Default Web Site)" -externalurl https://domain.com/EWS/Exchange.asmx If I run "Get-WebServicesVirtualDirectory then nothing comes back (just goes straight to the next line waiting on more commands). Could anyone please advise what else I could do or how I can fix this? Thanks
March 3rd, 2011 11:23am

"CAS\EWS (Default Web Site)" - do you have a server named CAS? do you have a virtual directory called "EWS Default Web Site)" on server named CAS? -externalurl https://domain.com/EWS/Exchange.asmx - have you replaced that with proper url for your installation ? With kind regards Krystian Zieja http://www.projectnenvision.com Follow me on twitter My Blog
Free Windows Admin Tool Kit Click here and download it now
March 3rd, 2011 2:42pm

Yes, I removed any reference to the server/domain from the post for security (don't want anyone getting the domain name and then trying to hack the mail server afterall). Have also ran the New-WebSrvicesVirtualDirectory command and it returned no errors.
March 3rd, 2011 5:30pm

Hi, Does the error message occur now after creating a new Web Services Virtual Directory? At this stage, please run the following cmdlet to check Web Services Virtual Directory settings. Get-WebServicesVirtualDirectory -Identity EWS(default Web site) Thanks. NovakPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 7th, 2011 12:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics