title: Azure pipelines template - toLower on a parameter
body: <p>I have a build template used by several pipelines, and I need to simply transform a parameter using toLower.</p>
  
  <p>toLower is documented here  <a href="https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-functions-string#tolower" rel="noreferrer">https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-functions-string#tolower</a> </p>
  
  <p>this is my last attempt:</p>
  
  <p><code>parameters:
    imageName: '$(Build.Repository.Name)'
    lcImageName: "$[toLower(parameters.imageName)]" #this is my current attempt</code></p>
  
  <p>later on, on a Bash@3 step, I'm trying to use the value with</p>
  
  <p><code>args: 'omitted/${{ parameters.lcImageName }}:$(output.dockertag)'</code></p>
  
  <p>but I can see the value is not expanded</p>
  
  <p>I also tried to directly call that toLower where I needed it, no expansion neither.</p>
  
  <p>I just need to transform a param using toLower and use it in a specific step, I'm a bit surprised I'm asking this here .</p>