-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment Error in Deployment with PowerShell? #34
Comments
Stefan, looking into your issue, but I suggest you look into the newly suggested version of deployment, the Jumpstart HCIBox. You can find that link here. |
@StefanHorz what region is your AZ Resource Group located in? |
Hi @mgodfre3 , |
@StefanHorz I have tested deployment in West Europe, West US and East Us and all work just fine. I am not able to repro. I also looked at your ARM template and see no issues. Please try again with the Deploy to Azure button in the ReadMe and let me know how it goes, or as suggested move up to Jumpstart HCI Box. |
Hi,
When I execute:
New-AzResourceGroupDeployment -ResourceGroupName $rgname -Name "ASHCISandbox-Deploy" -TemplateFile $template -TemplateParameterFile $param -AdminPassword $securepw
I get:
New-AzResourceGroupDeployment: 17:00:15 - Error: Code=InvalidTemplate; Message=Deployment template validation failed: 'The template parameters 'subnetName, dataDisks, networkInterfaceName, addressPrefixes, publicIpAddressName, publicIpAddressType, virtualNetworkName, publicIpAddressSku, subnets, networkSecurityGroupRules, patchMode, virtualMachineComputerName, networkSecurityGroupName, osDiskType, dataDiskResources' in the parameters file are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supported parameters for this template are 'customRdpPort, virtualMachineName, virtualMachineSize, virtualMachineGeneration, dataDiskType, dataDiskSize, adminUsername, adminPassword, autoShutdownStatus, autoShutdownTime, autoShutdownTimeZone, alreadyHaveAWindowsServerLicense'. Please see https://aka.ms/arm-deploy/#parameter-file for usage details.'.
New-AzResourceGroupDeployment: The deployment validation failed
Any hints what I'm doing wrong?
json.zip
Regards,
Stefan
The text was updated successfully, but these errors were encountered: