2

When using their browser, suddenly most of my users are getting credential requests. The credential box appears on top of a fully loaded SharePoint page. Users can just close the credential box and use the page normally.

This is a new behavior. Does anyone know why this might be? And interestingly enough, I have been able to identify two users that do not get this behavior. Thoughts about why there are exclusions to this new behavior are welcome as well.

Thanks for thinking!

3

Most likely some AJAX call to a resource that the users are lacking permissions to access.

I would guess that the two users without the issue got some kind of admin role.

Check the console in your browser to see which call is causing the credential box to appear by looking for 401/403 error code.

  • The two users do have some sort of admin role. Using the IE Developer tools I do not see any 401 or 403, but I do see a POST to /_api/contextinfo that works fine for these two users (rc 200), but is PENDING for everyone else. I guess that's probably related to the prompt for credentials; the browsers for the two users are perhaps POSTing their credentials, but the others or not. – Ira D Jul 13 '17 at 19:24
  • Is the contextinfo call going to the web the user is on, or to the root web? What happens when the user cancells out of the login window? No error codes? – Frank H Jul 13 '17 at 19:44
  • The contextinfo seems to be going to the web the user is on. When the user enters their correct credentials, the POST is failing with a 401. When my credentials are used, the POST succeeds. Which I guess is what we are already seeing; my credentials are provided and work, most other users are having their credentials rejected and the credential window appears. – Ira D Jul 13 '17 at 20:23
  • @IraD I have had this issue multiple times but it has always been related with the lack of permissions. Which permission level do the users have? Read? Contribute? – Frank H Jul 14 '17 at 8:31
  • The users have differing permissions, but the one I am focusing on has Full Control. She is a member of the 'Owners' group. Also, if it were just permissions, I don't think the page content would be showing. – Ira D Jul 14 '17 at 13:42
1

You can try turning of the loop back services in the registry and the password prompt dialog box won't appear again. But before doing so.. make sure all the components of your server are up and running or else user will have to refresh the page again to login to the site again.

  • I am not familiar with loop back services. Would this be treating a symptom and not the cause? – Ira D Jul 13 '17 at 20:25
1

I owe all of you an apology as it appears that a 3rd party piece of JavaScript was actually demanding access to the root site of a web app.

Even they did not know that.

We were able to discover this in the ULS log. The user was correctly accessing the demanded site - this is why the underlying page was complete and correct - and then requesting access to the root site where there were no permissions - thus causing the credential box.

Thank you everyone for your efforts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.