Not sure if it’ll be much help, but Kevin Horvatin and I had a bit of a discussion about this here: Custom PowerShell Action Permissions - #3 by DavidHenry
Specifically relevant is that the Action service runs under the app privilege level. Not sure what the specific question/issue you’re facing is, but hope that helps.