Azure / Azure/Azure-Functions

[Object object] error on enabling timed trigger function

Open
#2,377 4 comments 0 reactions 1 assignee Claimed by @vijaykumar911 View on GitHub
bug Needs: Triage (functions)
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

New development in a function app has lead to a handful of functions being deployed with a [Disabled] attribute in C#. We're ready to test one of these functions, but we're unable to enable it.

Other functions can be disabled/enabled via the azure portal UI without issue. I recognize that this has been a problem in the past for functions with dashes in their names, but this particular function does not contain a dash. From the function app > Functions overview, attempting to enable fires a generic:

```
"Failed to enable /. Error: [Object object]"
```

I've tried via azure CLI as well,
`
[ ~ ]$ az functionapp config appsettings set --name --resource-group --settings AzureWebJobs..Disabled=false --output table`

This does not fire an error, and returns
```

Name SlotSetting Value
...
AzureWebJobs..Disabled False false

```

But the function remains disabled in the Azure UI and doesn't appear to execute. The job fires successfully when run manually.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.