Access is denied when configuring AppInsight for IIS
Issue: You may encounter access denied errors when you choose not to use the built-in administrator account for IIS polling. This can occur if you create a new user and then add this user to the Administrator's group.
Cause: If the group policy or the local policy has Administrator Approval Mode set to Enable, the polling will fail with an error. This is usually because the administrator account does not have enough permissions.
- In your local security policy, click Local Policies > Security Options > User Account Control: Run all administrators in Admin Approval Mode.
This should be set to Disabled to let administrators poll properly.
- Click Local Policies > Security Options > User Account Control: Admin Approval Mode for the Built-in Administrator Account.
This should be Disabled for the built-in administrator to poll properly.
- When complete, rerun the AppInsight for IIS Automatic Configuration Wizard.