Azure ARM模板部署-资源标识符格式不正确

Azure ARM模板部署-资源标识符格式不正确,azure,azure-resource-manager,azure-logic-apps,arm-template,Azure,Azure Resource Manager,Azure Logic Apps,Arm Template,我正试图从一个ARM模板中同时部署多个LogicApps和其他资源。当我尝试使用我创建的模板执行测试AzureRmResourceGroupDeployment时,它会抛出此错误 Code : InvalidTemplate Message : Deployment template validation failed: 'The template resource 'MyLogicApp' at line '159' and column '9' is not valid: The re

我正试图从一个ARM模板中同时部署多个LogicApps和其他资源。当我尝试使用我创建的模板执行
测试AzureRmResourceGroupDeployment
时,它会抛出此错误

Code    : InvalidTemplate
Message : Deployment template validation failed: 'The template resource 'MyLogicApp' at line '159' and column '9' is not valid: The resource identificator
          '/subscriptions/8a506831-cc80-4512-b51b-6ed4cc32b2cd/resourceGroups/arm/providers/Microsoft.Web/' is malformed. Please see https://aka.ms/arm-template-expressions/#reference for usage
          details.. Please see https://aka.ms/arm-template-expressions for usage details.'.
这是根据我的代码创建资源的块


我似乎找不到这方面的任何资源。请帮忙。感谢您在模板的某个地方构建了resourceId:

/subscriptions/8a506831-cc80-4512-b51b-6ed4cc32b2cd/resourceGroups/arm/providers/Microsoft.Web/
它应该以资源名称结尾。很难说你什么时候不提供模板


在这种情况下,传递给模板的一个参数为空,因此此错误指示资源没有名称。

这很好,对吧
“id”:“[concat(subscription().id”,/providers/Microsoft.Web/locations/”,resourceGroup().location,/managedApis/servicebus')”,
eh,我不知道这个特定的ID应该如何构造,但通常,它应该是
subscriptions/GUID/resourceGroups/name/providers/type/name
yours is
subscriptions/GUID/providers/type/random/subtype/name
我为所有逻辑应用程序提供了单独的模板,部署时工作正常。但是我现在把它组合起来了,我似乎找不到错误。我提供的这条生产线的结构在单独的和组合的生产线上是相同的,如果没有完整的模板,我将无法提供帮助。模板中有错误。是否向其中一个参数传递空字符串?