Closed stweb1963 closed 3 years ago
If you deploy to a different subscription then the one the templateSpec is stored you receive the following error
New-AzDeployment : Cannot retrieve the dynamic parameters for the cmdlet. Operation returned an invalid status code 'NotFound' At line:1 char:1
+ CategoryInfo : InvalidArgument: (:) [New-AzDeployment], ParameterBindingException + FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureSubscriptionDeploymentCmdlet
We would store/manage all our templateSpecs / versions within a single HUB subscription
All deployments would consume this each managed templateSpec/version for any deployment across all subscriptions
The fix for this has now been released with v5.2.0
https://github.com/Azure/azure-powershell/releases/tag/v5.2.0-December2020
If you deploy to a different subscription then the one the templateSpec is stored you receive the following error
New-AzDeployment : Cannot retrieve the dynamic parameters for the cmdlet. Operation returned an invalid status code 'NotFound' At line:1 char:1
We would store/manage all our templateSpecs / versions within a single HUB subscription
All deployments would consume this each managed templateSpec/version for any deployment across all subscriptions