0

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

Thomas
  • 24,234
  • 6
  • 81
  • 125
Abhishek V
  • 31
  • 2
  • Does this answer your question? [Bicep - How to config Runtime Stack to Azure App Service (Bicep version 0.4)](https://stackoverflow.com/questions/67823980/bicep-how-to-config-runtime-stack-to-azure-app-service-bicep-version-0-4) – Thomas Sep 13 '22 at 10:37

1 Answers1

0

You need to specify the current stack as well:

siteConfig = {
  netFrameworkVersion: 'v6.0'
  metadata: [
    {
      name: 'CURRENT_STACK'
      value: 'dotnet'
    }
  ]
}
Thomas
  • 24,234
  • 6
  • 81
  • 125