SharePoint credentials – Why are multiple times SharePoint users asked to enter the credentials? I think this is not new to SharePoint users – while we access the SharePoint site or any document from SharePoint, the users are asked to enter the credentials multiple times which actually frustrates the users.
Before getting into this article, you may also want to read:
Top 5 SharePoint Online Authentication Methods You Need to Know About
What is the reason behind this – SharePoint keeps asking for credentials (SharePoint credentials – SharePoint authentication issues)
The root cause of the problem is the security context. When we authenticate in Internet Explorer, we are providing our credentials within the context of a single application which is nothing but “Internet Explorer”. Then once we click on a document or open a document from SharePoint, we have just created another security context. On top of this, if we try to open Microsoft files like word, excel, this will again try to connect the office online server and authenticate there with another context. This continues as much as applications are involved in that particular SharePoint page or resource.
Microsoft says about this issue is – it is a known issue or by the design of SharePoint.
How to fix this issue? SharePoint keeps asking for credentials (SharePoint credentials)
Now, we knew the root cause of this issue, so we need to fix this issue. In order to fix this issue we need to perform one of the following or with the combinations.
- Implement Kerberos authentication in your SharePoint server.
- Connect all SharePoint servers that are part of the SharePoint farm under a single common domain and make sure all users available in the single active directory domain same as the SharePoint server domain.
- Make sure that there are no network devices, like proxy servers or firewalls which unveil the authentication information from the network communications between your local laptop/desktop and the SharePoint servers.
- If you have enabled Anonymous authentication then we need to make sure that Require Use Remote Interfaces permission is Disabled. Select your web application from Central admin -> Click on Authentication Providers -> Click on the Default zone. Then we will get the below page. Here if we see enable anonymous access is checked then ensure that Require Use Remote Interfaces permission is unchecked.
- We need to make sure that the SharePoint Web Services IIS website authentication configuration is correct means need to ensure the SharePoint Web Services IIS website is having the same authentication as your web application where you are facing problems. To verify this follow this navigation – Go to the IIS server and select the “SharePoint Web Services” web application and compare the below authentication with your SharePoint authentication.
- If you have DNS Proxy enabled, it is recommended that disable the DNS proxy and test your web application.
Summary – SharePoint keeps asking for credentials (SharePoint credentials)
Thus, in this article, we have learned about the root causes of the multiple times of authentications and their fixes or the possible reason why multiple times SharePoint users are asked to enter the credentials.
See Also: SharePoint Online tutorial
Access SharePoint Online data using Postman tool:
You may also like the below SharePoint Online tutorials:
- Office 365: Getting started with SharePoint PnP PowerShell – installation
- In 2 steps convert a classic SharePoint page to modern using PnP
- Office 365: Retrieve hub sites and associated sites using PnP Powershell
- Create a modern team site using PnP PowerShell in SharePoint
- SharePoint admin center: Learn SharePoint online administration in an hour – step by step
- SharePoint REST API: GET vs POST vs PUT vs DELETE vs PATCH
- Office 365: Understanding the hub site in SharePoint online
- SharePoint authentication
