Skip to content

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

Open
@ubishal

Description

@ubishal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions