Lync on Iphone and Andoroid : "We can't sign you in. Please check your account infor and try again"

Users are complaining they can't login to lync from mobile device. Not sure what happened but not sure what to look at. We have lync TMG 2010, Lync front end 2013, and Lync edge 2013. Lync runs on windows 2012 and TMG runs on windows 2008 R2

2015-03-12 09:20:40.885 Lync[6545:7373000] INFO UTILITIES CHttpStreamPool.cpp/445:Scheduling stream 0x156d900 for release.
2015-03-12 09:20:40.885 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/403:Received a request to get the meta data of type 0 for url https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
2015-03-12 09:20:40.885 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/458:Sending Unauthenticated get to get the web-ticket url
2015-03-12 09:20:40.885 Lync[6545:392b59dc] INFO TRANSPORT CTransportThread.cpp/135:Added Request() to Request Processor queue
2015-03-12 09:20:40.885 Lync[6545:392b59dc] INFO TRANSPORT CAuthenticationResolver.cpp/109:Waiting on Meta Data from https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
2015-03-12 09:20:40.885 Lync[6545:7776000] INFO TRANSPORT CTransportThread.cpp/347:Sent Request() to Request Processor
2015-03-12 09:20:40.886 Lync[6545:392b59dc] INFO APPLICATION CTransportRequestRetrialQueue.cpp/385:Submitting new req. GET-AuthenticatedUserGetRequest(0x143af98)
2015-03-12 09:20:40.886 Lync[6545:7776000] WARNING TRANSPORT CCredentialManager.cpp/317:CCredentialManager::getSpecificCredential returning NULL credential for serviceId (4) type (1)!
2015-03-12 09:20:40.886 Lync[6545:392b59dc] INFO APPLICATION CUcwaAutoDiscoveryService.cpp/1285:Submitting Authenticated AutoDiscovery request to https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
2015-03-12 09:20:40.886 Lync[6545:7776000] INFO TRANSPORT TransportUtilityFunctions.cpp/689:<SentRequest>
GET https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
Request Id: 0x5d63768
HttpHeader:Accept 


</SentRequest>

2015-03-12 09:20:40.886 Lync[6545:392b59dc] INFO APPLICATION CUcwaAutoDiscoveryService.cpp/1800:Ignoring GetUserUrlOperation event as current state is 6
2015-03-12 09:20:40.886 Lync[6545:7776000] INFO UTILITIES CHttpStreamPool.cpp/399:Allocating stream 0x5d5bf20 for url - https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user with persistent id as 16
2015-03-12 09:20:40.886 Lync[6545:392b59dc] INFO APPLICATION CUcwaAutoDiscoveryService.cpp/1802:Request url was https://lyncdiscover.domain.com/?sipuri=sip:user@domain.com
2015-03-12 09:20:40.887 Lync[6545:7776000] VERBOSE TRANSPORT CHttpProxyHelper.cpp/435:CHttpProxyHelper::discoverProxy : No proxy found for url https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com. Sending over direct connection.
2015-03-12 09:20:41.297 Lync[6545:7776000] INFO UTILITIES CHttpConnection.cpp/579:Received kCFStreamEventEndEncountered (0x%u0x5d7e090)isHeadersAvailable = true  responseHeadersHandle = 15bd180
2015-03-12 09:20:41.297 Lync[6545:7776000] INFO UTILITIES CHttpConnection.cpp/653:Response status = 401 for request 0x%u0x5d7e090
2015-03-12 09:20:41.297 Lync[6545:7776000] INFO UTILITIES CHttpConnection.cpp/720:Not send authenticating request(0x%u0x5d7e090).  isAuthObjectValid - 0, areCredentialsValid - 0, resendRequestCounter - 1
2015-03-12 09:20:41.297 Lync[6545:7776000] INFO UTILITIES CHttpStreamPool.cpp/445:Scheduling stream 0x5d5bf20 for release.
2015-03-12 09:20:41.298 Lync[6545:7776000] INFO TRANSPORT CHttpRequestProcessor.cpp/173:Received response of request() with status = 0x0
2015-03-12 09:20:41.298 Lync[6545:7776000] INFO TRANSPORT TransportUtilityFunctions.cpp/1032:<ReceivedResponse>
GET https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
Request Id: 0x5d63768
HttpHeader:Cache-Control no-cache
HttpHeader:Connection Keep-Alive
HttpHeader:Content-Length 1293
HttpHeader:Content-Type text/html
HttpHeader:Date Thu, 12 Mar 2015 16:17:42 GMT
HttpHeader:Server Microsoft-IIS/8.5
HttpHeader:StatusCode 401
HttpHeader:X-Content-Type-Options nosniff
HttpHeader:X-MS-Server-Fqdn smdvlync13.ad.domain.com
HttpHeader:X-MS-WebTicketSupported cwt,saml
HttpHeader:X-MS-WebTicketURL https://lync13.domain.com/WebTicket/WebTicketService.svc
HttpHeader:X-Powered-By ASP.NET

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>

<style type="text/css">

<!--

body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}

fieldset{padding:0 15px 10px 15px;} 

h1{font-size:2.4em;margin:0;color:#FFF;}

h2{font-size:1.7em;margin:0;color:#CC0000;} 

h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} 

#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;

background-color:#555555;}

#content{margin:0 0 0 2%;position:relative;}

.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}

