Azure / Azure/azure-cli

`az functionapp config container set` is missing parameters that `az webapp config container set` has

Open
#16,738 4 comments 0 reactions 1 assignee Claimed by @fabiocav View on GitHub
act-observability-squad Functions Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**
The `functionapp` subcommand is missing several key flags that the equivalent `webapp` command has.

This means when you deploy a Function App into Azure no functions appear.

Also as a side point, the fact that if `WEBSITES_ENABLE_APP_SERVICE_STORAGE` is missing or set to true, the Kudu runtime pulls the container but never uses it with NO logs is _so so so so_ confusing... 😖

To be quite honest the `az functionapp config container set` should default `WEBSITES_ENABLE_APP_SERVICE_STORAGE` to false as it's _pointless_ with it missing or on true as Kudu will just boot your app fine but never send requests to it... >.<;

**To Reproduce**
Try to deploy a new function with `az functionapp config container set` and the functions never appear if the variable isn't set to false.

**Expected behavior**
I should be able to supply `--enable-app-service-storage false` or better, hardcode it to false for this scenario as it should _never_ be true for a container.

**Additional context**
![image](https://user-images.githubusercontent.com/2286713/106296628-d4f6a280-6249-11eb-924c-6418a281104a.png)

![image](https://user-images.githubusercontent.com/2286713/106296683-e344be80-6249-11eb-8d75-2af2a51b89e0.png)

As you can see the webapp command has extra flags.

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.