Hybrid Exchange 2013 with Legacy Exchange 2007 published in TMG

I have a site with Legacy Exchange 2007 and Exchange 2013 as a hybrid server for mailboxes connected in Office 365.

We have only migrated some mailboxes as we use features that restrict Exchange 2007 and we need to use.

I am trying to figure out the rules needed to publish Exchange Online and Exchange 2007.  Previously we were using Forms for Exchange 2007 and I have it setup with a rule that has a web listener with forms and basic authentication.  Can someone direct me to how this should now be setup with Exchange 2013 as I am seeing that you should point at the Exchange Hybrid 2013 and it will redirect 2007 this does work internally just not through TMG obviously because of forms authentication.

Also how does the rule get create to redirect the user to Exchange online as our Federated server is what gets loaded when you go directly microsoftonline and type the domain user in it sends you to the federated server to authenticate which works at logging you into Exchange online.

Much appreciated
ITSystemSolAsked:
Who is Participating?
 
Vasil Michev (MVP)Connect With a Mentor Commented:
So you have AD FS as well? I am assuming you have published it already and is working as expected?

Exchange Online uses basic auth to authenticate on behalf of the user. Obviously you must pass-thru these requests at the TMG, as it cannot use Forms auth. Here are the corresponding endpoints:

/adfs/services/trust/2005/usernamemixed/
/adfs/services/trust/2005/windowstransport/
/adfs/services/trust/

Here is some more detailed info:

http://blog.auth360.net/2011/09/03/tmg-pre-authentication-options-with-office-365/
0
 
ITSystemSolAuthor Commented:
What about for users still on-premise, I always get the access denied.

Our scenario is Legacy Exchange 2007 with Exchange 2013 hybrid and a number of our users in Exchange online,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.