Lync 2013 Fails to connect to service.

You installed Lync 2013 on a domain computer and it fails to connect to the Office365 Lync service. Users who connect from inside their corporate network can’t sign in to Lync Online from Lync 2013, and they receive the following error message: Cannot sign in because the server is temporarily unavailable.  This issue only applies to Enterprise SSO users who sign in to Microsoft Lync Online by using Microsoft Lync 2013 from inside their corporate network.   If you modify the DNS of the computer to use a public DNS address the lync client connects for 8 hours and then fails if DNS is pushed back to the domain level DNS. All internal computers have this problem with connecting where external systems do not.

AD FS 2.0 utilizes the HOST service type for SPN registration because of default Windows Communication Foundation (WCF) SPN requirements. While HTTP makes sense for web-based applications, it does not satisfy rich clients who use the WS-Trust protocol.


When you deploy an AD FS 2.0 Federation Server farm, you must specify a domain-based service account that needs a registered SPN to enable Kerberos authentication to function correctly.

Log in to you ADFS server and set a HOST SPN.

setspn -s host/{your_Federation_Service_name} {domain_name}\{service_account}

Make sure that the AD FS 2.0 service is running under the domain-based service account that was mentioned in the previous step. Afterwards you will need to set the service account on the ADFS service to use the same domain service account and restart the ADFS2 services.

Configure the AD FS 2.0 server to accept request headers that are larger than 40 kilobytes (KB). Microsoft says -> The HTTP request that the user sends to the Internet Information Services (IIS) server contains the Kerberos token in the WWW-Authenticate header. Therefore, the header size increases as the number of groups increases. If the HTTP header or packet size increases beyond the limits that are configured in IIS, IIS may reject the request and send an error as the response. If the previous solutions didn’t resolve the problem, downgrade to Lync 2010 or try running Lync2013 as a Local administraor.




Tagged with:

4 Responses to “[Solved] Single sign-on users in Office 365 can’t sign in to Lync Online from inside their corporate network”

  1. Great post. I will be going thrߋugh some of thesе issues as well..

  2. says:

    Amazing issues here. I’m very glad to peer your post. Thank you so much and I am
    taking a look ahead to contact you. Will you please drop me a mail?

  3. Bulk Texting says:

    Bulk texting is the distribution of a large number of messages from sender to desired recipient. These texts are commonly used for notifications, promotions, reminders and internal communication. Bulk texting requires an SMS gateway, customers and network providers to operate. It is now one of the most cost effective marketing solutions, which engages communication between sender and recipient.

  4. SMS Gateway says:

    An SMS gateway can be used to add a website or software to the text messaging service to send the actual text. This is useful for companies that use the Internet or for information about user information, ads, reminders, reviews, and even companies that use it for affiliate marketing.

Leave a Reply