- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
12-03-2023 06:01 AM
Hi All,
Trying to update the safe description using PowerShell module but getting an error saying "Missing Mandatory Parameter [SafeName] though i have provided the correct safe name.
Kindly refer the attached image for reference.
N.B : Safe Name, PVWA URL and the permission on the account is fine.
12-03-2023 07:51 AM
Hi @Lakshmidhan Sinha Please try including double quotes for the safe name.
12-03-2023 08:05 AM
Tried but unfortunately same error..
12-03-2023 08:48 AM
Hi @Lakshmidhan Sinha Just to check is that the entire script mentioned in the screenshot?
I see the API Endpoint / PVWA API URL is not defined
12-03-2023 09:04 AM
Actual pvwa url and safe name is not shared in the screenshot but I have entered the correct values there.
Also the error is mentioning about the missing mandatory parameter [ Safe Name] in invoke-PASRestMethod which I think comes under the workflow process of New-PasSesion. ( not sure though)
12-03-2023 02:55 PM
Hi @Lakshmidhan Sinha
Does your script includes 'SafeName' in the 'Body' section of the API?
Please have a look at the following link. Hope this helps !
https://docs.cyberark.com/PAS/10.10/en/Content/WebServices/Update%20Safe.htm
12-03-2023 07:46 PM
Actually i am using psPAS module following the link "https://pspas.pspete.dev/commands/Set-PASSafe" to update the safe description and there mentioned the safe name manually directly in the command
12-03-2023 11:21 PM
psPAS is geared towards PAM self-hosted and therefore can be a bit hit or miss when using it with Privilege Cloud. That being said, this should work as it seems a similar issue was fixed in version 5.2. Are you using the latest version?
12-03-2023 11:28 PM
We are using the psPAS version 5.2.54
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

