Idira Identity: Admin portal authentication policy was set to "Not Allowed" and block all admin users access, can we roll back the change?
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."
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
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
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 "--"