Thursday, March 19, 2020

LinuxFx version has invalid values or while creating Linux app service plan using ARM template, it is creating as a window app service plan in app services


  • Due to latest changes in ARM API's, deployment for the Linux web app using the ARM template is failing with the below error's:


  1. Linux FX version has invalid values error.
  2. Linux app service plan is getting created and showing on azure portal as a Linux app service plan but actually it has created a window app service plan.

  • Reason why it is happening:


  1. To resolve the issue 1, due to recent ARM API changes we can either use “Kind” or “Reserved” keyword.
After removing the “Kind” property from the ARM template, We have performed the deployment and it worked.
  1. To resolve the issue 2,If you set "kind": "Linux" but without setting "reserved": true, it deploys a Windows service plan with a Linux icon!
So you need to add "reserved": true property when you are performing Linux web app deployment and want to create a Linux App Service plan using the ARM template.


10 comments:

LinuxFx version has invalid values or while creating Linux app service plan using ARM template, it is creating as a window app service plan in app services

Due to latest changes in ARM API's, deployment for the Linux web app using the ARM template is failing with the below error's: ...