Cannot disable/enable hyphen-named Azure functions in Azure Portal
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 215
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 1
Description
# Error description
**Cannot disable or enable an hyphen-named Azure function in the Portal**. The action fails with an error alert that is not very helpful.

# Possible cause
The diable/enable action adds a application settings variable in the background, but the app settings does not support hyphen in variable names, and the Functions panel does not know about it.

# Possible solutions
1. Discourage users to name azure functions with hyphen?
2. Give meaningful error alert in the Function Panel
3. enable hyphen support in app settings..
Would be nice to solve this inconsistency for a better user experience :)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.