Exchange 2013 SP1: Unable to connect to OWA MSEXCHMON;+ACTIVEMONITORING;+OWACTP) – 401 2 5 0


HI all

After recreating the OWA opened a case resolve the recreation of OWA virtual directory and reboot the Exchange 2013 server. Im unable to connect to OWA

The symptom is this one. If you use another client access it works well with the same credential


After enabling the Eventlog level at expert mode

Set-eventloglevel « MsExchange OWA\FormsRegistry » -Level expert
Set-eventloglevel « MSExchange OWA\Core » -Level expert
Set-eventloglevel « MSExchange OWA\Configuration » -level expert
Set-eventloglevel « MSExchange OWA\Themes » -level expert
Set-eventloglevel « MSExchange OWA\SmallIcons » -level expert
Set-eventloglevel « MSExchange OWA\Proxy » -Level expert
Set-eventloglevel « MSExchange OWA\Transcoding » -Level expert
Set-eventloglevel « MSExchange OWA\ADNotifications » -level expert
Set-eventloglevel « MSExchange OWA\InstantMessage » -level expert

And saw nothing on the event viewer
After comparing the Parameters on Srvexc01 Owa directory and SrvExc02 Owa Directory (Same value same Authentification parameter)
After looking for the IIS Site

I saw this error

014-04-18 12:48:24 10.100.20.12 GET /owa/auth/logon.aspx url=https://10.100.20.12/owa&reason=0&CorrelationID=<empty>;&cafeReqId=46871b88-5561-46ac-9e8c-d8eadcf649fc; 443 – 10.100.20.13 Mozilla/5.0+(compatible;+MSIE+10.0;+Windows+NT+6.2;+WOW64;+Trident/6.0) – 200 0 64 19061

2014-04-18 12:48:24 127.0.0.1 GET /owa/auth/logon.aspx url=https://localhost/owa/&reason=0&CorrelationID=<empty>;&cafeReqId=1f786e68-8e60-4d3c-a8cc-72dbb94f57be; 443 – 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+MSEXCHMON;+ACTIVEMONITORING;+OWACTP) – 200 0 0 18468

2014-04-18 12:48:24 127.0.0.1 GET /owa/ &CorrelationID=<empty>;&cafeReqId=97632903-7187-4232-b7fe-7106ae5bfbe6; 443 – 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+MSEXCHMON;+ACTIVEMONITORING;+OWACTP) – 401 2 5 15

2014-04-18 12:48:25 127.0.0.1 GET /owa/auth/logon.aspx url=https://localhost/owa/&reason=0&CorrelationID=<empty>;&cafeReqId=f69ad3f7-8f6d-40da-a7ff-4d022b00c0c7; 443 – 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+MSEXCHMON;+ACTIVEMONITORING;+OWACTP) – 200 0 0 0

2014-04-18 12:48:25 127.0.0.1 GET /owa/auth/logon.aspx replaceCurrent=1&url=https%3a%2f%2flocalhost%2fowa%2f&CorrelationID=<empty>;&cafeReqId=a245546b-729b-40e6-9e5b-bc6f76136455; 443 – 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+MSEXCHMON;+ACTIVEMONITORING;+OWACTP) – 200 0 0 31

2014-04-18 12:48:25 127.0.0.1 POST /owa/auth.owa &CorrelationID=<empty>;&cafeReqId=13364688-e17c-4c10-a977-fccd84e880ec; 443 – 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+MSEXCHMON;+ACTIVEMONITORING;+OWACTP) – 401 2 5 0

2014-04-18 12:48:25 127.0.0.1 GET /owa/auth/15.0.847/scripts/premium/flogon.js &CorrelationID=<empty>;&cafeReqId=b9ef5b25-d666-4637-b7fc-8b261fe37468; 443 – 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+MSEXCHMON;+ACTIVEMONITORING;+OWACTP) – 200 0 0 171

Because I suspected an issue relative to Cas Proxy. I changed the owa Internal Url to have a correct FQDN who correspond to the certificate name. From the Server2 it try to open from IE the https://srvexc01.mrsaero.Loc/owa and it works. The contrary too. So the Cas proxy is working but I have still the same issue.

It try to remove all internal urls and external urls form both server owa site

Set-OwaVirtualDirectory -identity « SRVEXC02\owa (Default Web Site) » -externalurl $null
Set-OwaVirtualDirectory -identity « SRVEXC01\owa (Default Web Site) » -externalurl $null
Set-OwaVirtualDirectory -identity « SRVEXC02\owa (Default Web Site) » -internalurl $null
Set-OwaVirtualDirectory -identity « SRVEXC01\owa (Default Web Site) » -internalurl $null

And iisreset for all IIS Server

Well Same issue it is probably not linked to the URL on owa .

After searching. When I try to access from the srvexc02 to srvexc01 (Cas Proxy) I saw each time I try to logon this event on srvexc01

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 4/18/2014 4:06:52 PM

Event time (UTC): 4/18/2014 2:06:52 PM

Event ID: 4f0a1def3cf649209b3666fa2eafdc10

Event sequence: 52

Event occurrence: 51

Event detail code: 0

 

Application information:

Application domain: /LM/W3SVC/2/ROOT/owa-3-130423021260996772

Trust level: Full

Application Virtual Path: /owa

Application Path: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\

Machine name: SRVEXC01

 

Process information:

Process ID: 4712

Process name: w3wp.exe

Account name: NT AUTHORITY\SYSTEM

 

I will try to delete the owa directory from srvexc01 and recreate it (Boring !!!)

 

[PS] C:\Windows\system32>Remove-OwaVirtualDirectory -Identity « srvexc01\owa (Default Web Site) »

Confirm

Are you sure you want to perform this action?

Outlook Web App virtual directory « srvexc01\owa (Default Web Site) » is being removed.

[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is « Y »): A

[PS] C:\Windows\system32>

 

[PS] C:\Windows\system32>New-OwaVirtualDirectory -WebSiteName « Default Web Site » -Server srvexc01
Name Server OwaVersion
—- —— ———-
owa (Default Web Site) SRVEXC01 Exchange2013

Put the authentication form on it

[PS] C:\Windows\system32>Set-OwaVirtualDirectory -FormsAuthentication $true -Identity « srvexc01\owa (Default Web Site) »
[PS] C:\Windows\system32>iisreset
Attempting stop…
Internet services successfully stopped
Attempting start…
Internet services successfully restarted
[PS] C:\Windows\system32>

After recreation I saw that in the event log : Grrrr


I decide to delete again the owa directory and clean the IIS Metabase

Removing the OWA on srvexc01 and installing iis resource kit / Checking with Adsiedit if the directrory is correctly deleted



Deleted correctly
Launching IIS Metabase


The OWA is correctly removed by the remove-virtualdirectory All seems correct!

OK IISReset and try to recreate the owa directory. Just creating the directory and saw that:


Reboot the server Srvech01

Repositioning this url

Set-OwaVirtualDirectory -identity « SRVEXC01\owa (Default Web Site) » -externalurl $null -internalurl https://srvexc01.mrsaero.loc/owa -FormsAuthentication $true
Set-ecpVirtualDirectory -identity « SRVEXC01\ecp (Default Web Site) » -internalurl https://srvexc01.mrsaero.loc/ecp

Set-OwaVirtualDirectory -identity « SRVEXC02\owa (Default Web Site) » -externalurl $null -internalurl https://srvexc02.mrsaero.loc/owa -FormsAuthentication $true
Set-ecpVirtualDirectory -identity « SRVEXC02\ecp (Default Web Site) » -internalurl https://srvexc02.mrsaero.loc/ecp

And it works ..why ? don’t ask me please

Laurent Teruin

 

 

 

 

 


 

Laisser un commentaire