HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials

HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials

136
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:01 PM


Symptom


When trying to use the Windows authentication the following message is returned:
"HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials"


Environment


10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access;Other (Technical) IIS

Cause


There are two potential causes of this problem:
  1. Windows Authentication role Service was not installed in IIS
  2. Directory mappings are not valid


Resolution


1. Install the "Windows Authentication role Service in IIS:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2. Ensure that the directory mappings are valid.
* Ensure that there is a proper LDAP configuration set up in the vault. Even though Windows auth is being used, it still requires an LDAP connection in order to get the user's DN and tie them with the appropriate vault permissions
* Verify the directory mappings in the vault

3. Verify that Windows Authentication is Enabled for PasswordVault\auth\windows



Additional Information


Details

SYMPTOM:
When trying to use the Windows authentication the following message is returned:
"HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials"

PROBLEM:
There are two potential causes to this problem:
1. Windows Authentication role Service was not installed in IIS
2. Directory mappings are not valid

SOLUTION:
1. Install the "Windows Authentication role Service in IIS:








































2. Ensure that the directory mappings are valid.
    * Ensure that there is a proper LDAP configuration set up in the vault. Even though Windows auth is being used, it still requires an LDAP connection in order to get the user's DN and tie them with the appropriate vault permissions
    * Verify the directory mappings in the vault

3. Verify that Windows Authentication is Enabled for PasswordVault\auth\windows





Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001WlrCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail