Privilege Cloud - Restore Orphaned Safe

Privilege Cloud - Restore Orphaned Safe

1403
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:08 PM


Symptom


Managing a Safe, its permissions, and its members has become limited due to the absence of a Safe owner with full permissions. Customers may lose access to Safes when the Safe owner leaves the organization without assigning a backup group with full permissions. Misconfigurations where a Safe's only full permissions owner is deleted can also cause a Safe to become orphaned.

In order to restore Safe access, the Master user account must be leveraged to give the required user, group, or role full permissions ownership of a Safe to avoid business disruption.



Environment


12.2;12.6;13.0;13.2;14.0;14.2;14.3;14.5;14.6 Privilege Cloud Privilege Cloud Web Portal

Privilege Cloud Web Portal - Safe Management
 



Cause


A Safe is considered orphaned when a customer has lost complete ability to manage the Safe, meaning add/edit/remove authorizations due to the deletion of the original designated user, group, or role defined during the Safe creation process with no designated backup user/group/role with access to manage the Safe by any means. Please note that customers are solely responsible for the tracking and management of Safe owner permissions as they change and in accordance with their own organizational needs.

Note: "When you edit a Safe member's permissions, you can assign only the specific permissions that your user has. You can only edit a Safe member's permissions who has either the same permissions that you have or less permissions." (Privilege Cloud Standard doc) (Privilege Cloud Shared Services doc)



Resolution


Another user, group, or role must be given full permissions ownership on each Safe that has become orphaned. Once the access has been recovered, you can leverage the new full permissions owner to add more members per your requirements.

The Master user account is the only account that can be leveraged to correct a Safe's orphaned status. CyberArk's Cloud Engineering team is the only team able to utilize this account. In order to request assistance from the Cloud Engineering team, you must open a support case with CyberArk Support. They'll coordinate the request between you and the Cloud Engineering team.

1.  Download the CyberArk Privilege Cloud Tools zip file to the desktop on one of your Connector servers, which contains the Get-OrphanSafes.ps1 script and the PS Modules folder - https://community.cyberark.com/marketplace/s/#a352J000000GWAZQA4-a392J000002tNgLQAU

2.  After extracting the zip file, open Powershell from the folder that contains the Get-OrphanSafes.ps1 script and PS Modules folder, run the Get-OrphanSafes.ps1, and provide Support with the CSV files the script outputs. There will be 3 CSV files generated by the script:

 

  • Safes Full Permissions
  • Safes Orphaned Uniq
  • Safes Orphaned

 

See example screenshots below.

 

When entering the username, it needs to be ran with a user that has the Auditor role!

If you don't run the script in Powershell from the directory that contains the PS-Modules folder, the script will not run!

 






3.
Open a support case using the following designations (attach CSV files to the case):

     Product: Privilege Cloud
     Component: Privilege Cloud Web Portal
     Functional Area: Safes

4. When completing the case's description field, all of the components listed below must be included (guidelines listed beneath each):

     • The user, group, or role that you want to be given full permissions ownership*

     • List of all Safes that are orphaned*
      --- Alternatively, you can attach the list as a file attachment.
      --- List must be comprised of orphaned Safes, only.
      --- List cannot be relayed to the Cloud Engineering team so long as it contains 1 or more Safes that are not orphaned.
      --- Support cannot create or complete this list for you.
      --- However, Support can provide you with an Owners List Report containing all Support-accessible Safes if you request one.

     • Date and time possibilities the change can be made*
      --- Times must be more than 24 hours in advance.
      --- Implementation typically takes 30 minutes, so indicate 30 min timeframe possibilities.
      --- Provide 3 date/time possibilities in case your first or second choice isn't available for scheduling.

* Please note that Support cannot proceed with submitting your case to Cloud Engineering if 1 or more of the above items is missing. You may cause delays if everything isn't included.

5. Once you've submitted your case, Support will check your tenant's backend to confirm if a Vault service restart will be necessary or not.**

6. Once this has been confirmed, they'll coordinate between you and Cloud Engineering for scheduling implementation. They'll also confirm with you regarding the time Cloud Engineering commits to.

7. Support will notify you of completion after Cloud Engineering has finished their implementation.

**Important Note:
If Encryption Key Provider (EKP) settings are already enabled in your tenant's backend, a Vault restart will not be required (encryptionKeyProviderEnabled: true). Support will always review this for you on the backend and will confirm if it's enabled or not. If EKP settings aren't already enabled when Support reviews (encryptionKeyProviderEnabled: false), 1-2 brief Vault restarts will be required during Cloud Engineering's implementation window. Requests can only be scheduled during US, Israel, or India business hours (9am-5pm). Requests cannot be scheduled for Saturday or Sunday (Maintenance Window). The timing of that change window will be coordinated with customers and won't be scheduled without customer approval. 

A Vault service restart takes approximately 10 to 30 seconds and disconnects active sessions. Anyone on your side using CyberArk functionality should expect those services to become unavailable, interrupted or disconnected during those seconds. Once the Vault service restart completes, you can log back into the Privilege Cloud portal and open a new session.



Actions
  • Print
  • Copy Link

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