[BUG] Cannot disable azure functions with '-' in name in Linux environment

Open
#1,308 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

area:python-functions docs

This is a known issue apparently.

There is a warning about it in the documentation here.

At this time, function names that contain a hyphen (-) can't be disabled when running on Linux plan. If you need to disable your functions when running on Linux plan, don't use hyphens in your function names.

There should be a warning or restriction on this when creating a function in visual code.

There should be a more useful error message in portal than:

Failed to disable alg-bands AppSetting with name 'AzureWebJobs.alg-bands.Disabled' is not allowed.

edit: see here for why it is important and relevant to me

Dominant language
Python
Stars
357
Forks
116
Avg merge
32m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-functions-python-worker

All issues in Azure/azure-functions-python-worker

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.