Azure-docs: Document about permissions issue

Created on 18 Sep 2019  Â·  2Comments  Â·  Source: MicrosoftDocs/azure-docs

The #1 reason performance counter does not work is because the app do not have permission to read perf counter. It should be documented here how to check this, and how to grant permissions to performance counter.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Azure-Monitosvc Pri2 application-insightsubsvc application-insightsvc assigned-to-author doc-enhancement triaged

Most helpful comment

For me that was because my pool was running under the ApplicationPoolIdentity account. Changing it to "LocalSystem" fixed it.

You can also add your pool to the performance monitor group :
net localgroup "Performance Monitor Users" /add "IIS APPPOOL\NameOfYourPool"
Restarting pool+app doesn't work, you need to call the iisreset command instead.

All 2 comments

@cijothomas Thank you very much for pointing this out. I'll assign this to the author so they can update our documentation.

For me that was because my pool was running under the ApplicationPoolIdentity account. Changing it to "LocalSystem" fixed it.

You can also add your pool to the performance monitor group :
net localgroup "Performance Monitor Users" /add "IIS APPPOOL\NameOfYourPool"
Restarting pool+app doesn't work, you need to call the iisreset command instead.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DeepPuddles picture DeepPuddles  Â·  3Comments

jharbieh picture jharbieh  Â·  3Comments

varma31 picture varma31  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments