Audit - Error 403 trying to access System Activities and Session Monitoring with global auditor assigned to user role

Audit - Error 403 trying to access System Activities and Session Monitoring with global auditor assigned to user role

119
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:09 PM


Symptom


User is getting a 403 error when trying to access System Activities and the error "You can't view this content" when trying to access Session Monitoring. User is a member of the global audit role


image.png

image.png



Environment


Identity App Access Service

Audit and Reports



Cause


The user has been assigned an excessive number of roles. This is causing the total size of the authentication cookie to exceed the browser-supported limit (typically 4KB), resulting in roles truncation in the cookie.



Resolution


To verify that the roles have been truncated in the authentication cookie the user can:


1. Log in to the tenant.

2. Open the browser’s Inspect tab and go to the Application section.

3. Under Cookies, select their username and copy the ID token.

4. Decode the ID token and check the user_roles field.

5. Confirm whether "global auditor"(in lower case with space) is present.


If the user_roles field on the ID token appears to be empty like in the below example:

image.png


Then the roles have been truncated.


To fix this, check the user roles in Identity Administration to identify and remove any unused or redundant roles



Actions
  • Print
  • Copy Link

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