The following table provides information and tips for entering basic Microsoft Exchange account settings in the Outlook Accounts preferences. Now, navigate to the Connection tab on the same page. Select the checkbox Connect to Microsoft Exchange using HTTP and then click on Exchange Proxy Settings option. In the opened Microsoft Exchange Proxy Settings page, type outlook.office365.com under Use this URL to connect my proxy server for Exchange field.
-->Exchange ActiveSync devices are automatically reconfigured when a mailbox is moved from an Exchange on-premises organization to Microsoft 365 or Office 365. Exchange ActiveSync will find the new mailbox location in Microsoft 365 or Office 365 and update its configuration to talk directly to Microsoft 365 or Office 365. The Exchange ActiveSync device won't try and contact the on-premises Exchange server after it's been successfully redirected to Microsoft 365 or Office 365. With only a few exceptions (more on that below), the user no longer needs to manually set up their device for mail to keep working.
If you want to move a mailbox to Microsoft 365 or Office 365, see Move mailboxes between on-premises and Exchange Online organizations in hybrid deployments.
For more information about hybrid deployments, see Exchange Server Hybrid Deployments.
To use automatic redirection, your on-premises servers need to be running the latest releases of Exchange 2010, Exchange 2013, Exchange 2016, or later. You also need to have used the Hybrid Configuration wizard to set up your hybrid deployment. The Exchange ActiveSync redirection functionality uses the Outlook on the web target URL that's set on the organization relationship object. This object is configured when the Hybrid Configuration Wizard is run.
If your organization meets the requirements listed above, mobile devices should automatically be redirected to Microsoft 365 or Office 365 when a user's mailbox is moved, without any additional configuration. For the best experience, make sure your users' mobile devices are running the latest versions of their operating systems and e-mail clients. Some mobile devices, such as those running the Android operating system, might take longer than expected to be redirected. Additionally, some devices might not correctly interpret the Exchange ActiveSync 451 redirection instructions sent by Exchange. For these devices, users will still need to manually reconfigure or recreate their email account on the device. If you have questions about whether a device supports Exchange ActiveSync 451 redirection, contact the device manufacturer.
Automatic Exchange ActiveSync redirection isn't supported in the following scenarios:
Microsoft Exchange Settings For Outlook 2010
Moving mailboxes from Microsoft 365 or Office 365 to an on-premises Exchange organization.
Moving mailboxes between on-premises Exchange organizations.
Moving mailboxes from Exchange 2007 servers to Microsoft 365 or Office 365.