Lync for Mac 2011 – “Lync was unable to sign in..”

##Update##
Since writing the post, I have been able to obtain a copy of the hotfix described in KB2926055 and I can confirm that it does fix this issue.

I recently came across an interesting issue when attempting to log into Lync Online using Lync for Mac 2011. This was a newly installed an updated version of Lync for Mac 2011, version 14.0.7 (131205) to be exact. At first I thought I’d made a typo with my password but after a couple of attempts I knew something else was wrong. I tried a couple of other Lync accounts and still kept receiving the “Lync was unable to sign in. Please verify your logon credentials and try again. If the problem continues, please contact your support team.” error message.

image

I tried using manual server configuration as suggested in the “Troubleshoot sign in issues with Lync for Mac 2011 in Lync Online” article, but that didn’t make any difference either. I then tried using a different Mac with Lync for Mac version 14.0.6 and that one was able to log in without any issues. After digging into the client logs, we saw the following entry:

04/08/2014|20:48:55.286 25A:B0115000 WARN  :: GetNewWebTicket: "Got new web ticket already expired: Current time=1396954135, expire time=0"

It seems Lync for Mac 2011 tries to use a web ticket that is expired. After a bit of searching around, we found Article ID: 2927775 “Can't sign in or see contact pictures in Lync for Mac 2011 when system time zone is set to UTC+8 or an earlier time zone” which exactly describes the issue which occurs because Lync for Mac 2011 calculates the expiration time of a web ticket based on an incorrect time zone.  I was able to confirm this by changing my time zone settings which resulted in my client immediately being able to log in.

image

Once you have successfully logged in, you can change your time zone back to the correct configuration and you will still be able to log in. Unfortunately, this workaround does not persist across reboots or hibernations.

Article ID: 2926055 “Description of the Microsoft Lync for Mac 2011 14.0.7 hotfix” describes a hotfix that should resolve this issue, unfortunately you need to contact Microsoft Customer Support Services to obtain this hotfix and I haven’t been able to obtain it yet. I have logged the appropriate service request and will update this post once I have tested it.

With the correct DNS configuration, I haven’t found the need to use manual server configuration as suggested in numerous support articles. I find that the default configuration works just fine.

image

I also wanted to thank for my colleague, Lync MCM Aidan Freeman for helping me troubleshoot this issue.