Hi,
i am trying to publish new resourcegroup and resources using this example (http://gallery.technet.microsoft.com/scriptcenter/Deployment-to-use-Azure-758675d6). I have modified both the powershell script and the JSON templates to fit my needs, creating new ServiceBuses and storage acccount for example.
I also add more variables to the hashtable (in the PS1) but when trying to run the script i receive the following error:
PS C:\Temp\Publish-AzureResourceGroupPreview>New-AzureResourceGroup -Name $ResourceGroupName -DeploymentName $DeploymentName -Location $Location -TemplateFile $TemplateFile -TemplateParameterObject $parameters -Force New-AzureResourceGroup : Cannot retrieve the dynamic parameters for the cmdlet. Object reference not set to an instance of an object. At line:1 char:1+ New-AzureResourceGroup -Name "Frigginwork" -DeploymentmentName "FrigginDeploy" - ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidArgument: (:) [New-AzureResourceGroup], ParameterBindingException+ FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.Azure.Commands.ResourceManager.NewAzureResourceG roupCommand
The hashtable containing the parameters is there and looks allright.
Does anyone have a clue of where the shit hits the fan? Where do i start troubleshooting?
Best Regards,
Johannes