Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

401 Unauthorized error 2010 Exchange OWA

Posted on 2012-06-07
10
Medium Priority
?
5,104 Views
Last Modified: 2012-06-12
Newer 2010 Exchanger server with an OWA redirect.  When trying to access OWA with http://mail.xxxx.com or https://mail.xxxx.com I instantly get an: 401 - Unauthorized: Access is denied due to invalid credentials.  Using https://mail.xxxx.com/owa still works.
 
I've done 2010 Exchange installs before with OWA redirection successfully in the past.  I've researched this error to no avail.  Please assist, thanks in advance.
0
Comment
Question by:ACSTLH
  • 5
  • 5
10 Comments
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 38058297
See if you can find for us the 401 response in your IIS log file.  It will help a lot.
0
 

Author Comment

by:ACSTLH
ID: 38058503
Thank you for your resonse, are you looking for this?
2012-06-07 16:02:39 10.38.32.77 GET / - 443 - xx.xxx.xx.xxx Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+Trident/5.0) 401 3 5 62
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 38058672
Yes.  The 3 after the 401 is the subcode, so the complete response status is 401.3 .  That means that access is denied due to the ACL (i.e. NTFS permissions) on a file on the server somewhere.  It's hard to be sure which it will be, but I guess the first thing would be to look at the NTFS permissions for the
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa
folder on the server.  What do you have listed?  Is there any group that has any of the Deny checkboxes checked?
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 

Author Comment

by:ACSTLH
ID: 38058729
Authenticated users: Read (not inherited)
System:  Full control
Administrators:  Full control

Also, I don't even get to a point to enter my username\password when trying to access the site when using the http://mail.xxxx.com or https://mail.xxxx.com  Forgot to mention that in the beginning.
owa-perms.PNG
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 38059111
Then it could be something like the folder containing the logon form:
C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\auth
or the logon form itself within that folder: logon.aspx  .  Check the NTFS permissions on the file and the folder.  They should be similar to what you found before.
0
 

Author Comment

by:ACSTLH
ID: 38059133
Same permissions as above.

Do you think it is a file permission issue eventhough I no issues accessing and logging into OWA using the full https://mail.xxxx.com/owa address?
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 38059196
Ah, I forgot that.  If you created a script file to do the redirection I would check the NTFS permissions on that.
0
 

Accepted Solution

by:
ACSTLH earned 0 total points
ID: 38059382
The redirection is done in IIS under the HTTP Redirect.

I did however find the solution to my problem, it was NTFS permissions on the C:\inetpub\wwwroot folder.  One of our engineers was apparently making changes on that folder.  The users group was removed.  When I added them back with Read permissions, everything works fine.

Looks like IIS puts the redirection in the web.config file under that directory.

Thank you for pointing me in the right direction!
0
 
LVL 31

Assisted Solution

by:LeeDerbyshire
LeeDerbyshire earned 2000 total points
ID: 38059397
Ah, right.  It had to be NTFS permissions somewhere, but I didn't imagine the wwwroot ones would have been changed.
0
 

Author Closing Comment

by:ACSTLH
ID: 38073274
Awarded points to LeeDerbyshire for suggesting NTFS permissions were the problem.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
how to add IIS SMTP to handle application/Scanner relays into office 365.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

824 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