title: Azure App service and Angular SSR application
body: <p>I have an angular app with Server side rendering. And also, this <code>server.ts</code> has some simple APIs in it. I am trying to deploy it in Azure app service(with AD integration) but with no success. What could it be still missing?</p>
  <p>package.json</p>
  <pre><code>&quot;scripts&quot;: {
  &quot;ng&quot;: &quot;ng&quot;,
  &quot;start&quot;: &quot;node dist/angular-app/server/main.js&quot;,
  &quot;build&quot;: &quot;ng build&quot;,
  &quot;test&quot;: &quot;ng test&quot;,
  &quot;lint&quot;: &quot;ng lint&quot;,
  &quot;e2e&quot;: &quot;ng e2e&quot;,
  &quot;dev:ssr&quot;: &quot;ng run angular-app:serve-ssr&quot;,
  &quot;serve:ssr&quot;: &quot;node dist/angular-app/server/main.js&quot;,
  &quot;build:ssr&quot;: &quot;ng build --prod &amp;&amp; ng run angular-app:server:production&quot;,
  &quot;prerender&quot;: &quot;ng run angular-app:prerender&quot;
  },
  </code></pre>
  <p>Error message when I access the Azure app service url:</p>
  <p><a href="https://i.stack.imgur.com/07Lv3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/07Lv3.png" alt="enter image description here" /></a></p>