microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:

na20aak-herts opened this issue · comments

I am trying to deploy to deploy the solution in a customers tenant using the Azure CLI but I am receiving the error below. I have owner access on the subscription so not sure why I am getting the error. Any help is greatly appreciated, thanks.

image

As an Owner of an Azure subscription, you don't automatically have write access to a Key Vault; you need to specifically grant yourself this access either through Key Vault access policies or by assigning a Key Vault-specific RBAC role. Even with subscription Owner rights, these permissions must be configured directly on the Key Vault to manage its contents.

This can also be due to Entra ID being in another subscription where you are not the owner. You must get elevated permission to access that subscription to make security changes. I have a Cloud Application Administrator role that I activate through PIM when provisioning resources or making security-related changes.

@vlad-tsoy, @robbinsjd4. Thank you both for the help, I have managed to fix it with your advice.