Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problem with Exchange 2013 OWA

Posted on 2014-04-07
9
Medium Priority
?
2,002 Views
Last Modified: 2014-07-13
Dear

We've about 20 different customers with Exchange 2013 running, but since Friday we've trouble with an OWA that has worked before (no idea what changed).

The situation is as follows:

On customer site there is an Exchange 2013 Standard on premise installed with all roles on one server. It's a SME with about 25 mailboxes - nothing very complicated or large scaled.

All updates are installed and the current version is

Name                                    AdminDisplayVersion                     ExchangeVersion
----                                    -------------------                     ---------------
SRVEX01                                 Version 15.0 (Build 516.32)             0.1 (8.0.535.0)

Open in new window


The server itstelf works fine: ActiveSync, ECP, mailbox and mailtransmission - everything without problem.

However, when accessing OWA (doesn't matter if locally or externally) the OWA redirects the user to the Back End Site (https://internalservername:444/owa) which isn't available externally and throws a 404 when accessing from the exchange server itself (resource /owa/auth/logon.aspx isn't available on the Back End Site). I've played around with the internal and external hostname of the OWA installation, recreated the OWA virtual directory via shell and ECP - but the problem is still the same.

Does anyone has an idea why the login redirects me to the Back End Site (and port)? The same login works with the ECP like a charm.

The OWA is shown an version 2010, but I think this is just a MS bug, isn't it?

Name                                    Server                                  OwaVersion
----                                    ------                                  ----------
owa (Default Web Site)                  SRVEX01                                 Exchange2010

Open in new window


Any suggestion is appreciated,
Jan
0
Comment
Question by:schlueter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 39994245
Run this command, provide the output:
Get-OwaVirtualDirectory | fl *URL*
0
 
LVL 1

Author Comment

by:schlueter
ID: 40000896
Sorry, I've been in bed some days (having the flu).

First of all, thanks for your reply. The output is:

Url             : {}
SetPhotoURL     :
Exchange2003Url :
FailbackUrl     :
InternalUrl     : https://[correctExternalFQDN]/owa
ExternalUrl     :

Open in new window

0
 
LVL 1

Author Comment

by:schlueter
ID: 40001007
And just to not confuse you: Of course I've also tried with the correct internal and external URL for all virtual directories (except PowerShell and Autodiscover). I just wanted to make sure that the internal hostname isn't used at any place... However, I've now switched to

Url             : {}
SetPhotoURL     :
Exchange2003Url :
FailbackUrl     :
InternalUrl     : https://[hostname].[domain]/owa
ExternalUrl     : https://[correctExternalFQDN]/owa

Open in new window


This changes nothing (server restarted)...
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 15

Expert Comment

by:jrhelgeson
ID: 40001874
Okay, that's fine. I just wanted to record what those values were prior to re-creating the virtual directory.

Virtual directory corruption happens so often, that Microsoft created a button to automate the task of deleting & re-creating the virtual directories.  You can do this using the ECP, or Powershell.

Both methods are outlined here:
http://technet.microsoft.com/en-us/library/ff629372.aspx

I prefer using Powershell, as it creates the new OWA with the values obtained from the old, rather than having to go back and re-enter the configuration for InternalUrl & ExternalUrl.
Remove-OwaVirtualDirectory “ServerName\owa (Default Web Site)”
New-OwaVirtualDirectory  -InternalUrl “https://[correctExternalFQDN]/owa” -ExternalUrl “https://[correctExternalFQDN]/owa"

Open in new window

I also usually keep the internal & external URL the same so they're both using the same certificate, and I update the internal DNS to point to the server, but I don't know how your environment is laid out.

Be sure to run IISRESET /noforce after you've made the changes - no need to reboot.
0
 
LVL 1

Author Comment

by:schlueter
ID: 40001950
Thank you again for your reply. First of all, I've already recreated the VirtualDirectories. But your post helped me in another way:

I've now added a DNS entry to point to the external FQDN to the local IP and did a IISRESET. Now I get a login, which redirects me to https://[correctExternalFQDN]/owa/auth.owa. But this throws a 404.

Any more suggestions?
0
 
LVL 15

Expert Comment

by:jrhelgeson
ID: 40002072
You need to ensure that all the virtual directories point to their proper URL's.  It is critical that the /owa and /ecp virtual directories share the same "https://[correctExternalFQDN]/" path (each pointing to their respective virtual directory, of course.)

Compare the output of the following commands:
Get-OwaVirtualDirectory | fl *URL*
Get-EcpVirtualDirectory | fl *URL*   
Get-OABVirtualDirectory | fl *URL*
Get-AutodiscoverVirtualDirectory | fl *URL*
Get-WebServicesVirtualDirectory | fl *URL*

Open in new window

Here for reference is the output from my server:
[PS] C:\>Get-OwaVirtualDirectory | fl *URL*
Url             : {}
Exchange2003Url :
FailbackUrl     :
InternalUrl     : https://mail.example.com/owa
ExternalUrl     : https://mail.example.com/owa

[PS] C:\>Get-EcpVirtualDirectory | fl *URL*
InternalUrl : https://mail.example.com/ecp
ExternalUrl : https://mail.example.com/ecp

[PS] C:\>Get-OABVirtualDirectory | fl *URL*
InternalUrl : https://mail.example.com/OAB
ExternalUrl : https://mail.example.com/OAB

[PS] C:\>Get-AutodiscoverVirtualDirectory | fl *URL*
InternalUrl : https://mail.example.com/autodiscover
ExternalUrl : https://mail.example.com/autodiscover

[PS] C:\>Get-WebServicesVirtualDirectory | fl *URL*
InternalNLBBypassUrl : https://exchange10.example.local/ews/exchange.asmx
InternalUrl          : https://mail.example.com/EWS/exchange.asmx
ExternalUrl          : https://mail.example.com/EWS/exchange.asmx

Open in new window

0
 
LVL 1

Accepted Solution

by:
schlueter earned 0 total points
ID: 40182391
We've reinstalled the Exchange and it works again...
0
 
LVL 1

Author Closing Comment

by:schlueter
ID: 40192825
Not really a solution...
1

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question