-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Test-AzDeployment in Az.Resources 2.5.0 issue when using securestring type parameter #12819
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure. |
@dingmeng-xue, yes it's the same issue. |
Having the same issue in an Azure Automation Runbook running version 2.5.0 there as well. Happy I found this thread cause I was looking everywhere for what was going on. |
+1 same issue for us, using Azure DevOps. |
Az 4.7.0 and Az.Resources 2.5.1 contain a fix to the issue and were released yesterday. Closing the issue. |
omg, lost half a day to find out why the deployment using azure pipelines stopped working. Please update the hosted pipeline images! |
I'm getting errors since version 2.5.0 of Az.Resources.
How to reproduce:
executed powershell code:
Throws:
InvalidTemplate - Deployment template validation failed: 'Template parameter JToken type is not valid. Expected 'String, Uri'. Actual 'Object'. Please see https://aka.ms/resource-manager-parameter-files for usage details.'.
The template ARM file contains the json:
On version 2.4.0 I receive the expected output.
The same happens on the New-AzDeployment.
Was something changed on this version? Can't find a breaking change on this in de release notes.
The text was updated successfully, but these errors were encountered: