OWA redirect loop on owa/auth/errorFE.aspx?httpCode=404 with WSFederationAuthenticationModule SSO enabled

Hi,

We are trying to set a test environment for Exchange 2013 with our product. We stumbled upon these links which helped us setting up SSO with Exchange (owa and ecp) :
http://owaauth.com/identity-federation-for-owa-2010-sp1sp2-part-2-of-4/

http://www.theidentityguy.com/articles/2010/10/15/access-owa-with-adfs.html

After some research and dev we made a working PoC with the following user experience :

GET https://mydomain/owa -> Redirect to https://identityprovider/sso?[authParams]

User authenticate here

POST https://mydomain/owa /w AUTH_TOKEN -> Get into OWA or ECP

However we go some problems :

If the user have no mailboxes enabled, the server throw an 500 error (Microsoft.Exchange.Data.Storage.UserHasNoMailboxException) and try to redirect user on the error page. This action then throw a 404 and the server try to get the 404 page and throw a 404 because it doesn't find it.

I do not know why it fails to load the errors page.

We got another error too :

When the user has a mailbox not configured (no time zone and language), the auth process works, the user land on the languageselection.aspx page, choose the correct setting and then the server throw a 500 internal error. To manage this we must set the time zone with ECP and mailbox delegation.

Any ideas why ?

If you have any question, go ahead.



August 14th, 2015 2:42pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics