PVWA not starting with error 401 unauthorized for passwordvault/api/settings/configuration

PVWA not starting with error 401 unauthorized for passwordvault/api/settings/configuration

165
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:07 PM


Symptom


PVWA is not starting.  There are several errors in the browser developer console including:
  • 401 Unauthorized - https://<pvwa-url>/PasswordVault/api/settings/configuration
  • 401 Unauthorized - https://<pvwa-url>/PasswordVault/api/UserPreferences
  • 401 Unauthorized - https://<pvwa-url>/PasswordVault/api/currentuser


Environment


12.2;12.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA

Cause


PVWA web.config > cookieSameSite was not set to none.

Resolution


  1. In each PVWA IIS server, go to <Drive:>/inetpub/wwwroot/PasswordVault/web.config
  2. Find the node: <system.web> <sessionState .../>
  3. Ensure that the attribute cookieSameSite=none, for example:
<sessionState cookieSameSite="None"...[append rest of node parameter values] />


Actions
  • Print
  • Copy Link

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