Azure / Azure/azure-cli

Cannot create consumption function app plan

Open
#11,195 26 comments 10 reactions 0 assignees View on GitHub
act-observability-squad azf_feature_request azf_reviewed customer-reported Functions needs-team-attention Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.76

**Describe the bug**
Cannot create azure function app plan of type consumption? Get following error message:

_Invalid sku(pricing tier), please refer to command help for valid values_

**To Reproduce**

Run following command:

az functionapp plan create --name myplan --resource-group mygroup --location westeurope --sku Y1

or

az functionapp plan create --name myplan --resource-group mygroup --location westeurope --sku Dynamic

**Expected behavior**

Creates a consumption function app plan in azure

**Environment summary**
Install CLI version 2.0.76

**Additional context**
Have tried both Y1 and Dynamic and it doesn't work? Would be nice to have some examples what values it should be for the sku in the documentation also?

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.