title: OperationFailedException when using vNext template in Microsoft Release Management
body: <p>I am getting the following error while running a workflow in microsoft release management 2013 update 4:</p>
  
  <pre><code>System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.AggregateException: One or more errors occurred. ---&gt; Microsoft.TeamFoundation.Release.Common.Helpers.OperationFailedException: System.AggregateException: Failed to install 'VisualStudioRemoteDeployerbd3a8a59-325a-45d0-89f5-86a548554a12' from service executable path VisualStudioRemoteDeployer.exe . Consult the logs below:
  c:\Users\vmadmin\AppData\Local\Temp\mfurnl9w.0.cs(95) : ; expected
  
  c:\Users\vmadmin\AppData\Local\Temp\mfurnl9w.0.cs(94) :                     IntPtr policyHandle = IntPtr.Zero;
  
  c:\Users\vmadmin\AppData\Local\Temp\mfurnl9w.0.cs(95) : &gt;&gt;&gt;                     var attributes = new LSA_OBJECT_ATTRIBUTES()
  
  c:\Users\vmadmin\AppData\Local\Temp\mfurnl9w.0.cs(96) :
  </code></pre>
  
  <p>I am using a vNext Release Template. I have added an action "Deploy using PS/DSC" which is supposed to execute a powershell script on the machine.
  All I get is the above error.</p>
  
  <p>I have verified that remoting is setup as per here (on-premise section): <a href="https://www.visualstudio.com/en-us/get-started/deploy-no-agents-vs.aspx" rel="nofollow">https://www.visualstudio.com/en-us/get-started/deploy-no-agents-vs.aspx</a></p>
  
  <p>I have also referenced this: <a href="http://roadtoalm.com/2015/02/04/start-with-visual-studio-release-management-vnextvs-rm-for-dummies/" rel="nofollow">http://roadtoalm.com/2015/02/04/start-with-visual-studio-release-management-vnextvs-rm-for-dummies/</a>
  but our error is slightly different as it doesn't complain about the account. Although i am assuming the account is ok... I did use a couple variations and when the account is incorrect i get an obvious failure.</p>
  
  <p>any help would be appreciated.</p>