Azure / Azure/Azure-Functions

Documentation on creating Function app in Dedicated app service plan via Bicep is misleading

Open
#2,418 2 comments 0 reactions 1 assignee Claimed by @bhagyshricompany View on GitHub
area: documentation
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

## Issue
In the docs regarding functions, infrastructure as code and specifically the part on creating a function app in a dedicated app service plan [Create a function app](https://learn.microsoft.com/en-us/azure/azure-functions/functions-infrastructure-as-code?tabs=bicep#create-a-function-app-2), the docs state that the variables WEBSITE_CONTENTAZUREFILECONNECTIONSTRING and WEBSITE_CONTENTSHARE are unsupported in this scenario.

However, function apps deployed without these variables set to correct values seem to be unable to start.
Errors detected is: 502 - Bad Gateway

When trying to access the app via Kudo:
```
Server Error in '/' Application
The user name or password is incorrect
```

## Mitigation
Re-deploying the function apps with correct values for these variables solved the issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.