Forum Discussion
evandromalmsteen
Jan 17, 2025Copper Contributor
Automatic redirection of Exchange ActiveSync On-Pre
I am migrating mailboxes between on-premises Exchange forests using ADMT automated calls in SC Orchestrator 2019.
- Prepare-MoveRequest
- Migrate-ADMTUser
- MoveMailbox
- Set-Resources
Has anyone already done the automatic redirection of Exchange ActiveSync in the following scenario:
Moving mailboxes between on-premises Exchange organizations.
I know the link below says it is not possible, but I would like to know if anyone has overcome this limitation?
https://learn.microsoft.com/pt-br/exchange/activesync-settings
- Andres-BohrenSteel Contributor
Hi evandromalmsteen
When Moving from Exchange OnPrem to Exchange Online the Autodiscover Request is answered with a RedirectAddr Attribute.
After the Cutover the Mailbox has set a TargetAddress Attribute. This Email Adress will be given back via Autodiscover to the Active Sync Client.
Now it depends on the Active Sync Client if he "understands" what to do and to do a Autodiscover Request against the Emailaddress received by the RedirectAddr Attribute.<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<Account>
<Action>redirectAddr</Action>
<RedirectAddr>email address removed for privacy reasons</RedirectAddr>
</Account>
</Response>
</Autodiscover>
Kind Regards
Andres- evandromalmsteenCopper Contributor
I would make this change in the files in these directories below, is there any information somewhere so I can read and do some tests?
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Autodiscover\web.config
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Sync\web.config
C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\ews\web.config- Andres-BohrenSteel Contributor
Hi evandromalmsteen
It's not a config you can change.The XML i've showed ist the Autodiscover answer received by the Client.
https://blog.icewolf.ch/archive/2020/05/26/exchange-autodiscover-request-with-postman/
Kind Regards
Andres