Open JowieXiang opened 2 years ago
Hi @JowieXiang, Thank you for your feedback! We will check for the possibilities internally and update you with the findings.
Hi @pragnagopa , Could you please take a look at this issue.
Tagging @takyyon to help track the issue on the Portal
It's a documented bug (ALAS a little bit too hidden IMHO), see: https://learn.microsoft.com/en-us/azure/azure-functions/disable-function?tabs=portal#considerations
Didn't found any workaround. I did read somewhere that using terraform works but I haven't been able to test it.
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
Would be nice to solve this inconsistency for a better user experience :)