azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

App Service - Web Site Netframeworkversion property inaccurately reported

Open jrgithub opened this issue 8 years ago • 3 comments

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 avatar Sep 25 '18 01:09 jrgithub

@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 avatar Sep 25 '18 16:09 cormacpayne

@cormacpayne Wasn't something like this discussed in that big TLS thread?

MiYanni avatar Sep 26 '18 21:09 MiYanni

Closing for inactivity. @jrgithub Please reopen if you continue to see this issue in the current version of AzureRM.

maddieclayton avatar Nov 13 '18 22:11 maddieclayton