[英]How to I add the IIS pool identity of my App Service local groups such as Performance Monitor Users
I am current working out how to host and existing APS.NET application in Azure but it needs to access registry keys in order to register performance counters.我目前正在研究如何在 Azure 中托管和现有 APS.NET 应用程序,但它需要访问注册表项才能注册性能计数器。 I have not come across a way to do this without needing elevated access.
我还没有遇到不需要提升访问权限的方法。 If I try to use the command line tools I get access denied.
如果我尝试使用命令行工具,我会被拒绝访问。 eg If I try to use commands like
例如,如果我尝试使用类似的命令
net localgroup "performance monitor users" IIS APPPOOL\MyServiceAppPool /add
One possibility is to use Windows Containers on App Service in which you have full control.一种可能性是在您可以完全控制的应用服务上使用 Windows 容器。
Here you can follow the quickstart to run a Windows Container in App Service: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-windows-container在这里,您可以按照快速入门在应用服务中运行 Windows 容器: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-windows-container
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.