Hello Mark Pearson,
Thank you for posting in Q&A forum.
Here are some steps you can try to troubleshoot:
- 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.
- Ensure that the storage account name and key are correctly configured and case-sensitive. Any discrepancies here can cause the extension to fail.
- 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.
- Make sure you are using the latest version of the AzPerfDiagExtension.
- Sometimes, HTTPS certificate chain issues can cause the extension to fail. Ensure that the VM has the correct certificates installed.
- 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.