-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code: InvalidTemplateDeployment #1248
Comments
Any thoughts here? I am trying to also connect after this error and get "Access to resources is forbidden" when I try to use the SAS token. |
@clifpi I can't explain the deployment failure. I would recommend filing a support request against ARM for that one. We would need their help to investigate. I also can't explain the "a9" resource name or "6" object ID reference. Those generally aren't valid and wouldn't come from us as far as I'm aware. Was the template customized in any way? For the SAS token, my first guess would be that the token doesn't have the right level of access. Can you review these instructions to make sure it's configured correctly? #needsinfo |
I am having the same issue using the "Deploy to Azure" link to deploy a "FinOps Hub". I think the error relates to the role assignments on the "finopshub..." Storage Account. The template contains the following code;
The RBAC roles are:
I can apply the 1st & 3rd roles in the Portal, but I am not able to apply the 2nd one. Could this be the issue? |
Hello,
I have owner access to a subscription and trying to deploy a hub and constant receive the following:
{
"code": "DeploymentFailed",
"target": "/subscriptions/829/resourceGroups/rg-s/providers/Microsoft.Resources/deployments/hub",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "InvalidTemplateDeployment",
"message": "The template deployment failed with error: 'Authorization failed for template resource 'a6' of type 'Microsoft.Authorization/roleAssignments'. The client 'admin-hub' with object id '9' does not have permission to perform action 'Microsoft.Authorization/roleAssignments/write' at scope '/subscriptions/82/resourceGroups/rg-dev/providers/Microsoft.Storage/storageAccounts/finopshub1envr6qrsubjru/providers/Microsoft.Authorization/roleAssignments/a60'.'."
}
The text was updated successfully, but these errors were encountered: