Troubleshooting: Microsoft SharePoint On-Premise


The Trusted Identity Provider section is grayed out on the Edit AuthenticationAuthentication is distinct from authorization, which is the process of giving individuals access to system objects based on their identity. Authentication merely ensures that the individual is who he or she claims to be, but says nothing about the access rights of the individual. Authentication methods and protocols include direct auth, delegated auth, SAML, SWA, WS-Fed, and OpenID Connect. page.


Make sure Claims Based Authentication is selected as the preferred mode of authentication for this SharePoint application. From the Windows PowerShell command prompt, enter the following to set the specified user account as an administrator for the site:

$WebAppName = "http://" (http://)"

$wa = get­SPWebApplication $WebAppName

$wa.UseClaimsAuthentication = $true




Authentication fails and shows a webpage with the error, "An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed."


Open the web.config file for this web application and make sure custom errors are turned off in the web.config file.



<customErrors mode="Off"/>



Authentication fails showing a webpage with the error, "The Audience URI could not be validated."


Open the web.config file for this web application and add the following line:

(mode=Never) (Note that "Never" must be entered with a capital N).



<audienceUris mode="Never"/>




I changed authentication providers but there is no effect.


Refer to Resetting your IIS server (iisreset) should usually help.