Hello Kartik Hegde •
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
I understand that you are experiencing issues trying to enable the add-on on AKS for Cost Analysis.
1-Please check and confirm that you are using the last Az cli version.
2- Could you please try to disable and enable the add-on again?
3-Below you can find some troubleshooting steps and documentation about this add-on:
- https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/extensions/aks-cost-analysis-add-on-issues
- https://learn.microsoft.com/en-us/azure/aks/cost-analysis
Also if the issues persist, please submit a support ticket - Azure create-ticket we will be more than happy to help.
Do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you.
Thank You.
Lisboa