Azure / Azure/azure-rest-api-specs

Web: GET a WebApp returns no `SiteConfig` properties

Open
#12,104 15 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Service Attention Web Apps
Dominant language
TypeSpec
Stars
3.1k
Forks
6k
Avg merge
2d 21h
Merged PRs (30d)
432

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with specification/web/resource-manager/Microsoft.Web/stable/2020-09-01/WebApps.json at the GET WebApp response definition around line 98. Compare the declared SiteConfig schema with the reported response and determine whether the missing values are a specification issue or service behavior. Done means establishing the cause and documenting the required correction or response.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.