permissions for New-AzAKSCluster

Stefan Kiessig 40 Reputation points
2025-02-17T21:48:03.4766667+00:00

Hello, I have 2 Azure environments (different Tennant / Subscription). In the first Tennant the script is running

New-AzKeyVault ...
New-AzAKSCluster ...

without any problems...

In the 2nd environment,

New-AzKeyvault ...

runs perfect and creates the keyvault.

But with

New-AzAKSCluster ...

I get the error.

“code": ”Authorization_RequestDenied” “message": ”Insufficient privileges to complete the operation.”

In both environments I am the owner of the subscription.

How can I solve the problem?

Thank you for your support.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,278 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,818 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.