I am trying to install Dapr extension in my AKS cluster (https://learn.microsoft.com/en-us/azure/aks/dapr)
I get the following error
az k8s-extension create --cluster-type managedClusters --cluster-name yatp-demo-cluster --resource-group yatp-demo-rg --name dapr-extension --auto-upgrade-minor-version true --extension-type Microsoft.Dapr
Is Dapr already installed in the cluster? (y/N): N
(ExtensionOperationFailed) The extension operation failed with the following error: Request failed to https://management.azure.com/subscriptions/cc3eb119-9abc-4321-827a-0c62ad7baba7/resourceGroups/yatp-demo-rg/providers/Microsoft.ContainerService/managedclusters/yatp-demo-cluster/extensionaddons/dapr-extension?api-version=2021-03-01. Error code: Unauthorized. Reason: Unauthorized.{"error":{"code":"InvalidAuthenticationToken","message":"The received access token is not valid: at least one of the claims 'puid' or 'altsecid' or 'oid' should be present. If you are accessing as application please make sure service principal is properly created in the tenant."}}.
Code: ExtensionOperationFailed
Message: The extension operation failed with the following error: Request failed to https://management.azure.com/subscriptions/cc3eb119-9abc-4321-827a-0c62ad7baba7/resourceGroups/yatp-demo-rg/providers/Microsoft.ContainerService/managedclusters/yatp-demo-cluster/extensionaddons/dapr-extension?api-version=2021-03-01. Error code: Unauthorized. Reason: Unauthorized.{"error":{"code":"InvalidAuthenticationToken","message":"The received access token is not valid: at least one of the claims 'puid' or 'altsecid' or 'oid' should be present. If you are accessing as application please make sure service principal is properly created in the tenant."}}.