无法从服务可执行文件路径 VisualStudioRemoteDeployer.exe 安装“VisualStudioRemoteDeployer”
错误跟踪
System.AggregateException: Failed to install 'VisualStudioRemoteDeployer8a9e167d-96ee-45c0-9a2c-6251509937e6' from service executable path VisualStudioRemoteDeployer.exe . Consult the logs below:
2018-09-14T13:25:32.8643473Z Exception calling "SetRight" with "2" argument(s): "OpenPolicy failed: 5"
2018-09-14T13:25:32.8643473Z CategoryInfo :NotSpecified: (:) [], MethodInvocationException
2018-09-14T13:25:32.8643473Z FullyQualifiedErrorId :Exception
2018-09-14T13:25:32.8643473Z ---> System.Management.Automation.RemoteException: Exception calling "SetRight" with "2" argument(s): "OpenPolicy failed: 5"
2018-09-14T13:25:32.8643473Z --- End of inner exception stack trace ---
2018-09-14T13:25:32.8643473Z at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.Invoke(String errorContextMessage, Boolean writeResultToLog, Boolean isCancellable)
2018-09-14T13:25:32.8643473Z at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.InstallServiceInternal(String serviceSourcePath, String serviceName, String destinationFileName)
2018-09-14T13:25:32.8643473Z at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.InstallService(String serviceSourcePath, String serviceName, String destinationFileName)
2018-09-14T13:25:32.8643473Z at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.DeploymentClient.<RunAsync>d__24.MoveNext()
2018-09-14T13:25:32.8643473Z ---> (Inner Exception #0) System.Management.Automation.RemoteException: Exception calling "SetRight" with "2" argument(s): "OpenPolicy failed: 5"<---