我通过Azure Pipelines通过Web部署任务将.NET Web应用程序通过Azure VM上的IIS部署。
为此,我必须最初通过在Azure VM上运行脚本来配置部署组,如下所述(请参阅步骤5):
现在我已经完成了该项目,我已经完成了想要删除管道对Azure VM的许可。如何从Azure VM中删除Azure Devops管道的许可?
I deploy .net web app via azure pipelines onto IIS on an azure vm via the web deploy task.
To do this I had to initially configure the deployment group by running a script on the azure vm as explained here (see step 5): https://learn.microsoft.com/en-us/azure/devops/pipelines/apps/cd/deploy-webdeploy-iis-deploygroups?view=azure-devops&tabs=net#create-a-deployment-group
The project has completed and now I want to remove the permission of the pipeline to the azure vm. How to remove the permission of azure devops pipeline from an Azure VM?
发布评论
评论(1)
DevOps Pipeline使用该帐户(设置代理时,默认为“ NT Authority \ System”)访问代理。
您可以卸载部署组代理以删除访问:
。\ config.cmd remove
卸载。完成后,它将删除代理服务以及下面的VSTS组用户。
如果您指定用户未默认,则可以直接从计算机中删除用户以删除权限。
DevOps pipeline uses the account(when you setup agent, default is "nt authority\system") to access the agent.
You can uninstall the deployment group agent to remove the access:
.\config.cmd remove
to uninstall.After it's done, it will remove the agent service and also VSTS group user below.
If you specify user not default, you can even directly delete the user from the machine to remove the permission.