Skip to content

"Deploy to Azure" button fails with two deployments #1846

Closed
@PromptifyAdmin

Description

@PromptifyAdmin

Describe the bug

When trying to deploy using the "Deploy to Azure" button in this sample, the deployment fails for two resources.

1. Deployment: func-[generated-ID]
This generates the following error message:
{ "code": "ResourceGroupNotFound", "message": "Resource group 'rg-[RG-name]' could not be found." }

2. Deployment: func-[Generated-ID]-docker
This one generates the following error message:
{ "code": "DeploymentFailed", "target": "/subscriptions/[...]/resourceGroups/rg-[RG-name]/providers/Microsoft.Resources/deployments/func-[generated-ID]-docker", "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": "BadRequest", "target": "/subscriptions/[...]/resourceGroups/rg-[RG-name]/providers/Microsoft.Web/sites/func-[generated-ID]-docker/host/default/functionKeys/clientKey", "message": "{\r\n \"Code\": \"BadRequest\",\r\n \"Message\": \"Encountered an error (InternalServerError) from host runtime.\",\r\n \"Target\": null,\r\n \"Details\": [\r\n {\r\n \"Message\": \"Encountered an error (InternalServerError) from host runtime.\"\r\n },\r\n {\r\n \"Code\": \"BadRequest\"\r\n },\r\n {\r\n \"ErrorEntity\": {\r\n \"Code\": \"BadRequest\",\r\n \"Message\": \"Encountered an error (InternalServerError) from host runtime.\"\r\n }\r\n }\r\n ],\r\n \"Innererror\": null\r\n}" } ] }

I think these issues are related to the recent changes in the bicep files.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions