Dmitry G Posted July 21, 2011 Share Posted July 21, 2011 I have Exchange 2010 with SP1 installed and it all worked fine until one day it just stopped letting us in via OWA. I get a 500 error which does not explain anything at all. Here is what I get when I run debug in CMD [PS] C:\Windows\system32>Test-OwaConnectivity -MailboxCredential (get-credential dmitry) -URL https://mail.myurl.com/owa -TrustAnySSLCertificate | FL -verbose -debug WARNING: [14:05:06.843] : An unknown failure occurred during logon. WARNING: [14:05:06.843] : The test encountered an error while signing in to Outlook Web App. WARNING: [14:05:06.843] : Test failed for URL 'https://mail.myurl.com/owa/'. RunspaceId : 7d4ab8f1-c489-4f5d-8c31-d57dcd9a98ce AuthenticationMethod : FBA MailboxServer : LocalSite : Default-First-Site-Name SecureAccess : True VirtualDirectoryName : Url : https://mail.myurl.com/owa/ UrlType : Unknown Port : 0 ConnectionType : Plaintext ClientAccessServerShortName : LocalSiteShortName : Default-First-Site-Name ClientAccessServer : Scenario : Logon ScenarioDescription : Sign in to Outlook Web App and verify the response page. PerformanceCounterName : Logon Latency Result : Failure Error : The test encountered an error while signing in to Outlook Web App. UserName : dmitry StartTime : 21/07/2011 14:05:06 Latency : -00:00:00.0010000 EventType : Error LatencyInMillisecondsString : Identity : IsValid : True [PS] C:\Windows\system32>Test-OwaConnectivity -MailboxCredential (get-credential domain\user) -URL https://mail.myurl.com/owa -TrustAnySSLCertificate -verbose -debug | FL VERBOSE: [13:05:37.296 GMT] Test-OwaConnectivity : Active Directory session settings for 'Test-OwaConnectivity' are: View Entire Forest: 'False', Default Scope: 'server.local', Configuration Domain Controller: 'mail.server.local', Preferred Global Catalog: 'mail.server.local', Preferred Domain Controllers: '{ mail.server.local }' VERBOSE: [13:05:37.296 GMT] Test-OwaConnectivity : Runspace context: Executing user: server.local/Users/admin, Executing user organization: , Current organization: , RBAC-enabled: Enabled. VERBOSE: [13:05:37.296 GMT] Test-OwaConnectivity : Beginning processing & VERBOSE: [13:05:37.296 GMT] Test-OwaConnectivity : Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". VERBOSE: [13:05:37.421 GMT] Test-OwaConnectivity : Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient Scope(s): {}, Exclusive Configuration Scope(s): {} } Confirm Are you sure you want to perform this action? The TrustAnySSLCertificate flag has been set. The task won't verify that the server certificate is valid before sending the user requests and credentials to this server. User credentials will be used for the following user: domain\user Do you want to test Outlook Web App connectivity on Client Access server mail.server.local? [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): VERBOSE: [13:05:49.796 GMT] Test-OwaConnectivity : Resolved current organization: . VERBOSE: [13:05:49.796 GMT] Test-OwaConnectivity : Adding a test instance for URL 'https://mail.myurl.com/owa' specified with the -URL argument. VERBOSE: [13:05:49.811 GMT] Test-OwaConnectivity : [14:05:49.796] : The TrustAnySSLCertificate flag was specified, so any certificate will be trusted. VERBOSE: [13:05:49.811 GMT] Test-OwaConnectivity : [14:05:49.796] : Sending the HTTP GET logon request without credentials for authentication type verification. VERBOSE: [13:05:49.811 GMT] Test-OwaConnectivity : [14:05:49.811] : The HTTP request succeeded with result code 200 (OK). VERBOSE: [13:05:49.811 GMT] Test-OwaConnectivity : [14:05:49.811] : The sign-in page is from Outlook Web App, not ISA Server. VERBOSE: [13:05:49.811 GMT] Test-OwaConnectivity : [14:05:49.811] : The server reported that it supports authentication method FBA. VERBOSE: [13:05:49.811 GMT] Test-OwaConnectivity : [14:05:49.811] : This virtual directory URL type is External or Unknown, so the authentication type won't be checked. VERBOSE: [13:05:49.811 GMT] Test-OwaConnectivity : [14:05:49.811] : Trying to sign in with method 'Fba'. VERBOSE: [13:05:49.811 GMT] Test-OwaConnectivity : [14:05:49.811] : Sending HTTP request for logon page 'https://mail.myurl.com/owa/auth/owaauth.dll'. WARNING: [14:05:49.811] : An unknown failure occurred during logon. Confirm Continue with this operation? [Y] Yes [A] Yes to All [H] Halt Command [?] Help (default is "Y"): WARNING: [14:05:49.811] : The test encountered an error while signing in to Outlook Web App. Confirm Continue with this operation? [Y] Yes [A] Yes to All [H] Halt Command [?] Help (default is "Y"): WARNING: [14:05:49.811] : Test failed for URL 'https://mail.myurl.com/owa/'. Confirm Continue with this operation? [Y] Yes [A] Yes to All [H] Halt Command [?] Help (default is "Y"): RunspaceId : 7d4ab8f1-c489-4f5d-8c31-d57dcd9a98ce AuthenticationMethod : FBA MailboxServer : LocalSite : Default-First-Site-Name SecureAccess : True VirtualDirectoryName : Url : https://mail.myurl.com/owa/ UrlType : Unknown Port : 0 ConnectionType : Plaintext ClientAccessServerShortName : LocalSiteShortName : Default-First-Site-Name ClientAccessServer : Scenario : Logon ScenarioDescription : Sign in to Outlook Web App and verify the response page. PerformanceCounterName : Logon Latency Result : Failure Error : The test encountered an error while signing in to Outlook Web App. UserName : dmitry StartTime : 21/07/2011 14:05:49 Latency : -00:00:00.0010000 EventType : Error LatencyInMillisecondsString : Identity : IsValid : True VERBOSE: [13:06:30.358 GMT] Test-OwaConnectivity : Admin Audit Log: Entered Handler:OnComplete. VERBOSE: [13:06:30.358 GMT] Test-OwaConnectivity : Ending processing & [PS] C:\Windows\system32> Any ideas? Link to comment Share on other sites More sharing options...
sc302 Veteran Posted July 21, 2011 Veteran Share Posted July 21, 2011 Try starting this service "Microsoft Exchange Forms-Based Authentication Service" Shaun N. 1 Share Link to comment Share on other sites More sharing options...
Dmitry G Posted July 21, 2011 Author Share Posted July 21, 2011 Haha! As simple as then then!! Thank you very much Link to comment Share on other sites More sharing options...
sc302 Veteran Posted July 21, 2011 Veteran Share Posted July 21, 2011 NP, but I honestly can't take all of the credit. Google helped with that one. search terms: owa An unknown failure occurred during logon. Copy and paste that into google. First and second link. That error gives you more information than you know. I give credit where credit is due. Link to comment Share on other sites More sharing options...
Shaun N. Posted July 21, 2011 Share Posted July 21, 2011 Try starting this service "Microsoft Exchange Forms-Based Authentication Service" Job well done. Link to comment Share on other sites More sharing options...
Dmitry G Posted July 21, 2011 Author Share Posted July 21, 2011 Well thank you anyway, I spent ages looking it up on google. Link to comment Share on other sites More sharing options...
Recommended Posts