We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
convert to securestring
ConvertFrom-SecureString : Access is denied.
Run PSM registration
ConvertTo-SecureString : Key not valid for use in specified state.
Run PSM hardening
... some steps failed: AppLocker
To Reproduce Run psm role on Windows Server 2019 with latest Patches installed.
Expected behavior No error, successful PSM-Installation.
Additional context After some googling I think the issue is related to those commands requiring a "user"-session: https://www.reddit.com/r/PowerShell/comments/jafyin/convertfromsecurestring_in_pssession_results_in/
I got the automation working by adding become (https://docs.ansible.com/ansible/latest/user_guide/become.html) to those 3 steps:
become
- name: Run PSM hardening become: yes become_method: runas become_user: Administrator win_shell: | ...
The text was updated successfully, but these errors were encountered:
Is there coming an official patch from cyberark on this one, or are you accepting patches?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
convert to securestring
fails withConvertFrom-SecureString : Access is denied.
Run PSM registration
fails withConvertTo-SecureString : Key not valid for use in specified state.
Run PSM hardening
fails with... some steps failed: AppLocker
To Reproduce
Run psm role on Windows Server 2019 with latest Patches installed.
Expected behavior
No error, successful PSM-Installation.
Additional context
After some googling I think the issue is related to those commands requiring a "user"-session:
https://www.reddit.com/r/PowerShell/comments/jafyin/convertfromsecurestring_in_pssession_results_in/
I got the automation working by adding
become
(https://docs.ansible.com/ansible/latest/user_guide/become.html) to those 3 steps:The text was updated successfully, but these errors were encountered: