16,813 total views, 2 views today
I think this is not new to SharePoint users – while we access SharePoint site or any document from SharePoint, the users are asked to enter the credentials multiple times which actually frustrates the users.
What is the reason behind this?
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?
Now, we knew that what 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 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 unveils 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.
- 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 – what we had here?
Thus, in this article, we have learned about the root causes of the multiple times of authentications and its fixes or the possible reason of why multiple times SharePoint users are asked to enter the credentials.
- 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
- In 4 steps access SharePoint online data using postman tool
- 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