Any suggestions on how to run a service on a remote machine under a certain user account from a release pipeline? The files are copied to the machine, then we need to run the .exe with a flag but only works when we run as admin.
So I was able to run the command via the built in “run powershell on remote machine” task in the release pipeline. Now i just need to encrypt the account login.
Yeah so it’s an in house service that we run from a folder via .net and an exe. I can run it fine from admin command line but normal CLI.
I’ve had situations where I needed to run jobs on an agent that ran as a specific service account that had specific permissions on the remote side in order to avoid the double hop authentication problem.
When you say service are you referring to an existing Windows service on the remote machine or is it something you are installing as part of the release that you need to run?