@Bansari Oza [ MTN Group - South Africa ]
I believe this error is caused by an issue with the RHUI certificate. The troubleshooting page here outlines the possible causes and solutions. You can run this command on the VM or use the cli run-command. Please try this then retry installing the extension.
az vm run-command invoke -g $MyRG -n $MyVM --command-id RunShellScript --scripts "yum update -y --disablerepo='*' --enablerepo='*microsoft*'"
Hope this helps! Let me know if this doesn't work or you have further problems.
If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!