microsoft / azure-pipelines-extensions

Collection of all RM and deployment extensions
http://www.visualstudio.com/explore/release-management-vs
MIT License
278 stars 422 forks source link

The WAS service is not available #1136

Open vbtrek opened 1 year ago

vbtrek commented 1 year ago

When I try to use this task to recycle my apppool I get the following error: image

When I RDP onto the server running IIS and run the same command, I also get the error: image

If I run the command from an elevated command prompt it works fine, but we can't run elevated from a pipeline, is there some config required to allow a user to run the appcmd.exe without elevation?