Paul Liebrand's Weblog

Welcome to my blog mainly about SharePoint

Skip to: Content | Sidebar | Footer

Google Search

SharePoint consistently prompting for user credentials

2 April, 2008 (07:04) | SharePoint | By: Liebrand

"Why is SharePoint consistently requesting for user credentials?"

This is a question I see on a regular basis when people are using SharePoint and usually the solution is relatively simple.  Hopefully this post will help people through the different options to eliminating this frustrating credential popup screen.

CredentialPopup

Scenario 1 : Users are part of a domain

If you are receiving the credential popup screen when your users are part of the domain this normally means the site is not falling into the correct Internet Explorer security zone. Take note of the security zone the SharePoint site is part of when you navigate to it.  The security zone can be seen in the lower right corner of Internet Explorer.

CredentialZone

The zone should read Intranet or Trusted Sites; if it reads Internet (as shown above) this is likely the cause of your credential popup issue. To resolve this simple add the URL of your SharePoint site to the appropriate zone (Intranet or Trusted).

The following screen shots demonstrate adding the site to the Trusted Zones:

CredentialOptionsTrustedSites

CredentialOptionsTrustedSitesAdd

NOTE: If your SharePoint site is NOT using SSL, make sure you uncheck the box Require server verification (https:) for all sites in this zone prior to adding it.

If you did this successfully, the security zone should now read Trusted Sites.

If you continue to get the user credential popup after making this change then you need to also check the settings for the Trusted Sites zone.

You want to make sure that the User Authentication > Logon is set to Automatically Logon with current user name and password is set. You can get to this setting by clicking on Trusted Sites and then clicking Custom Level and scroll right to the bottom.

Scenario 2 : Users are not part of the domain but have a valid user name and password

The best way to have a seamless experience with SharePoint in this scenario is to add the SharePoint server, user name, and password to the managed passwords feature of Windows. Once added, anytime you access a resource that matches that server name, Windows will automatically pass it the credentials thus eliminating the popup screens.

To access the managed password feature of Windows (http://support.microsoft.com/kb/306541), follow these steps:

1. Click Start, and then click Control Panel.
2. Open the User Accounts dialog box.
3. Open the Stored User Names and Passwords dialog box by clicking on the Manage my network passwords button

CredentialStoredUsernamePassword

4. Click the Add button and type your SharePoint URL (without HTTP), user name, and password, for example:

CredentialStoredUsernamePasswordAdd

5. Click OK

Now you should be able to access your SharePoint resources without being prompted for credentials since Windows will handle that for you automatically.

Obviously, the downside to this is if you change your password, you will need to come back here to update it or you may land up getting the popup screens again.

Hopefully this helps and if anyone else has any other tricks they have used to get around this, please feel free to let me know.

[Update]

Are you using Vista and none of the solutions above are solving your problem?  Check out this Microsoft KB article: http://support.microsoft.com/kb/943280


Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit