Day 45: Azure Kubernetes Service (AKS) Setup and Management : Task failing

While trying to create the cluster , getting error
The client ‘kk_lab_user_main-1da765e3d16e4326@azurefreekmlprod.onmicrosoft.com’ with object id ‘29fc9abd-375f-493f-a1af-69c9d776b54d’ does not have authorization to perform action ‘Microsoft.Monitor/register/action’ over scope ‘/subscriptions/f0c3bcdd-5ce2-4fa0-8cf3-41559747512b’ or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed)",

You might have enabled a component in Monitoring.

Refer to this guide on creating an AKS cluster. Ensure you follow all steps as defined in the guide.

Thanks for the prompt response . It worked