Azure App service - User has insufficient permissions to collect Windows Performance Counters

白昼怎懂夜的黑 提交于 2020-01-25 07:53:06

问题


We have hosted a .Net application as an Azure App Service. I am trying to install an APM called New Relic. I am stuck at this error.

The executing user, IIS APPPOOL\XXX, has insufficient permissions to collect Windows Performance Counters.

I understand how this can be handled in a VM with access to IIS Application insight monitor doesn't send data to portal due to insufficient permission

I also didn't find any setting via Azure KUDU console.

However, I am trying to find how to setup "Users and Groups" in an Azure App Service Environment.


回答1:


Follow standard procedures to update the .NET agent to 8.18.241.0.

For .NET Framework it will fix an issue where a large number of error messages may be reported on agent startup due to insufficient permissions of the app-pool user to create performance counters. In this release, a specific warning message regarding permissions will be reported.

If you are upgrading from a particularly old agent, review the list of major changes and procedures to upgrade legacy .NET agents.



来源:https://stackoverflow.com/questions/59608179/azure-app-service-user-has-insufficient-permissions-to-collect-windows-perform

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!