title: Azure Function Timer Trigger & API management - Manual execution returns 404
body: <p>I have a function app with:</p>
  <ul>
  <li>a few functions triggered by a <strong>Timer Trigger</strong></li>
  <li>and some triggered by the <strong>HTTP Trigger</strong>.</li>
  </ul>
  <p>I have <strong>also an Azure API Management</strong> service set up for the function app, where the <strong>HTTP Triggered</strong> functions have their endpoints defined.</p>
  <p>I am trying to trigger one of my timer triggered functions manually as per the guide here <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-manually-run-non-http" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/azure-functions/functions-manually-run-non-http</a></p>
  <p>I am however getting a 404 result in Postman, despite the seemingly correct URL and <code>x-functions-key</code>.</p>
  <p>The function:
  <a href="https://i.stack.imgur.com/yPgZ5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yPgZ5.png" alt="enter image description here" /></a></p>
  <p>The key:</p>
  <p><a href="https://i.stack.imgur.com/j1TYZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j1TYZ.png" alt="enter image description here" /></a></p>
  <p>The request:</p>
  <p><a href="https://i.stack.imgur.com/9rV4k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9rV4k.png" alt="enter image description here" /></a></p>
  <p>I also noticed that:</p>
  <ul>
  <li>if I don't include the <code>x-functions-key</code> header, then I get <code>401 Unauthorized</code> result</li>
  <li>and if I include an <strong>incorrect</strong> key, then I get <code>403 Forbidden</code>.</li>
  </ul>
  <p><strong>Could it be related to the API management service being set up for the function app?</strong></p>
  <p><strong>How can I troubleshoot this further?</strong></p>