Jun 03 2022 04:51 AM
Hi,
I have a Windows 2012 server with a Azure DevOps agent running on it. The agent was registered with a regular Windows NT authority login. I am required to execute a powershell task using the Azure DevOps pipeline. The powershell will execute a .exe hosted on the server but it needs to pass some user credentials to the .exe.
In the pipeline task, we have tried using the Start-Process cmdlet and passed the path to the .exe, and argument objects, but the pipeline doesn't execute the powershell script. It looks like in order for the agent to launch the Powershell remotely, it needs to have Administrator privileges. Can someone verify this is true? If yes, how can we elevate the agent privileges to allow it to launch the PS session?
Any help appreciated.
Jun 03 2022 05:05 AM
Jun 03 2022 05:19 AM
Jun 03 2022 01:01 PM
Jun 17 2022 05:03 AM
Jun 17 2022 06:47 AM
Jan 27 2023 02:41 AM
@vaibhavkolheI have the same problem. Can you please tell more details?
Jan 27 2023 05:02 AM
@RomanPavliv - The team member who resolved it is currently on leave. I should be able to provide a response next week.