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

Identity Authentication - missing Add-ObjectDetail function

SpartoK opened this issue · comments

hi,
getting the following error when trying to use with pspas module, after using use-PASSession $header

Add-ObjectDetail : The term 'Add-ObjectDetail' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\IdentityAuth\IdentityAuth.psm1:142 char:17
} | Add-ObjectDetail -TypeName psPAS.CyberArk.Vault.Sessi ...
~~~~~~~~~~~~~~~~
CategoryInfo : ObjectNotFound: (Add-ObjectDetail:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

Would it be possible to add this dependency in the identity authentication module please?

There are two thoughts here, we can or create our own function or import WFTools. We can also ask psPete module to make it public for us to use.