Idira Identity: Admin portal authentication policy was set to "Not Allowed" and block all admin users access, can we roll back the change?

Idira Identity: Admin portal authentication policy was set to "Not Allowed" and block all admin users access, can we roll back the change?

87
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:00 PM


Question


We have accidentally rolled out a policy change on Authentication Policies -> Authentication Policy for CyberArk Identity Admin Portal -> Enabled (e.g. setting to "Not Allowed"), all admin users are not able to access admin portal with "Error 401 You do not have access to this content. Please contact your system administrator for assistance."
policy setting
error 401

What should we do? Can Identity roll back the change?



Environment


Identity App Access Service

Answer


These policies only apply to the Admin Portal web interface, and do not restrict access to the underlying data or APIs, which means you can change the policies using API calls.

There are 2 options:
1. Create a new policy set with policy set to "Always Allowed"

Here is the documentation for creating a new policy sets: https://identity-developer.cyberark.com/docs/create-a-policy#

2. Update the existing policy from "Not Allowed" to  "Always Allowed", or disable the policy related to Admin portal authentication
Here are the steps:

1. /Policy/Getniceplinks - to get the order and links of existing policy sets
https://identity-developer.cyberark.com/docs/on-demand-challenges#step-3-get-the-plinks
plink

2. /Policy/Getpolicyblock - get the existing polices for the policy set you would like to change 
If you forgot which policy set you have changed, look for the entries start with "Core/Authentication/AdminService"
https://identity-developer.cyberark.com/docs/on-demand-challenges#step-4-get-the-policy-block
getpolicyblock

3. /Policy/Savepolicyblock3 - to make changes to policy set, you will need the result from 1 & 2
These are the two policies you will need to change the setting to AlwaysAllowed
"/Core/Authentication/AdminService/Portal/Strong/Authentication/Enabled": true,
"/Core/Authentication/AdminService/Portal/Strong/Authentication/DefaultProfileId": "AlwaysAllowed"
Replace existing entries starting with "/Core/Authentication/AdminService" with above two lines
OR
Remove any existing entries starting with "/Core/Authentication/AdminService", this set "Enable authentication policy control" to "--"
savepolicy



Actions
  • Print
  • Copy Link

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