Use a variable for Resource Group Name

I would like to create a Resource group in Step1 - via PowerShell command (no problem)


have next step execute a template to this newly-created-resource-group and imagine I could specify the resource-group name via a variable, but the resource group GUI requires the resource-group-name to be defined ahead of time.

Thoughts on how to use a variable here ?


Thanks for reaching out! You can actually use a variable in that field by clicking on the “Custom Expresion” checkbox. See the attached gif for reference.


Ah, the old hiding-in-plain-sight trick. Sneaky !