Azure机器学习工作区Bicep部署因区域错误失败求助
Azure机器学习工作区Bicep部署区域错误问题
错误详情
部署Bicep模板时因区域限制被拒绝,错误信息如下:
{"error":{"code":"LocationNotAvailableForResourceType","message":"The provided location 'northeurope' is not available for resource type 'Microsoft.MachineLearning/Workspaces'. List of available regions for the resource type is 'southcentralus,westeurope,southeastasia,japaneast,westcentralus'."}}
部署代码
使用的Bicep资源定义片段:
resource MLWorkspace 'Microsoft.MachineLearningServices/workspaces@2023-10-01' = { name: workspaceName location: location properties: { storageAccount: storageAccount.id keyVault: keyVault.id applicationInsights: applicationInsights.id } tags:{ 'BSD Ticket Reference': tag1 Company: tag2 Department: tag3 Description: tag4 Division: tag5 Owner: tag6 'Parent Project': tag7 'Project ID':tag8 } }
核查结果
已确认北欧(northeurope)区域支持部署该资源:
- 通过Azure门户可直接在该区域创建机器学习工作区
- PowerShell查询显示同类型资源已部署在该区域:
Name : fewgdsgdf ResourceGroupName : rg-TemplateTest-AzureAI-001 ResourceType : Microsoft.MachineLearningServices/workspaces Location : northeurope ResourceId : /subscriptions/<subid>/resourceGroups/rg-TemplateTest-AzureAI-001/providers/Microsoft.MachineLearningServices/workspaces/fewgdsgdf
已尝试更换部署API版本,问题仍未解决。请问这是微软端的问题吗?
内容的提问来源于stack exchange,提问作者luk3953
相关产品推荐
相关产品推荐

