问题
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