Closed jmighion closed 6 months ago
There is not any change related with permissions and the AKS Version upgrade.
The affected permission "Microsoft.Resources/deployments/validate/action" is related to ARM and not any other resource provider.
This permission is required to be used for ARM/Bicep templates and is necessary to granularly be added and granted again under the subscription. Cx subscription manager will determine the permissions and scope of each user and element.
Here are the steps to accomplish and grant the permissions for deployments using templates.
To troubleshoot your error message, can you make sure that the client/app that you're using has the correct RBAC role or Microsoft.Resources/deployments/validate/action permission, over the /subscriptions/
https://github.com/Azure/Enterprise-Scale/wiki/ALZ-Setup-azure
In the next AKS granular list are shown the required permissions for AKS. Actually, deploying from CLI or portal should succeed. Microsoft.Resources/deployments/ is not part of the list.
https://learn.microsoft.com/en-us/azure/aks/concepts-identity#aks-service-permissions
Hello @AlftioH,
The main issue that we're seeing is that the Node Resource Group that is being created when the AKS is deployed is not getting the proper permissions propagated (Owner, assigned from the Marketplace Managed App Authorization settings), even though they are being assigned correctly in the Managed Resource Group where the AKS is deployed.
This is why we thought there was a regression somewhere in the past release, since it started happening late last week out of nowhere.
We got word from Microsoft that there was a misconfiguration in Azure Managed Application (AMA) service for 7 days. They have fixed the issue that prevented the role assignment for AMA publishers over the nodeResourceGroup.
Describe the bug Deploying a managed application requires cross tenant role assignments. When AKS is a part of the managed application, we're seeing authorization failures when trying to apply those role assignments.
To Reproduce Steps to reproduce the behavior:
Expected behavior This process has worked for a couple years now. This is done to avoid the ARM cache issue during a deployment by forcing a fresh cache by instantiating a new deployment.
Environment (please complete the following information):
Additional context Script for above: