简体   繁体   中英

ARM Template deployment - The resource identificator is malformed

I am trying to deploy multiple LogicApps and other resources together from a single ARM Template. When i try to do a Test-AzureRmResourceGroupDeployment with the template that i created it throws this error

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.'.

This is the block where the resource is created from my code.

在此输入图像描述

I cannot seem to find any resource regarding this. Please help. Thanks

Somewhere in the template you constructed resourceId poorly:

/subscriptions/8a506831-cc80-4512-b51b-6ed4cc32b2cd/resourceGroups/arm/providers/Microsoft.Web/

it should end with a resource name. hard to tell when you do not provide the template.

In this case one of the parameters passed to the template was empty, hence this error indicating that there is no name for the resource.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM