Skip to content
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

[Question/Feedback]: Linked template validation failed #43

Closed
1 task done
gerrynicol opened this issue Oct 19, 2023 · 2 comments · Fixed by #61
Closed
1 task done

[Question/Feedback]: Linked template validation failed #43

gerrynicol opened this issue Oct 19, 2023 · 2 comments · Fixed by #61
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@gerrynicol
Copy link

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Description

Hi All,

I get the following error on the alzArm.json file having taken a forked copy of the code into VS code. The linked template in question is policies.json.

Thanks.

Template validation failed: The template variable 'policySetDefinitionsAll' is not valid: The template function 'managementGroup' is not valid. Please see https://aka.ms/arm-template-expressions for usage details.. Please see https://aka.ms/arm-template-expressions for usage details.

@gerrynicol gerrynicol added the question Further information is requested label Oct 19, 2023
@arjenhuitema
Copy link
Contributor

Thank you for you for raising this issue @gerrynicol. I was able to replicate it, it looks like the validation of the policies.json fails.

Template validation failed: The template variable 'policySetDefinitionsAll' is not valid: The template function 'managementGroup' is not valid. Please see https://aka.ms/arm-template-expressions for usage details.. Please see https://aka.ms/arm-template-expressions for usage details.

However I could still deploy without any problems. Can you confirm that you are able to deploy successfully as well?

I´ve created a bug report to investigate this. And we will keep you updated here.

@arjenhuitema arjenhuitema self-assigned this Oct 23, 2023
@arjenhuitema arjenhuitema added the bug Something isn't working label Oct 23, 2023
@gerrynicol
Copy link
Author

gerrynicol commented Oct 23, 2023

@arjenhuitema. Yes, I am still able to deploy through the alternative method of using Template Specs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants