none
Validation errors on Azure Marketplace creating Cisco Meraki vMX appliance RRS feed

  • Question

  • I've tried creating a vMX appliance on Azure following vMX100 Setup Guide, but when it gets to the validation phase I get the below error every time. 

    I am not sure what the unexpected character is that is holding this up. I've tried creating this template about a dozen times using different resource names, without any hyphens. Even though the guide says to use an existing virtual network, I have tried that several times and let the template create its on virtual network and subnet which it tries by default. I've regenerated the Meraki authentication token 4 times. 

    I've tried this against 2 Azure tenants, my own tenant with Microsoft Partner Network and MSDN subscriptions just to see if it would pass validation and against a Pay As You Go subscription. 

    I've already contacted Meraki support and went through the steps of the guide that they validated but they weren't sure of the issue and suggested I contact Azure support. But it looks like there is no direct support for Azure Marketplace issues. 

    Anyone seen a similar error and have an idea what the problem could be?

    Friday, January 3, 2020 7:48 PM

All replies

  • Hi Ben at ET,

    Firstly, sorry for the inconvenience caused. I have tried to reproduce the issue but ended up with no validation error. For reference, please find below screenshot.



    As the validation error you are seeing is with code 'InvalidTemplate' and message 'deployment template parse failed' so IMO this generally occurs when you have a failed deployment earlier and you try to redeploy again. I would suggest you to delete all the resource group(s) you have tried or used earlier for this deployment and change the names in the parameter file if you see GEn-unique.

    As highlighted in above screenshot, download the template and compare it with below template that i have got when tried to reproduce the issue. If you see any changes then (it would help to diagnose the issue with additional context) make necessary changes to the template and try to deploy the template using Azure portal or PowerShell or CLI or REST API. For more information on how to do it, please refer 'How To' section -> 'Deploy templates' articles that are available under this Azure documentation.

    Unfortunately, if both the templates are similar then as in your case it is hard to say what is causing you to hit the issue, support would be able to determine this with more information (like visibility to your complete template and the visibility to the process you follow to do the template deployment, access permissions, etc.) So here are the steps to raise a support ticket with Azure technical support if you already have a support plan. I suggest you to raise support ticket for ARM template deployment issue category as you have stated that there is no direct support for Azure Marketplace issues. But if you don't have a support plan, then please send mail to AzCommunity@microsoft.com with your subscription ID and a link of this MSDN thread for context and we will assist you with engaging Azure technical support.

    {
        "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
        "contentVersion": "1.0.0.0",
        "parameters": {
            "location": {
                "type": "string",
                "metadata": {
                    "description": "Deployment location"
                }
            },
            "vmName": {
                "type": "string",
                "metadata": {
                    "title": "VM Name",
                    "description": "This is the name of the your VM"
                }
            },
            "merakiAuthToken": {
                "type": "string",
                "metadata": {
                    "description": "This is your authentication string generated by Meraki Dashboard"
                }
            },
            "virtualNetworkName": {
                "type": "string",
                "metadata": {
                    "description": "New or Existing VNet Name"
                }
            },
            "virtualNetworkNewOrExisting": {
                "type": "string",
                "metadata": {
                    "description": "Boolean indicating whether the VNet is new or existing"
                }
            },
            "virtualNetworkAddressPrefix": {
                "type": "string",
                "metadata": {
                    "description": "VNet address prefix"
                }
            },
            "virtualNetworkResourceGroup": {
                "type": "string",
                "metadata": {
                    "description": "Resource group of the VNet"
                }
            },
            "virtualMachineSize": {
                "type": "string",
                "metadata": {
                    "description": "The size of the VM"
                }
            },
            "subnetName": {
                "type": "string",
                "metadata": {
                    "description": "New or Existing subnet Name"
                }
            },
            "subnetAddressPrefix": {
                "type": "string",
                "metadata": {
                    "description": "Subnet address prefix"
                }
            },
            "baseUrl": {
                "type": "string",
                "defaultValue": "",
                "metadata": {
                    "artifactsBaseUrl": "",
                    "description": "URL to acquire other templates"
                }
            },
            "applicationResourceName": {
                "defaultValue": "e66f5b3b08274953a0be4cd24e589cc6",
                "type": "string"
            }
        },
        "variables": {
            "managedByResourceGroupId": "[concat(resourceGroup().id,uniquestring(resourceGroup().id))]"
        },
        "resources": [
            {
                "type": "Microsoft.Solutions/applications",
                "apiVersion": "2017-09-01",
                "location": "[resourceGroup().Location]",
                "name": "[parameters('applicationResourceName')]",
                "kind": "MarketPlace",
                "plan": {
                    "name": "meraki-vmx100",
                    "product": "meraki-vmx",
                    "publisher": "cisco",
                    "version": "1.0.44"
                },
                "properties": {
                    "managedResourceGroupId": "[variables('managedbyResourceGroupId')]",
                    "parameters": {
                        "location": {
                            "value": "[parameters('location')]"
                        },
                        "vmName": {
                            "value": "[parameters('vmName')]"
                        },
                        "merakiAuthToken": {
                            "value": "[parameters('merakiAuthToken')]"
                        },
                        "virtualNetworkName": {
                            "value": "[parameters('virtualNetworkName')]"
                        },
                        "virtualNetworkNewOrExisting": {
                            "value": "[parameters('virtualNetworkNewOrExisting')]"
                        },
                        "virtualNetworkAddressPrefix": {
                            "value": "[parameters('virtualNetworkAddressPrefix')]"
                        },
                        "virtualNetworkResourceGroup": {
                            "value": "[parameters('virtualNetworkResourceGroup')]"
                        },
                        "virtualMachineSize": {
                            "value": "[parameters('virtualMachineSize')]"
                        },
                        "subnetName": {
                            "value": "[parameters('subnetName')]"
                        },
                        "subnetAddressPrefix": {
                            "value": "[parameters('subnetAddressPrefix')]"
                        },
                        "baseUrl": {
                            "value": "[parameters('baseUrl')]"
                        }
                    }
                }
            }
        ]
    }

    Hope this helps! Cheers!
    Monday, January 6, 2020 2:51 PM
    Moderator
  • Thanks for your help but it appears to have been a temporary issue with the Azure portal. I checked the service health last week and there were no issues at the time. 

    But I just tried creating the Meraki vMX again using the existing resource groups and virtual networks and it was able to pass validation.  

    Monday, January 6, 2020 7:04 PM