You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Version 4 Deployment Failing for Contributor Role #579
I was upgrading to version 4 and now I can't deploy:
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: validating deployment to subscription:
Authorization failed for template resource '_guid_' of type 'Microsoft.Authorization/roleAssignments'
Is there any way to deploy without having the assign roles permission? Can the template be changed to support that? I am a contributor in Azure and want to just deploy.
Henry LaFleur (@lafleurh), you can remove the roleAssignments part of the bicep files. Then change manually the permission on the Azure storage. Doing so you are lowering the security however.
Activity
fboucher commentedon Jun 22, 2025
Henry LaFleur (@lafleurh), you can remove the roleAssignments part of the bicep files. Then change manually the permission on the Azure storage. Doing so you are lowering the security however.
tdannecy commentedon Nov 24, 2025
I am in the same situation with Contributor on the Subscription.
Before deployment, I removed all lines with "roleAssignments" in these files:
Then I ran
azd upand it deployed some things. It failed at "Deploying service admin".In the portal, I added "azr pull" permissions to the Managed Identity on the Container Registry.
Then I ran
azd upand it deployed the rest successfully.Thanks for the tip Frank Boucher (@fboucher) !
fboucher commentedon Jul 15, 2026
Chad Voelker (@ch-rob) please close this one