Azure-rest-api-specs: Web: GET a WebApp returns no `SiteConfig` properties

Created on 14 Dec 2020  路  12Comments  路  Source: Azure/azure-rest-api-specs

When calling a GET on WebApp, the response definition suggests that SiteConfig properties will be available in the response. The _names_ of those properties are there but all the values are blank. Here is what I logged:

siteConfig:{acrUseManagedIdentityCreds:false acrUserManagedIdentityID:<nil> alwaysOn:<nil> apiDefinition:<nil> 
apiManagementConfig:<nil> appCommandLine:<nil> appSettings:<nil> autoHealEnabled:<nil> autoHealRules:<nil> 
autoSwapSlotName:<nil> azureMonitorLogCategories:<nil> azureStorageAccounts:<nil> connectionStrings:<nil> 
cors:<nil> customAppPoolIdentityAdminState:<nil> customAppPoolIdentityTenantState:<nil> defaultDocuments:<nil> 
detailedErrorLoggingEnabled:<nil> documentRoot:<nil> experiments:<nil> fileChangeAuditEnabled:<nil> ftpsState:<nil> 
functionAppScaleLimit:<nil> functionsRuntimeScaleMonitoringEnabled:<nil> handlerMappings:<nil> healthCheckPath:<nil> 
http20Enabled:<nil> httpLoggingEnabled:<nil> ipSecurityRestrictions:<nil> javaContainer:<nil> javaContainerVersion:<nil> 
javaVersion:<nil> limits:<nil> linuxFxVersion:<nil> loadBalancing:<nil> localMySqlEnabled:<nil> logsDirectorySizeLimit:<nil>
 machineKey:<nil> managedPipelineMode:<nil> managedServiceIdentityId:<nil> metadata:<nil> minTlsVersion:<nil> 
minimumElasticInstanceCount:0 netFrameworkVersion:<nil> nodeVersion:<nil> numberOfWorkers:<nil> phpVersion:<nil> 
powerShellVersion:<nil> preWarmedInstanceCount:<nil> publishingPassword:<nil> publishingUsername:<nil> push:<nil> 
pythonVersion:<nil> remoteDebuggingEnabled:<nil> remoteDebuggingVersion:<nil> requestTracingEnabled:<nil> 
routingRules:<nil> runtimeADUser:<nil> runtimeADUserPassword:<nil> scmIpSecurityRestrictions:<nil> 
scmIpSecurityRestrictionsUseMain:<nil> scmMinTlsVersion:<nil> scmType:<nil> tracingOptions:<nil> 
use32BitWorkerProcess:<nil> virtualApplications:<nil> vnetName:<nil> vnetPrivatePortsCount:<nil> 
vnetRouteAllEnabled:<nil> webSocketsEnabled:<nil> websiteTimeZone:<nil> winAuthAdminState:<nil> 
winAuthTenantState:<nil> windowsFxVersion:<nil> xManagedServiceIdentityId:<nil>}

Why is everything nil? How can I make the values appear, if possible?

Service Attention Web Apps bug

All 12 comments

I experience the same problem, any fixes for this?

Hi @WillooWisp @mikhailshilkov can you help provide more logs of the request? which SDK triggers the failure?
So that I can route to the right team for help investigate the issue.

Hi @mikhailshilkov I noticed that you are using go, to clarify whether this issue comes from the REST API itself or go SDK (if you are using this), could you please also provide some log of the rest api request and response (the body should be sufficient)?

I'm not using the Azure Go SDK, just Go as the programming language to make raw HTTP requests to the service. So, it's definitely the problem of the REST API itself.

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.


Issue Details

When calling a GET on WebApp, the response definition suggests that SiteConfig properties will be available in the response. The _names_ of those properties are there but all the values are blank. Here is what I logged:

siteConfig:{acrUseManagedIdentityCreds:false acrUserManagedIdentityID:<nil> alwaysOn:<nil> apiDefinition:<nil> 
apiManagementConfig:<nil> appCommandLine:<nil> appSettings:<nil> autoHealEnabled:<nil> autoHealRules:<nil> 
autoSwapSlotName:<nil> azureMonitorLogCategories:<nil> azureStorageAccounts:<nil> connectionStrings:<nil> 
cors:<nil> customAppPoolIdentityAdminState:<nil> customAppPoolIdentityTenantState:<nil> defaultDocuments:<nil> 
detailedErrorLoggingEnabled:<nil> documentRoot:<nil> experiments:<nil> fileChangeAuditEnabled:<nil> ftpsState:<nil> 
functionAppScaleLimit:<nil> functionsRuntimeScaleMonitoringEnabled:<nil> handlerMappings:<nil> healthCheckPath:<nil> 
http20Enabled:<nil> httpLoggingEnabled:<nil> ipSecurityRestrictions:<nil> javaContainer:<nil> javaContainerVersion:<nil> 
javaVersion:<nil> limits:<nil> linuxFxVersion:<nil> loadBalancing:<nil> localMySqlEnabled:<nil> logsDirectorySizeLimit:<nil>
 machineKey:<nil> managedPipelineMode:<nil> managedServiceIdentityId:<nil> metadata:<nil> minTlsVersion:<nil> 
minimumElasticInstanceCount:0 netFrameworkVersion:<nil> nodeVersion:<nil> numberOfWorkers:<nil> phpVersion:<nil> 
powerShellVersion:<nil> preWarmedInstanceCount:<nil> publishingPassword:<nil> publishingUsername:<nil> push:<nil> 
pythonVersion:<nil> remoteDebuggingEnabled:<nil> remoteDebuggingVersion:<nil> requestTracingEnabled:<nil> 
routingRules:<nil> runtimeADUser:<nil> runtimeADUserPassword:<nil> scmIpSecurityRestrictions:<nil> 
scmIpSecurityRestrictionsUseMain:<nil> scmMinTlsVersion:<nil> scmType:<nil> tracingOptions:<nil> 
use32BitWorkerProcess:<nil> virtualApplications:<nil> vnetName:<nil> vnetPrivatePortsCount:<nil> 
vnetRouteAllEnabled:<nil> webSocketsEnabled:<nil> websiteTimeZone:<nil> winAuthAdminState:<nil> 
winAuthTenantState:<nil> windowsFxVersion:<nil> xManagedServiceIdentityId:<nil>}

Why is everything nil? How can I make the values appear, if possible?

Author: mikhailshilkov
Assignees: zhenglaizhang
Labels: `Service Attention`, `Web Apps`, `needs-triage`, `question`
Milestone: -

Any progress with this issue? When can we expect the API to be fixed?

ping @AzureAppServiceCLI, @antcp

Still no progress in fixing this very invonvenient issue?

Ping @AzureAppServiceCLI, @antcp

Ping @zhenglaizhang ?!

Three months and no action or response whatsoever...

Hi @WillooWisp sorry for the delay, I will ping web app team to check the update status today.

Hi @calvinsID any feedback about this or could you help direct the issue to correct owner?

Was this page helpful?
0 / 5 - 0 ratings