title: Azure functions v4 net 6 on Linux
body: <p>I have developed an Azure Function <code>v4</code> with <code>.net 6.0.</code> It contains one triggered function.
  <a href="https://i.stack.imgur.com/0aHxg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0aHxg.png" alt="enter image description here" /></a></p>
  <p>Locally everything works fine. After deploying it to Azure it works fine for all plans with <code>Windows OS</code> but it doesn't work for plans: <code>Premium(EP1)</code> and <code>App Service Plan(P1V2)</code> (except <code>Consumption</code>) with <code>Linux</code>.</p>
  <p>I get the error message: &quot;<em>Error: Error &quot;SyntaxError: Unexpected token S in JSON at position 0&quot; occurred while parsing the response body - Service Unavailable.</em>&quot;. Here is my not working config. Please note I'm using <code>Premium(EP1)</code>
  <a href="https://i.stack.imgur.com/XkV5g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XkV5g.png" alt="enter image description here" /></a></p>
  <p>The same function is working fine on plans <code>Premium(EP1)</code> with <code>Windows OS</code>, <code>Consumption</code> with <code>Linux</code>
  <a href="https://i.stack.imgur.com/CmVcT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CmVcT.png" alt="enter image description here" /></a></p>
  <p>My goal is to run Azure function <code>v4</code> with <code>.net 6.0.</code> on <code>Linux</code> on the plan <code>Premium(EP1)</code></p>