Exchange 2007 Autodiscover

I have recently completed a successful migration of multiple Exchange 2007 databases across to a new server in the same Exchange Organisation, the new server has the same roles installed as the original, which are as follows:-

- Hub Transport
- Client Access
- Mailbox

Everything is working fine, however when I run the test AutoConfiguration tool from Outlook I'm still receiving references to the old server, even though I have manually changed the paths using PowerShell. Here is the output:-

Internal OWA URL: https://internal_FQDN/owa - CORRECT
External OWA URL: https://external_FQDN/owa - CORRECT

Availability Service URL: https://old_server.domain.suffix/EWS/Exchange.asmx - INCORRECT
OOF URL: https://old_server.domain.suffix/EWS/Exchange.asmx - INCORRECT
OAB URL: https://external_FQDN/oab/<string> - CORRECT

I have set the new paths using the following commands:-

- Set-WebServicesVirtualDirectory
- Set-OwaVirtualDirectory
- Set-ClientAccessServer
- Set-OabvirtualDirectory

Some extra information which may be helpful, publicly available namespace for DNS, we own the domain. I have also imported a third-party SSL cert for the FQDN of our CAS server, however I now realise I probably should have included a SAN for Autodiscover but haven't done do.
Peter JonesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Adam BrownSr Solutions ArchitectCommented:
If you only have a single name certificate, you can use the SRV record method for assigning Autodiscover data. https://acbrownit.com/2012/12/ has info on how to do this.

In addition, you'll need to make sure to update the Active Directory SCP for both servers, which can be done by running
get-clientaccessserver | set-clientaccessserver -autodiscoverinternaluri "https://serverfqdn/autodiscover/autodiscover.xml

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Adam BrownSr Solutions ArchitectCommented:
Also, are you doing a Server 2007 to Server 2007 move or are you moving to a newer version? The availability service only exists in Server 2007 (It was replaced in 2010, but is available for backwards compatibility). You'll also want to make sure you run IISreset after making changes to the web service URLs. In addition, the OOF and Availability URLs will depend on where your mailbox is. If your mailbox is located on the old server, it will return the old server's URL.
0
Adam BrownSr Solutions ArchitectCommented:
small correction. The script above should be -internalserviceuri not -autodiscoverserviceuri
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Peter JonesAuthor Commented:
Thanks for the reply.

I have already issued this command, however the changes don't seem to be taking effect as it's still pointing to the old server. The database migration was a simple Exchange 2007 > Exchange 2007.

Just out of curiosity, the old Exchange server completely died, hence the migration, therefore it's currently offline. Will the SCP update with the old box offline? I can bring it back online temporarily if need be, however my plan is to decommission the box properly over the weekend. When I run
get-clientaccessserver

Open in new window

, I do receive a response advising old box is offline, however when I specify the identity of my new server, I obviously get a successful output.

I already have the SRV record in place, however my external DNS changes don't seem to have taken effect as of yet. The SRV re-direct method seems like an absolute ball-ache, I'm wondering whether I should re-issue SSL with autodiscover.FQDN as a SAN? Any thoughts?
0
Adam BrownSr Solutions ArchitectCommented:
If you can handle the increased costs for a SAN (not huge costs, but they are there), I'd go with that if you can. The old server's SCP won't update, but it doesn't really need to. If it's completely DOA, I'd recommend clearing it from the Exchange configuration if you can, though.
0
Peter JonesAuthor Commented:
Looks like patience was the winner in the end.

An IISRESET and the allowance of my public SRV DNS record to publish was the key. Both Exchange connectivity analyser & Autoconfiguration tests now pass.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.