Azure / Azure/azure-quickstart-templates
machine-learning-workspace-vnet deploys Classic resource mode for Application Insights and fails with BadRequest
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
Executing (from https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-workspace-template?view=azureml-api-2&tabs=azcli#use-a-new-virtual-network)
az deployment group create \
--name "exampledeployment" \
--resource-group "examplegroup" \
--template-uri "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.machinelearningservices/machine-learning-workspace-vnet/azuredeploy.json" \
--parameters workspaceName="exampleworkspace" \
location="eastus" \
privateEndpointType="AutoApproval"
Will now result in error
","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","message":"Region doesn't support Classic resource mode for Application Insights resources. Please use Workspace-based mode."}]}}
I guess template should be updated to align with https://azure.microsoft.com/en-us/updates/we-re-retiring-classic-application-insights-on-29-february-2024/ ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the linked az deployment group create command and inspect quickstarts/microsoft.machinelearningservices/machine-learning-workspace-vnet/azuredeploy.json, focusing on its Application Insights resource definition. Compare it with the linked Azure retirement guidance; done means the template deploys successfully in eastus without the Classic resource mode BadRequest.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100