Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure App Service Plan is Of Linux kind but showing Operating System as Windows

I am preparing an infrastructure for one of my angular application on Azure through ARM template, i want to host application on Linux based operating system, thus configured "App service plan" - Kind : "Linux", When i executed ps script, App Service plan got created but showing Operating system still as Windows. and showing Plan as Linux App Could you please enlighten me if this is obvious behavior or am I still missing anything to correctly configure Linux as base operating system for hosting my angular based application.

PS: the LinuxFxVersion are configured to NODE|14lts

Below screenshot for newly created app plan

like image 711
Pravin Ambekar. Avatar asked Nov 25 '25 15:11

Pravin Ambekar.


1 Answers

There is a better way to get this solved. In the properties section, there is a reserved option: set that to true. Attaching reference Bicep template; the same can be done in ARM templates.

resource hostingPlan 'Microsoft.Web/serverfarms@2018-02-01' = {
  name: hostingPlanName
  kind: 'linux'
  location: location
  sku: {
    name: 'S1'
    tier: 'Standard'
  }
  properties: {
    reserved: true
  }
}
like image 86
Divyanshu Mehta Avatar answered Nov 27 '25 03:11

Divyanshu Mehta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!