1
votes

I have some functions running in a Linux hosted Function App on a Consumption Plan. When I try to disable them through the Azure Portal some fail with an error [object Object].

enter image description here

Looking at the raw response in the browser dev tools indicates the error message is:

AppSetting with name 'AzureWebJobs.document-types.Disabled' is not allowed.

enter image description here

1

1 Answers

0
votes

After debugging for a while it seems many of the other functions can be disabled without issue. In the end I discovered that renaming the function solves the problem. It appears that the portal does not like names containing dashes -. After renaming the function to documentTypes I'm able to disable it without errors.