cyberark / epv-api-scripts

These API scripts enable CyberArk users to automate privileged account management task like account creation, user management, and more.

Home Page:https://www.cyberark.com/best

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logon Token is empty when running script for Privilege cloud

etebreezy opened this issue · comments

Hi,

I am trying to perform a bulk upload of safes using the script found in this link [https://github.com/cyberark/epv-api-scripts/tree/main/Safe%20Management]. My CyberArk environment is hosted on privilege cloud. Whenever I run the script, after authenticating, it throws the error: Logon token is empty. How can I run the script successfully on Privilege cloud?

Thanks

Hello,

Please ensure you are first getting a logon token using https://github.com/cyberark/epv-api-scripts/blob/main/Identity%20Authentication/IdentityAuth.psm1 then pass that token using -logonToken