Azure Bicep Deployment - Some configurations wont come up on UI

Viewed 29

I tried to deploy an app service using bicep template. some configurations like netFrameworkVersion doesn't show on the UI. the value I passed in the bicep is

siteConfig:{
  netFrameworkVersion:'v6.0'
}

uiview

I am not sure what I am doing anything wrong here

1 Answers

You need to specify the current stack as well:

siteConfig = {
  netFrameworkVersion: 'v6.0'
  metadata: [
    {
      name: 'CURRENT_STACK'
      value: 'dotnet'
    }
  ]
}
Related