Azure / Azure/azure-functions-dotnet-extensions

The Functions scale controller may not scale the following functions correctly because some configuration values were modified in an external startup class

Open
#65 17 comments 5 reactions 1 assignee Assigned to @fabiocav View on GitHub
Needs: author feedback
Dominant language
C#
Stars
81
Forks
50
PR merge metrics
No merged PRs in 30d

Description

I get the following error in Azure when using version 1.1.0 (of Microsoft.Azure.Functions.Extensions):

```
The Functions scale controller may not scale the following functions correctly because some configuration values were modified in an external startup class.
Function 'FunctionName1' uses the modified key(s): ServiceBusConnectionString
Function 'FunctionName2' uses the modified key(s): ServiceBusConnectionString
```

This message is a warning locally, but an error on Azure that prevents the whole Function app from working.

The issue https://github.com/Azure/azure-functions-host/issues/6542 suggests that it is because on the Consumption plan the scale controller cannot access the environment variables. I have no reason to disbelieve that, but the exact same code works using version 1.0.0, so apparently using the old version the scale controller can access the environment variables.

I have not found that it is mentioned in the release notes of 1.1.0 that there is any breaking changes.

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.