Link to home
Start Free TrialLog in
Avatar of schnazzer
schnazzer

asked on

OWA redirect issue

We have 2 CAS servers, one for parentdomain and one for subdomain and we have been transitioning from 2003 to 2010. When trying to log into https://webmail.subdomain.com, a message comes up:

"A temporary change has occurred that requires you to connect to a different server. To connect, click the button below. For security reasons, you'll be asked to enter your user name and password again."

this then redirects them to https://webmail.parentdomain.com

I'm at a loss as to where the redirect is coming from as this causes not only OWA login issues for the subdomain, but also issues connecting with a mobile device.

Since all of the mailboxes have now been moved to 2010, the legacy redirect should in theory not affect the login unless I'm mistaken.

Has anyone seen this come up in a setup with multiple domains?
Avatar of Jamie McKillop
Jamie McKillop
Flag of Canada image

Hello,

In EMC, expand Server Configuration - Client Access. Click on the CAS server you are connecting to then click on the Outlook Web App tab. Open the Properties page for the owa virtual directory. Make sure the external URL field contains https://webmail.subdomain.com/owa

-JJ
Avatar of schnazzer
schnazzer

ASKER

it does.. that's why I'm at a loss.

External for parentCAS   https://webmail.parentdomain.com/owa
external for subCAS        https://webmail.subdomain.com/owa

I'm also seeing similar behavior when setting up a mobile device with the subdomain. particularly on iPhone.. it seems to revert the server to webmail.parentdomain.com

scratching my head.
Are both CAS servers in the same Active Directory site?

-JJ
no, each is in its own site.

there is only 1 mailbox server though.
I'm assuming the mailbox server is in the same site as the parent CAS server. The client needs to connect to that CAS server to connect to the mailbox. The CAS server in the other site will redirect when the ExternalURL field is populated. If the ExternalURL field is blank the CAS server in the other site will proxy the connection instead, so delete the entry for the ExternalURL field and populate the internalURL field instead.

-JJ
yes, mailbox server is in the same site as parent CAS server.


OWA works fine if I use webmail.parentdomain.com

username:     subdomain\username

this method doesn't work with the mobile devices though it seems.
All your mobile devices will need to go through the CAS server that is in the same site as the mailbox server. Is there a reason you would want them going through the other CAS server?

-JJ
If I had the subdomain server in the same site as the mailbox server, would this behavior go away?

the original 2003 servers were in the same site. They were also all in one boxes though which the 2010 servers are not.
in response to your previous question,

the reason they go through the subdomain CAS is partially for legacy reasons. that domain uses    subdomain.parentdomain.com for web and mail services, not parentdomain.com
I can understand why you would want to use a different URL for webmail but the user wouldn't even see the mail server name in their mobile device unless then went into the settings.

All the CAS servers in the same site need to share the same URLs.

-JJ
right now I have things set as you had suggested. for the subdomain, I have the external url blank..

it appears android phones work, but for iphone users, the settings I'm using are..

server:    webmail.parentdomain.com

Domain: blank

Username:  username@subdomain.parentdomain.com

this then accepts the settings but upon entering email, it fails to connect to the server.


webmail.parentdomain.com users have no issues.


I should note: I have tried various entries to get it to work. none seem to.
Trying using the samaccount for the username and fill in the domain.

-JJ
I'm wondering, am I going to need to build a mailbox server for the subdomain site to get it to work properly?
I've tried just about every combination I could think of
Is the subdomain just an email subdomain or is this also an AD subdomain?

-JJ
It is a AD subdomain.  This is also the reason for the url
I'm not sure why your setup works for your Android phones but not your iPhones. It should work for both.

-JJ
yeah, its really got me scratching my head.

the webmail url to parent domain we can live with... but something is funky with the subdomain.

I should note that when I enter the info on iPhone, it puts a checkmark next to each field.. as if it accepts the settings.

Its not until you try going into the mail account that I get the message that it is unable to connect to the server.
ASKER CERTIFIED SOLUTION
Avatar of hecgomrec
hecgomrec
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial