Skip to content

quickstarts/microsoft.databricks/databricks-workspace-with-vnet-injection not working with API version error #14515

@eziogong-git

Description

@eziogong-git

Hi Team

I am working on service tag on-boarding, need to enable SCC on existing workspace. As prerequisite I need to finish vnet injection on my existing workspace and existing vnet.
Deploy Azure Databricks in your Azure virtual network (VNet injection) - Azure Databricks | Microsoft Learn
is refering to template in this repo https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.databricks/databricks-workspace-with-vnet-injection

But the template is not working with following error:
{"code":"DeploymentFailed","target":"/subscriptions/69b8bad6-4fb9-4efc-b982-3bf15ccb8857/resourceGroups/servicetag_databricks/providers/Microsoft.Resources/deployments/Microsoft.Template-20250617161128","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":"VirtualNetworkIdChangeNotAllowed","message":"Updating required Virtual Network from to /subscriptions/69b8bad6-4fb9-4efc-b982-3bf15ccb8857/resourceGroups/servicetag_databricks/providers/Microsoft.Network/virtualNetworks/vnet_for_injection is allowed only in api-version 2025-02-01-preview or beyond"}]}

Meanwhile I have updated my template to use workspace api version 2025-03-01-preview, my template and deployment failure attached, can some one help on this?

template.json

Deployment-Microsoft.Template-20250617154153.zip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions