pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
291 stars 91 forks source link

New-PASSession.ps1 not working #369

Closed amitgautam1990 closed 3 years ago

amitgautam1990 commented 3 years ago

We have deployed pspas v5.1.21 which was working well earlier recently in order to perform bulk taks I was trying to use pspas initially we need to get token for running session so inised New-PASSession. ps1 but even after authenticaring sucessfully powershell throws an error(acreenanjit of error attached) IMG_20210629_215759

pspete commented 3 years ago

@amitgautam1990 suggest providing details to show how you arrived at the error in the screenshot. As stated, it was working previously, so either something changed in your environment, or you did something differently, like provided an incorrect parameter value. The screenshot is not what authenticating successfully looks like.

You can always refer to the docs: https://pspas.pspete.dev/docs/authentication/

amitgautam1990 commented 3 years ago

got it i used incorrect BaseURL with /PasswordVault instead of just IIS Server