Outlook continually prompts for your password when you try to connect to Office 365

Symptoms
When you try to create an Outlook profile or connect to a Microsoft Office 365 mailbox, you're continually prompted for credentials while the client displays a "trying to connect..." message. If you cancel the credentials prompt, you receive the following error message:

The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action.
Cause
This issue can occur if the Logon network security settingon the Security tab of the Microsoft Exchange dialog box is set to a value other than Anonymous Authentication.

The screenshot for the cause

Resolution
To fix this issue, change the Logon network security setting to Anonymous Authentication. To do this, follow these steps:
  1. Exit Outlook.
  2. Open Control Panel, and then do one of the following:

    • In Windows 10, Windows 8.1, or Windows 7, click Start, type control panel in the search box, and then press Enter.
    • In Windows 8, swipe in from the right side to open the charms, tap or click Search, and then type control panel in the search box. Or, type control panel at the Start screen, and then tap or click Control Panel in the search results.
  3. In Control Panel, locate and double-click Mail.
  4. Click Show Profiles, select your Outlook profile, and then click Properties.
  5. Click E-mail Accounts.
  6. Select your email account, and then click Change.
  7. In the Change Account dialog box, click More Settings.
  8. In the Microsoft Exchange dialog box, select the Security tab.
  9. On the Login network security list, select Anonymous Authentication, and then click OK.
  10. Click Next, click Finish, and then click Close on the Account Settings dialog box.
  11. Click Close on the Mail Setup dialog box, and then click OK to close the Mail control panel.
More information
To locate and view the registry setting for Anonymous Authentication in the Outlook profile, follow these steps.

Important Modifying the Outlook profile by using the "Profiles" registry path is not supported and may cause your Outlook profile to be in an unsupported state.

Important Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you access it, back up the registry for restoration in case problems occur.

  1. Open Registry Editor. To do this, do one of the following:

    • In Windows 10, Windows 8.1, or Windows 8, press the Windows logo key+R to open the Run dialog box, type regedit.exe, and then click OK.
    • In Windows 7, click Start, type regedit in the Start Search box, and then press Enter. If you're prompted for an administrator password or for confirmation, type the password, or click Allow.
  2. Locate the following registry path, as appropriate for your version of Outlook:

    • For Outlook 2013
      HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles
    • For Outlook 2010 and 2007
      HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles
  3. Under this subkey, locate and expand the name of your Outlook profile.
  4. Under the profile, locate and expand the 9375CFF0413111d3B88A00104B2A6676 key. 
  5. Under the 9375CFF0413111d3B88A00104B2A6676 key, you see a subkey for each account in your profile. Select the first subfolder (00000001), and then examine the data of the Account Name binary value by double-clicking the value. Repeat this process until you find the Account Name value that includes your SMTP address. For example, the Account Name value points to guidopica@contoso.com under the \00000003 subkey.
  6. Under the \0000000x subkey, locate the Service UID binary value. It represent a GUID (for example, c3 d1 9a 7b 80 1b c4 4a 96 0a e5 b6 3b f9 7c 7e). 
  7. Locate the subfolder in your profile that matches the GUID value that's identified in step 6 (for example, \c3d19a7b801bc44a960ae5b63bf97c7e). 
  8. Under the subkey that you found in step 7, examine the 01023d0d binary value. It represents a GUID (for example, 5f cf d5 f1 ba 5c 6f 45 b3 57 cc 5e 0d 16 94 58). 
  9. Locate the subfolder in your profile that matches the GUID value that's identified in step 8 (for example, \5fcfd5f1ba5c6f45b357cc5e0d169458). 
  10. Under the subkey that's found in step 9, examine the value of the 00036619 binary value. This value determines whether Outlook is using Anonymous Authentication.

    Binary: 00036619
    Data:
    01 f0 00 80 == Anonymous Authentication
    Any other value represents an authentication method other than Anonymous.

    The screenshot for step 10
Propiedades

Id. de artículo: 2984912 - Última revisión: 03/21/2016 23:53:00 - Revisión: 3.0

Microsoft Outlook 2013, Microsoft Outlook 2010, Microsoft Office Outlook 2007, Microsoft Exchange Online

  • o365e o365m o365022013 o365 o365a kbgraphic kbgraphxlink KB2984912
Comentarios