How to fix deployment parameters has an empty key in ARM?

Bhosle, Nikhil 0 Reputation points
2024-10-28T05:08:13.28+00:00

ARM Template deployment: Resource Group scope

View raw log

  1. Starting: ARM Template deployment: Resource Group scope ============================================================================== Task : ARM template deployment Description : Deploy an Azure Resource Manager (ARM) template to all the deployment scopes Version : 3.247.5 Author : Microsoft Corporation Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment ============================================================================== ARM Service Connection deployment scope - Subscription Checking if the following resource group exists: dp-data-factory-prd. Resource group exists: true. Creating deployment parameters. The detected encoding for file 'D:\a\1\s\data-platform-dev\ARMTemplateForFactory.json' is 'utf-8' The detected encoding for file 'D:\a\1\s\data-platform-dev\ARMTemplateParametersForFactory.json' is 'utf-8' There was an error while overriding 'JWC' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding 'MSDAX_ARG_connectionString' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) (node:5788) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use node --trace-deprecation ... to show where the warning was created) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding 'JWC' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding 'MSDAX_ARG_properties_typeProperties_userName' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding 'Salesforce' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding 'Salesforce' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding '' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) There was an error while overriding 'snowflake_common_db_properties_typeProperties_database' parameter because of 'TypeError: Cannot read properties of undefined (reading 'type')', make sure it follows JavaScript Object Notation (JSON) Starting template validation. Deployment name is ARMTemplateForFactory-20241024-110132-4b5e There were errors in your deployment. Error code: InvalidDeploymentParameterKey. ##[error]One of the deployment parameters has an empty key. Please see https://aka.ms/arm-create-parameter-file for details. ##[warning]Validation errors were found in the Azure Resource Manager template. This can potentially cause template deployment to fail. Task failed while creating or updating the template deployment.. Please follow https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-syntax Starting Deployment. Deployment name is ARMTemplateForFactory-20241024-110132-4b5e There were errors in your deployment. Error code: InvalidDeploymentParameterKey. ##[error]One of the deployment parameters has an empty key. Please see https://aka.ms/arm-create-parameter-file for details. ##[error]Check out the troubleshooting guide to see if your issue is addressed: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops#troubleshooting ##[error]Task failed while creating or updating the template deployment. Finishing: ARM Template deployment: Resource Group scope
Microsoft 365 Publishing
Microsoft 365 Publishing
Microsoft 365: Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line. Publishing: The process of preparing, producing, and releasing content for distribution or sale.
623 questions
0 comments No comments
{count} votes

Your answer

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