Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcloud - Could not add safe member using Add-Safemember script in psPAS for pcloud #552

Open
ubishal opened this issue Dec 20, 2024 · 0 comments

Comments

@ubishal
Copy link

ubishal commented Dec 20, 2024

Describe the issue
A concise summary of the issue

To Reproduce
Steps to reproduce the behavior:

  1. Run the command: Add-PASSafeMember -SafeName $safename -MemberName $user -SearchIn $ldapname -UseAccounts $true -RetrieveAccounts $true -ListAccounts $true

Expected behavior
Script add user or group to the safe.

Screenshots & Console Output

<--Console Output Goes Here-->
Invoke-PASRestMethod : There are some invalid parameters
At line:292 char:13

  • ... $result = Invoke-PASRestMethod -Uri $URI -Method POST -Body $Body
  •               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: ({"Details":[{"E...id parameters"}:ErrorRecord) [Invoke-PASRestMethod], Exception
    • FullyQualifiedErrorId : PASWS167E,Invoke-PASRestMethod
**Your Environment**
Include relevant details about your environment

* PowerShell Version: 5.1.19041.5129
* psPAS Version: 6.4.80
* CyberArk Version: 14.2

**Additional context**
Add any other context about the problem here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant