Azure-Functions
Azure-Functions copied to clipboard
Cannot disable/enable hyphen-named Azure functions in Azure Portal
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
- Discourage users to name azure functions with hyphen?
- Give meaningful error alert in the Function Panel
- enable hyphen support in app settings..
Would be nice to solve this inconsistency for a better user experience :)