Unable to Deploy ARM templates | Bad Request error

Alchemist 21 Reputation points
2021-07-07T07:34:21.717+00:00

Trying to deploy ARM templates of APIM using CI/CD pipeline and extractor [https://github.com/Azure/azure-api-management-devops-resource-kit/blob/master/src/APIM_ARMTemplate/README.md][1]#extractor tool.

Trying to deploy the master template and using extractor as given below.

apimtemplate extract 
--sourceApimName 
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
0 comments No comments
{count} votes

Answer accepted by question author
  1. MayankBargali-MSFT 70,981 Reputation points Moderator
    2021-07-09T02:23:02.513+00:00

    @Alchemist Can you confirm if --linkedTemplatesBaseUrl has the URL Location (not local path) that stores linked templates. I can see that you have specified --policyXMLBaseUrl as the blob path. As per the error message it looks like your ARM template that you are deploying might have reference from the local path.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.