Office applications periodically prompt for credentials to SharePoint Online, OneDrive, and Lync Online

Symptoms

Users are periodically being prompted by Office 2013 and Lync 2013 for credentials to SharePoint Online, OneDrive, and Lync Online. 

The following are some examples of the credential messages:
  • Sign in with your organizational account
  • Credentials are required
  • We are unable to connect right now, Check your network connection.

Cause

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

User names and passwords entered for Office 2013 and Lync 2013 in order to log on to SharePoint Online, OneDrive, and Lync Online can be optionally saved in Windows CredMan. This typically happens when the user selects the Keep me signed-in check box. For federated user accounts, the user name and passwords are not saved. This is because Integrated Windows Authentication can be used, which does not require the password. For a third-party federated identity provider that does not support Integrated Windows Authentication, the password is not available from CredMan, and therefore it must be prompted for.

Resolution

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows
  1. Start Registry Editor.
  2. Navigate to the following registry subkey:
    Office 2016
    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
    Office 2013
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Identity
  3. Right-click the entry, and then select New.
  4. Add a new DWORD value to the registry called NoDomainUser, and then set it to a value of 1.

The registry entry alters the behavior for a federated user account so that the password is saved in CredMan.
Properties

Article ID: 2913639 - Last Review: Sep 23, 2015 - Revision: 1

Access 2016, Excel 2016, Microsoft Office Professional Plus 2016, Microsoft Office Standard 2016, Microsoft Project Professional 2016, Microsoft Project Standard 2016, Microsoft Publisher 2016, OneNote 2016, Outlook 2016, PowerPoint 2016, Skype for Business 2015, Visio Professional 2016, Visio Standard 2016, Word 2016, Microsoft Word 2013, Microsoft Excel 2013, Microsoft Lync 2013, Microsoft Access 2013, Microsoft Office Professional Plus 2013, Microsoft Office Professional 2013, Microsoft PowerPoint 2013, Microsoft Outlook 2013, Microsoft OneNote 2013, Microsoft Project Professional 2013, Microsoft Project 2013 Standard, Microsoft Publisher 2013, Microsoft Visio Professional 2013, Microsoft Visio Standard 2013

Feedback