Hi,
I'm in the middle of a mail migration from Exchange 2013 to Exchange 2019 and I'm facing some autodiscover issues.
Other than those "learn to configure your virtual directories" questions, my autodiscovery setup is working just fine, but the retunred url's to be used by clients arn't the URL's I expect.
Layout:
My current environment is a Hybrid environment with 3 actors in play: Office 365, my on-prem Exchange 2013 and my on-prem Exchange 2019. Nothing out of the ordinary. My goals is to phase out my 2013 server within a month.
The scenario where I spot some problems:
To make my question as straightforward as possible and prevent all kinds of AD discovery remarks, this is the test setup:
- A fresh installed Windows 10 computer
- PC is no domain member
- PC is located at a remote location connecting to our servers via internet
- Public autodiscover exists and is redirected to Exchange 2019 server
- Get-OutlookProvider shows msstd's pointing to Exchange 2019 server
- Testuser's mailbox is located on the Exchange 2019 server
When I run an autodiscover test on the test computer for my test user, autodiscover replies to use the Exchange 2013 url to open the mailbox and not the Exchange 2019 url.
When opening Exchange 2013/owa, I can connect to the mailbox while maintaining on the Exchange 2013 URL
When opening Exchange 2019/owa, I can connect to the mailbox while maintaining on the Exchange 2019 URL
So everything seems to be proxying anyway, but how can I tell autodiscover that I want my url for Exchange 2019 mailboxes to be the url directly to Exchange 2019.
Autodiscover V2 API problem:
When trying to use the api via autodiscover2 for my Teams calendars, I end up with a real problem. Because all my autodiscover requests to Exchange 2019 persistently return my Exchange 2013 url's to be used!
So it returns Exchange 2013/api , but the API virtual directory was only introduced in Exchange 2016!
That url simply doesn't exist, returning a 404 and resulting in teams calendars not working.
The big question:
Does anybody know how I can change the priority in server URL's returned by autodiscovery?
I know quickly decomissioning my Exchange 2013 wil automatically resolve my problem, but there should be a way to change this behaviour in advance???
Anyone?