Skip to content

Commit d7de4b3

Browse files
authored
Merge pull request #188998 from lucashuet93/functionappsettings
add WEBSITE_SKIP_CONTENTSHARE_VALIDATION setting
2 parents b9324d6 + f8f219d commit d7de4b3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/azure-functions/functions-app-settings.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,16 @@ Only used when deploying to a Premium plan or to a Consumption plan running on W
360360

361361
When using an Azure Resource Manager template to create a function app during deployment, don't include WEBSITE_CONTENTSHARE in the template. This slot setting is generated during deployment. To learn more, see [Automate resource deployment for your function app](functions-infrastructure-as-code.md?tabs=windows#create-a-function-app).
362362

363+
## WEBSITE\_SKIP\_CONTENTSHARE\_VALIDATION
364+
365+
The WEBSITE_CONTENTAZUREFILECONNECTIONSTRING and WEBSITE_CONTENTSHARE settings have additional validation checks to ensure that the app can be properly started. Creation of application settings will fail if the Function App cannot properly call out to the downstream Storage Account or Key Vault due to networking constraints or other limiting factors. When WEBSITE_SKIP_CONTENTSHARE_VALIDATION is set to `1`, the validation check is skipped; otherwise the value defaults to `0` and the validation will take place.
366+
367+
|Key|Sample value|
368+
|---|------------|
369+
|WEBSITE_SKIP_CONTENTSHARE_VALIDATION|`1`|
370+
371+
If validation is skipped and either the connection string or content share are not valid, the app will be unable to start properly and will only serve HTTP 500 errors.
372+
363373
## WEBSITE\_DNS\_SERVER
364374

365375
Sets the DNS server used by an app when resolving IP addresses. This setting is often required when using certain networking functionality, such as [Azure DNS private zones](functions-networking-options.md#azure-dns-private-zones) and [private endpoints](functions-networking-options.md#restrict-your-storage-account-to-a-virtual-network).

0 commit comments

Comments
 (0)