Azure / Azure/azure-functions-host

Functions disappear from app after arm template deploy

Open
#8,189 26 comments 7 reactions 2 assignees Claimed by @kulkarnisonia16 View on GitHub
needs-investigation
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

#### Investigative information

Please provide the following:

- Timestamp: 2022-03-02
- Function App version: 4
- Region: West-Europe

#### Repro steps

Provide the steps required to reproduce the problem:

1. Create a:
- Linux function app in a consumption plan
- Set `WEBSITE_RUN_FROM_PACKAGE` to 1
2. Deploy the code using Azure Pipelines (zip deploy)
- This changes the `WEBSITE_RUN_FROM_PACKAGE` setting to `https://{storage_account}/azure-pipelines-deploy/{package_name}?{SAS token}`
3. Re-deploy the arm template

#### Expected behavior

The functions should still exist in the function app, and the function app should still work

#### Actual behavior

The setting `WEBSITE_RUN_FROM_PACKAGE` is reset to 1 and the functions disappear from the app.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.