It looks like the runner uses the nt authority\network service account to run PowerShell commands (checked using whoami within the workflow).
This isn't useful when trying to deploy my app to my server. For example, I need to use schtasks.exe which gives ERROR: Access is denied.
Can I give extra privileges to the runner to avoid issues like this?
It looks like the runner uses the
nt authority\network serviceaccount to run PowerShell commands (checked usingwhoamiwithin the workflow).This isn't useful when trying to deploy my app to my server. For example, I need to use
schtasks.exewhich givesERROR: Access is denied.Can I give extra privileges to the runner to avoid issues like this?