-->

</style>

</head>

<body>

<div id="header"><h1>Server Error</h1></div>

<div id="content">

 <div class="content-container"><fieldset>

  <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>

  <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>

 </fieldset></div>

</div>

</body>

</html>


</ReceivedResponse>
2015-03-12 09:20:41.298 Lync[6545:7776000] INFO TRANSPORT CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x5d63768)
2015-03-12 09:20:41.299 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/585:Received response for meta data request of type 60 with status 0
2015-03-12 09:20:41.299 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/655:Base service url constructed from unauth-get-response is https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
2015-03-12 09:20:41.299 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/703:Added a binding based on the unauth-get response
2015-03-12 09:20:41.299 Lync[6545:392b59dc] INFO TRANSPORT CAuthenticationResolver.cpp/208:MetaData retrieval for url https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com completed with status 0
2015-03-12 09:20:41.299 Lync[6545:392b59dc] INFO TRANSPORT CAuthenticationResolver.cpp/238:Deleting 1 pended Meta data requests for url https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
2015-03-12 09:20:41.299 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/403:Received a request to get the meta data of type 0 for url https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
2015-03-12 09:20:41.299 Lync[6545:392b59dc] INFO TRANSPORT CAuthenticationResolver.cpp/316:Executing request after meta data successfully retrieved
2015-03-12 09:20:41.300 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/403:Received a request to get the meta data of type 0 for url https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
2015-03-12 09:20:41.300 Lync[6545:392b59dc] INFO TRANSPORT CCredentialManager.cpp/176:getSpecificCredential for serviceId(1) returning: credType (1) signInName (user@domain.com) domain (ad) username (user) password.empty() (0) certificate.isValid() (0) privateKey.empty() (1) compatibleServiceIds(1)
2015-03-12 09:20:41.300 Lync[6545:392b59dc] INFO TRANSPORT CWebTicketSession.cpp/516:No Cached web-ticket found.
2015-03-12 09:20:41.300 Lync[6545:392b59dc] INFO TRANSPORT CWebTicketSession.cpp/563:Received request for a new token for https://lync13.domain.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain.com
2015-03-12 09:20:41.300 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/403:Received a request to get the meta data of type 2 for url https://lync13.domain.com/WebTicket/WebTicketService.svc
2015-03-12 09:20:41.300 Lync[6545:77f8000] INFO TRANSPORT CHttpRequestProcessor.cpp/134:Clearing request processor for component WebTicketSession on sign-out.
2015-03-12 09:20:41.300 Lync[6545:392b59dc] INFO TRANSPORT CCredentialManager.cpp/176:getSpecificCredential for serviceId(1) returning: credType (1) signInName (user@domain.com) domain (ad) username (user) password.empty() (0) certificate.isValid() (0) privateKey.empty() (1) compatibleServiceIds(1)
2015-03-12 09:20:41.301 Lync[6545:392b59dc] INFO TRANSPORT CMetaDataManager.cpp/488:Sending Mex request for endpoint (https://lync13.domain.com/WebTicket/WebTicketService.svc) w/ sign-in name (user@domain.com) 
2015-03-12 09:20:41.301 Lync[6545:392b59dc] INFO TRANSPORT CTransportThread.cpp/135:Added Request(MetaDataRequest) to Request Processor queue
2015-03-12 09:20:41.301 Lync[6545:392b59dc] INFO TRANSPORT CAuthenticationResolver.cpp/109:Waiting on Meta Data from https://lync13.domain.com/WebTicket/WebTicketService.svc
2015-03-12 09:20:41.301 Lync[6545:7776000] INFO TRANSPORT CTransportThread.cpp/347:Sent Request(MetaDataRequest) to Request Processor
2015-03-12 09:20:41.301 Lync[6545:392b59dc] INFO TRANSPORT CBindingTransformationFactory.cpp/330:Waiting on the token
2015-03-12 09:20:41.301 Lync[6545:7776000] WARNING TRANSPORT CCredentialManager.cpp/317:CCredentialManager::getSpecificCredential returning NULL credential for serviceId (4) type (1)!
2015-03-12 09:20:41.301 Lync[6545:7776000] INFO TRANSPORT TransportUtilityFunctions.cpp/689:<SentRequest>
POST https://lync13.domain.com/WebTicket/WebTicketService.svc/mex
Request Id: 0x15c6878
HttpHeader:Accept text/xml, application/soap+xml, application/octet-stream
HttpHeader:Content-Type application/soap+xml; charset=utf-8
HttpHeader:X-User-Identity user@domain.com

<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"><soap12:Header><wsa:Action soap12:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:To soap12:mustUnderstand="1">https://lync13.domain.com/WebTicket/WebTicketService.svc</wsa:To></soap12:Header><soap12:Body/></soap12:Envelope>
</SentRequest>

Open in new window

LVL 1
SuperRootAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Davis McCarnOwnerCommented:
"<h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>"
Its an authentication issue dependent on the specific version of the android O/S and the Lync software.
https://support.office.com/en-us/article/Troubleshooting-Lync-Online-Sign-in-Errors-ee79d4f4-dad2-4ddb-9a1f-1b886cabd4c1
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SuperRootAuthor Commented:
Was able to fix by sycing the time from Lync FE and tmg.
1
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Chat / IM

From novice to tech pro — start learning today.