Hi all,I implement the code, several months ago and everything was nice and smoothly, then suddenly:"Method not found: 'SimpleImpersonation.Impersonation SimpleImpersonation.Impersonation.LogonUser(System.String, System.String, System.String, SimpleImpersonation.LogonType)'." (Service Center logs)The code that was working:and th ePowershell Commander
then, today, in order to try to solve the issue, I used these credentials: (the same to read and write files)as you can see, and nothing change, the error "SimpleImpersonation.Impersonation" still persists.. Note: On private / onprem deployment you can create a user with sufficient rights to do wat you need to do and use that impersonation on the execution of your commands. and I've check issues and discussion on https://www.outsystems.com/forge/component-discussions/1783/powershell-commander-o11
and
https://www.outsystems.com/forums/discussion/77074/powershell-commander-hosted-outsystems/
but couldn't solve my issue.can you help with this please ? What steps can I try in order to solve this?
Found another component (Crypto API, action ComputeHash) where we just need to send the binary file and the checksum type (sha1). The solution with the Powersehll were way more complex, we need to download or copy the file to the environment ore-defined folder and then write the Powershell command with the folder/file path to generate the sha1.
----
I wrote a comment with more details here: https://www.outsystems.com/forums/discussion/18839/cryptoapi-question-regarding-computehash-function-for-sha-256-hash/