[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 706
  • Last Modified:

change the internal autodiscover exchange2007

Hi Experts,

I wanne change the autodiscover internal url.
It is a sbs2008 installation, and by default, he set the internal url to 'sites'.
But I don't have this one on my certificate.  So I have problems with my adressbook etc.

I want to change it, but it get errors; I use this command:
Set-AutodiscoverVirtualDirectory -identity autodiscover (SBS Web Applications) -WindowsAuthentication $true -InternalURL https://mail.jfs.be/autodiscover/autodiscover.xml

And I get this error:

The term 'SBS' is not recognized as a cmdlet, function, operable program, or sc
ript file. Verify the term and try again.
At line:1 char:61
+ Set-AutodiscoverVirtualDirectory -identity autodiscover (SBS  <<<< Web Applic
ations) -WindowsAuthentication $true -InternalURL https://mail.jfs.be/autodisco

I don't get it.. someone has an idea?
  • 4
1 Solution
trivinAuthor Commented:
I already discoverd it, it's

Set-AutodiscoverVirtualDirectory -identity "autodiscover (SBS Web Applications)" -WindowsAuthentication $true -InternalURL https://mail.jfs.be/autodiscover/autodiscover.xml

with the brackets... grrr on the website from MS, they say nothing, about this brackets...
trivinAuthor Commented:
alright; but I still, get a certificate warning of 'sites' when I open outlook...
I want to change sites, but were...
I already did this also:
Set-WebServicesVirtualDirectory -identity EWS (Default Web Site) -InternalURL <https://<servername w/ fqdn>/EWS/Exchange.asmx
trivinAuthor Commented:
Everything is set to the new server; followed this commands;
Set-ClientAccessServer AutodiscoverServiceInternalUri  https://webmail.abc.com/autodiscover/autodiscover.xml
Set-WebServicesVirtualDirectory InternalUrl https://webmail.abc.com/ews/exchange.asmx 
Set-OabVirtualDirectory InternalUrl https://webmail.abc.com/oab 

But the identity must be enabled, otherwise it won;t work...

Only the unified messaging is still directing to the old site, is this important?

Only my offline adressbook wont work...
trivinAuthor Commented:
I fixed it, I have to enter an identity as well, and again within brackets;
Set-OabVirtualDirectory -identity oab "(SBS Web Applications)" InternalUrl https://mail.company.be/oab 

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now