question

MSheerazAnsari-2409 avatar image
0 Votes"
MSheerazAnsari-2409 asked ·

Exchange ActiveSync auto redirection issue

Hi Tech Community,


I recently setup Exchange Hybrid with on-premises Exchange 2013 with CU23 for a customer. Customer has on-premises Active Directory as abc.local and two primary SMTP domains as abc.com and xyz.com.


Email flow, mailbox move and rest of the things look pretty good but for users having SMTP abc.com can't get their mobile app auto redirected to Office 365 URL..... meaning, as soon as we move users to office 365 their mobile devices stop receiving emails while users who are using xyz.com domain they are not facing this issue regardless of Android or iOS device. Please note, these mobile devices are on latest OS and using native app and Microsoft Outlook app.


During troubleshooting, we found out that Exchange Target OWA URL which was setup by Hybrid Wizard is appearing as: http://oultook.office.com/xyz.com


Please suggest, what could be the issue? Thanks.

office-exchange-server-administrationoffice-exchange-server-connectivityoffice-exchange-hybrid-itpro
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thanks for your response. When we reconfigure mobile devices for Exchange Online users on Android or on iOS - it gets reconfigured with Office 365 but this is something we can't afford with large user base. I will share output of other required info shortly. Thanks.

0 Votes 0 ·
MSheerazAnsari-2409 avatar image
0 Votes"
MSheerazAnsari-2409 answered ·

Thanks for your suggestion, Well, it turns out to be "Default Email address policy" issue. What we observed - as soon as user is migrated to Exchange Online, on-premises user mailbox gets converted to "mail enabled user" …….. due to this, it was getting additional non-routable proxy address as Primary SMTP which was "abc.local"

Interestingly that default policy was not applied but in the background, it was getting applied. Following is reference article that may help someone. Thanks.

Reference link: https://msexperttalk.com/incorrect-email-address-applied-after-mailbox-migrated-to-office-365/

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MSheerazAnsari-2409 ,
I am glad to hear that this issue has been resolved.

Thank you so much for sharing the solution.



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·
LucasLiu-MSFT avatar image
0 Votes"
LucasLiu-MSFT answered ·

Hi @MSheerazAnsari-2409 ,
Are there any errors displayed?
Except for mobile devices, is there any problem with the migrated mailboxes using OWA or the Outlook client on the computer to log in?
1.Please reconfigure mailbox account on mobile device.

2.Confirm that ActiveSync is enabled for the user and the mobile device isn’t blocked by ActiveSync quarantine rule.

3.Test Exchange Online ActiveSync access externally by using Remote Connectivity Analyzer. If any error is displayed, please share with us. But please noted that covering your personal information.
Please refer to: Remote Connectivity Analyzer

4.Please run the following commands in on-premises Exchange to ensure that the “remoteroutingaddress” of migrated mailbox is corresponds to "Domainnames" in the organizational relationship.

 Get-Remotemailbox -Identity <mailbox> | fl RemoteRoutingAddress
 Get-OrganizationRelationship | FL Identity, domainnames

For more information: Exchange ActiveSync device settings with Exchange hybrid deployments

For the value of Exchange Target OWA URL, I checked the domain name configured by default with the same name as the local AD in the lab environment. But as long as your xyz.com domain has been verified in Office 365, I think this will not affect the use of mobile device.



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LucasLiu-MSFT avatar image
0 Votes"
LucasLiu-MSFT answered ·

@
Thanks for the information you provided.
According to my research on the test result with on-premises users. Please make sure that the account is already enabled inheritance. The picture below shows the enabled state. Are you providing complete test results? Is there any other error generation besides "FolderSync"?
75759-image.png

For the test results of Exchange online users, is this the result after reconfiguration? According to the result, the ActiveSync connection is successful.

In addition, reconfiguration of the account is a routine operation. If the user's connection issue can be solved successfully, it is recommended that you use this method.



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (42.6 KiB)
image.png (44.5 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.