Hi
Setup:
Exchange 2007 On Prem. Exchange 2013 CU2 Hybrid server (both CAS and Mailbox roles on 1 server). Office 365 setup ok. Dirsync and ADFS working ok. Few users migrated from on-prem to O365. Mail flow working OK.
The problem is this - as soon as an on prem user is migrated to O365, their autodiscover stops working against the 2013 Hybrid server. It now comes up with an HTTP Error 500. Running the testexchangeconnectivity tool returns a status of "OrganizationMailboxNotFound"
However - autodiscover for the same user against the 2013 Server on Port 444 (ie the Mailbox role) works perfectly. Copying the contents of the autodiscover folder from the MBX Clientaccess folder to the CAS Httpproxy folder then results in testexchangeconnectivity working perfectly again.
It is almost as if the 2013 CAS is not proxying the requests correctly for users with Office 365 mailboxes. On prem users work ok.
Any thoughts or ideas much appreciated.
Thanks for looking