You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am using the Safe-Management.ps1 script to try and add multiple safes at once to our new implementation of Privileged Cloud. When running the script, I am getting the following:
Starting script (v2.1.6)
Error Logging on. Error: Source:; Message: Get-LogonHeader: Not Found
->Source:Microsoft.PowerShell.Commands.Utility; Message: The remote server returned an error: (404) Not Found.
PS D:\CyberArk\Scripts>
I did some research, but I am not gifted enough on how to correct the Get-LogonHeader: Not Found error above. I read something about needing to utilize another script on here called IdentityRefresh_5.1.ps1 in conjunction with IdentityAuth.psm1.
Unfortunately I don't understand the documentation enough to get that to run and connect. Seems like if I get IdentityRefresh_5.1.ps1 working, I would then be able to run the Safe_Management.ps1 script.
I just don't know what to put for these values or where to find them:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am using the Safe-Management.ps1 script to try and add multiple safes at once to our new implementation of Privileged Cloud. When running the script, I am getting the following:
PS D:\CyberArk\Scripts> .\Safe-Management.ps1 -PVWAURL "https://Removed.id.cyberark.cloud/PasswordVault" -Add -FilePath "D:\CyberArk\Github-Files\BulkSafe-Test.csv"
Starting script (v2.1.6)
Error Logging on. Error: Source:; Message: Get-LogonHeader: Not Found
->Source:Microsoft.PowerShell.Commands.Utility; Message: The remote server returned an error: (404) Not Found.
PS D:\CyberArk\Scripts>
I did some research, but I am not gifted enough on how to correct the Get-LogonHeader: Not Found error above. I read something about needing to utilize another script on here called IdentityRefresh_5.1.ps1 in conjunction with IdentityAuth.psm1.
Unfortunately I don't understand the documentation enough to get that to run and connect. Seems like if I get IdentityRefresh_5.1.ps1 working, I would then be able to run the Safe_Management.ps1 script.
I just don't know what to put for these values or where to find them:
.\IdentityRefresh_5.1.1.ps1 -logonToken $srcToken -IdentityTenantURL "https://something.id.cyberark.cloud" [-GroupName "CyberArk - Vault Users"] [-UPN "User@lab.local] [-UUID "23b7f98c-60b4-4c01-a33f-4caa99472343"] [-UUIDArray @("23b7f98c-60b4-4c01-a33f-e4caa9947703","21b74328c-60b4-4c01-a33f-4caa99472343")]
Obviously I get the IdentityTenantURL, but not sure about the rest.
This would be huge for my rollout if someone could get me started.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions