Invoke powershell cant import module

hi guys, i try to use invoke powershell activity, i read the script file first, get the value, and use it in invoke powershell activity, but i get this error

it works perfectly fine when i run it on powershell
any suggestions ?

this is my script (680 Bytes)

hi @RobertoEwaldo,
As I see inside your PS script you are using Import-Excel command. You could try run Studio with administrative privileges. This may help.

Hello RobertoEwaldo, have you been able to resolve this issue? I am experiencing a similar issue with a different module, that is installed on my machine and when I execute my powershell script on it’s own, it works flawlessly, but when trying to invoke it on OU path I get a similar error. I haven’t had any luck finding the answer.