App Service - Web Site Netframeworkversion property inaccurately reported
Hi,
Description
When running the following the netFrameworkVersion property is being reported as v4.0 (also appears inaccurate when browsing via Resource Explorer so assuming Powershell is relying on the same) even though it is set properly to a higher version on the Azure Portal (Powershell script and output below where the version on Azure Portal has been set via App Service - Application Settings - to v4.7)
Script/Steps for Reproduction
$websiteProps = (Get-AzureRmResource -ResourceGroupName 01resgrp -ResourceType Microsoft.Web/sites/config -ResourceName $website.Name -ApiVersion 2018-02-01)
$websiteProps.Properties.NetFrameworkVersion
netFrameworkVersion : v4.0
Module Version
Azurerm 6.8.1
Environment Data
PSVersionTable
Name Value
PSVersion 5.1.17134.228
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17134.228
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Debug Output
@jrgithub would you mind setting $DebugPreference = "Continue" and running the above command again? This will give us the debug output with the request and response from the API call.
@cormacpayne Wasn't something like this discussed in that big TLS thread?
Closing for inactivity. @jrgithub Please reopen if you continue to see this issue in the current version of AzureRM.