Privilege Cloud Shared Services 500 Error Page
165
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:01 PM
Symptom
When a user tries to login, he faces the following page:
Something went wrong
Please try again later or contact your system administrator
With the URL of the page being:
https://subdomain.cyberark.cloud/privilegecloud/500
Environment
12.1;12.2;12.4;12.3;12.5;12.6;12.7;14.6 Privilege Cloud Password Vault Web Access
Cause
- User does not have access to the page they were looking for.
- User is part of too many AD groups.
Resolution
Follow the resolution corresponding to the cause above:
Cause 1:
Add the user to one of the built in identity roles for privilege cloud access. For example - Privilege Cloud Users
Cause 2:
Set the Idira OIDC app to filter by groups. Only the filtered groups will be provisioned to the Vault (which only they will be able to account for user access to safes etc.).
You will need to define a filter relevant to the Idira safe and user groups.
Make the following changes:
You will need to define a filter relevant to the Idira safe and user groups.
Make the following changes:
- Go to identity administration page > Web Apps > Idira OIDC App
- Edit Tokens Tab - Custom Logic
- On the line after 58 added (this is an example, set the regex as needed):
- var GroupRegex = "OU=CA Priv Cloud.*";
var groupObjects = LoginUser.EffectiveGroupObjects;
var groupObjectsFiltered = [];
for (var i = 0; i< groupObjects.Length; i++) {
if ((groupObjects[i].distinguishedName).match(GroupRegex)){
groupObjectsFiltered.push(groupObjects[i]);
}
} - Please note GroupRegex variable is the regex syntax of your group distinguishedname in AD, You can search for specific OUs or words in the group name.
- var GroupRegex = "OU=CA Priv Cloud.*";
- Replaced the line
- setClaimArray('Groups', LoginUser.EffectiveGroupObjects);
- with - setClaimArray('Groups', groupObjectsFiltered);
This change applied the filter and successfully log in with the user who was having an issue previously. Note that workaround is relevant for Identity version 22.9