[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 912
  • Last Modified:

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?
0
schnazzer
Asked:
schnazzer
  • 10
  • 8
1 Solution
 
Jamie McKillopCommented:
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
0
 
schnazzerAuthor Commented:
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.
0
 
Jamie McKillopCommented:
Are both CAS servers in the same Active Directory site?

-JJ
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
schnazzerAuthor Commented:
no, each is in its own site.

there is only 1 mailbox server though.
0
 
Jamie McKillopCommented:
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
0
 
schnazzerAuthor Commented:
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.
0
 
Jamie McKillopCommented:
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
0
 
schnazzerAuthor Commented:
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.
0
 
schnazzerAuthor Commented:
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
0
 
Jamie McKillopCommented:
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
0
 
schnazzerAuthor Commented:
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.
0
 
Jamie McKillopCommented:
Trying using the samaccount for the username and fill in the domain.

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

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

-JJ
0
 
schnazzerAuthor Commented:
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.
0
 
hecgomrecCommented:
Please make sure all your exchange servers are updated with the last roll up and all servers are the same version... no legacy.

Usually this error is presented when you try to access a mailbox using a legacy access point.  I think you are trying to access a mailbox that resides on a 2010 server using owa or activesync from a 2003 server.

If you try the opposite, you will get a different kind of error and you won't be able to get to the mailbox.

If you still want to have more than one CAS internet facing please read more here:

http://technet.microsoft.com/en-us/library/dd351198(v=exchg.141).aspx
http://technet.microsoft.com/en-us/library/bb310763.aspx
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 10
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now