title: Using Function app connector in ADF - How to override parameters in CI-CD?
body: <p>I need a work around pretty quickly - this was a late surprise in the dev process when we added an Az function to our development ADF pipeline.  </p>
  
  <p>When you use a function app in ADF V2, when you generate the ARM template, it does not parameterize the key references unlike in other linked services.  Ugh!</p>
  
  <p>So for CI/CD scenarios, when we deploy we now have a fixed function app reference.  What we'd like to do is the same as other linked services - override the key parameters to point to the correct Dev/UAT /Production environment versions of the functions.</p>
  
  <p>I can think of dirty hacks using powershell to overwrite (does powershell support ADF functions yet?  don't know - in January they didn't).</p>
  
  <p>Any other ideas on how to override function app linked service settings?  </p>
  
  <p>the key parameters are under typeProperties (assuming the function key is in keyvault):</p>
  
  <pre><code>{"functionAppUrl:="https://xxx.azurewebsites.net"}
  {"functionkey":{"store":{"referenceName"="xxxKeyVaultLS"}}}
  {"functionkey":{"secretName"="xxxKeyName"}}
  </code></pre>
  
  <p>Right now these are hard coded from the UI settings - no parameter and no default.</p>