Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

Cannot disable/enable hyphen-named Azure functions in Azure Portal

Open JowieXiang opened this issue 3 years ago • 5 comments

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.

image

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.

image

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 :)

JowieXiang avatar Dec 22 '21 03:12 JowieXiang