Article ID: 2298541 - View products that this article applies to.

Not sure what release of Office 365 you're using? Go to the following Microsoft website:
Am I using Office 365 after the service upgrade?
Expand all | Collapse all

On This Page

PROBLEM

When you try to access Microsoft Lync Online by using Microsoft Lync 2010 or Microsoft Lync 2013, you may experience the following issues:
  • You're repeatedly prompted to provide a user name and a password to connect to Microsoft Exchange.
  • You may also receive the following message: 

    Credentials are required

    Collapse this imageExpand this image
    Screen shot of "Credentials are required" message


Note The message that you receive may vary, depending on which service Lync is trying to connect to. You may be prompted for credentials when Lync tries to connect to any of the following services:
  • Calendar and Free/Busy information from Outlook
  • Exchange Web Services (EWS)
  • Response Group Service
  • Address Book Service

SOLUTION

This issue occurs for multiple reasons, and in certain scenarios, it is the expected behavior. Lync generally prompts you for credentials only after you're signed in and when it must connect to an external service such as the Microsoft Exchange Free/Busy service or the Exchange Calendar service. If Lync continues to prompt you for credentials after it has done this several times, there's probably an issue with Outlook or with the Exchange services.  

Solutions for Lync users

Collapse this imageExpand this image
assets folding start collapsed
If a firewall or a proxy is blocking Lync from connecting to EWS, you may experience symptoms such as repeated credential requests, stale Address Book Service (ABS), and intermittent Free/Busy presence issues. To resolve this problem, verify that the user has the correct proxy configured in Internet Explorer. To do this, follow these steps:
  1. Start Internet Explorer.
  2.  On the Tools menu, click Internet Options, click Connections, and then click LAN Settings.
  3. Make sure that the Automatically detect settings option is selected. If your organization requires you to enter specific information for the proxy server or an automatic configuration script, contact your network administrator.
  4. Restart both Internet Explorer and Lync to check whether the problem is resolved. If the problem persists, go on to the next section.

Lync can’t connect to Outlook or EWS

If Lync doesn't integrate automatically with Outlook, Lync prompts you for credentials before it lets you connect to Outlook to retrieve Calendar and Free/Busy information. If you are prompted repeatedly after you enter your credentials, see the following Microsoft Knowledge Base article: 
2436962 "There was a problem connecting to Microsoft Office Outlook" error when you sign in to Lync Online
If Lync doesn't automatically connect to EWS, Lync prompts you for credentials before it lets you access the EWS URLs. If you are still prompted after you enter your credentials, see the following Microsoft Knowledge Base article:
2787614 Conversation history, contact cards, Free/Busy, and Out of Office information are unavailable when Lync fails to connect to Exchange 

Collapse this imageExpand this image
assets folding end collapsed

Solutions for Lync administrators

Collapse this imageExpand this image
assets folding start collapsed

Lync can’t connect to Outlook or EWS

If the Exchange server or EWS is unavailable, this causes Lync to continuously prompt for credentials because it can't contact Exchange for authentication. To resolve this issue, verify that Outlook has connectivity to the mailbox. If Outlook can't connect to Exchange, troubleshoot the issue as an Exchange connectivity issue. For more information, see the following Microsoft Knowledge Base article:
2787614 Conversation history, contact cards, Free/Busy, and Out of Office information are unavailable when Lync fails to connect to Exchange
If a firewall or a proxy is preventing Lync from connecting to EWS, you may experience symptoms such as repeated credential requests, stale ABS, and intermittent Free/Busy presence issues.

Ports 443, 5060, and 5061 must be open on the firewall and on proxy servers to let traffic pass freely. For more information about firewall or proxy issues in an Office 365 environment, see the following Microsoft Knowledge Base article: 
2409256 You can't connect to Lync Online, or certain features don't work, because an on-premises firewall blocks the connection 
Collapse this imageExpand this image
assets folding end collapsed

Still need help? Go to the Office 365 Community website.

Properties

Article ID: 2298541 - Last Review: October 11, 2013 - Revision: 37.0
Applies to
  • Microsoft Office 365 for enterprises (pre-upgrade)
  • Microsoft Office 365 for small businesses  (pre-upgrade)
  • Microsoft Office 365 for education  (pre-upgrade)
  • Microsoft Lync Online
  • Microsoft Lync 2010
  • Microsoft Lync 2013
Keywords: 
o365 o365a o365p o365e o365062011 pre-upgrade o365022013 after upgrade o365m kbgraphxlink kbgraphic KB2298541

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com