Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZirconCode opened this issue Aug 24, 2023 · 2 comments
Assignees
Labels

Comments

@ZirconCode
Copy link

ZirconCode commented Aug 24, 2023

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

@ZirconCode
Copy link
Author

Renaming functions is difficult in a large project, and I have not seen an official guide to it.

@bhagyshricompany
Copy link

bhagyshricompany commented Aug 28, 2023

Please refer this document:https://learn.microsoft.com/en-us/azure/azure-functions/disable-function?tabs=portal
image need discussion on this will update once done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants