failed to instal performance diagnostics on VM

Mark Pearson 40 Reputation points
2025-03-19T11:26:33.33+00:00

I have 6 VM's in total in Azure, 2 dev SQL Servers and a domain controller, then the same setup but in a live environment. Appart from the tier and amount of disks, the machine are all run the same way.

3 dev servers all connect to performance diagnostics perfectly fine.

2 Live SQL servers are connected perfectly fine.

1 Live domain controller shows "Failed to instal performance diagnostics, please re-install extension AzPerfDiagExtension" even though it is connected to the same storage account and NSG's.So far I have tried:

  1. Reboot the machine
  2. Uninstall and re-install

Neither has made a difference.

Windows for business Windows Server Performance System performance
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-03-21T01:25:56.4533333+00:00

    Hello Mark Pearson,

    Thank you for posting in Q&A forum.

    Here are some steps you can try to troubleshoot:

    1. Review the logs for the AzPerfDiagExtension. You can find these logs in the Azure portal under the VM's Extensions section or directly on the VM at C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.Performance.Diagnostics.
    2. Ensure that the storage account name and key are correctly configured and case-sensitive. Any discrepancies here can cause the extension to fail.
    3. Double-check the NSG rules to ensure that the necessary ports for Azure diagnostics are open. Sometimes, even minor differences in NSG configurations can cause issues.
    4. Make sure you are using the latest version of the AzPerfDiagExtension.
    5. Sometimes, HTTPS certificate chain issues can cause the extension to fail. Ensure that the VM has the correct certificates installed.
    6. Verify that the VM has the necessary permissions to access the storage account. The VM should have the Microsoft.Storage/storageAccounts/listkeys/action permission.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.