title: Azure 404 not found when adding new function app to logic app
body: <p>I have a simple Azure Logic app that is trigger by a new email and then passes the Body to my Function App to remove HTML.</p>
  <p>I am getting a 404 not found error and I'm a bit stuck as to what is actually not being found.</p>
  <p>I can click on the url and it tells me that my function app is up and running and I've selected the Function App from a list in the Logic App editor.
  <a href="https://i.stack.imgur.com/l4uUY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l4uUY.png" alt="enter image description here" /></a>
  Are there any log files or something that can provide a bit more information as to what cannot be found?</p>
  <p>I think the issue might be that my Function app hasn't published correctly. In VS I am getting a <code>missing trigger attribute</code> but I'm not sure what to add.</p>
  <p>Code:</p>
  <pre><code> public static class Function1
      {
          [FunctionName(&quot;RemoveHTMLfunction&quot;)]
  
          public static async Task&lt;IActionResult&gt; Run(HttpRequest req, ILogger log)
          {
  
              log.LogInformation(&quot;HttpWebhook triggered&quot;);
  
              string emailBodyContent = await new StreamReader(req.Body).ReadToEndAsync();
  
              String updatedBody = WebUtility.HtmlDecode(RemoveHtmlMarkup(emailBodyContent));
              
              return (ActionResult)new OkObjectResult(new { updatedBody });
          }
  </code></pre>