Get-WebApp and the Azure REST API return a siteConfig object with null properties and is missing data
There seems to be a weird bug in the Azure AZ PowerShell API and the underlying REST API whereby when you list the App Services, also known as Web Apps, also known as Sites you find that the SiteConfig property contains null values and is generally missing information. However if you run the Get-WebApp with the -ResourceGroupName and the -Name parameters the SiteConfig property is populated. A similar issue is found when using the Azure REST API /subscriptions/ subscription identifier /resourceGroups/ resource group name /providers/Microsoft.Web/sites/ web site name The return value's properties.siteConfig is also missing information. Using Fiddler to see how Get-WebApp is working - when you call with the -ResourceGroupName and -Name parameters the cmdlet is making multiple REST API calls and combining the information together. From here we find that to get the SiteConfig information you can make a GET request to the REST API here /subscriptions/ subscription identifier /resourceG