title: How can you programmatically trigger an azure function to run in C# code?
body: <p>I have an integration test to write that involves manually running a function, equivalent to pressing this button in Azure on a timer trigger...</p>
  
  <p><a href="https://i.stack.imgur.com/5OdHw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5OdHw.png" alt="enter image description here"></a></p>
  
  <p>Can this be done programmatically in C# from a separate code base to the function code itself? At the moment I don't have access to the function code but do have access to azure. </p>
  
  <p>Alternatively, can I update the schedule from code so that it triggers immediately?</p>
  
  <p>So far I've struggled to find a way to do this via some sort of sdk, api call or powershell script. Hopefully I'm missing something obvious</p>
  
  <p>Many thanks, </p>