You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a function triggered by Service Bus connection strings.
There is an issue isolated worker process: the connection string stored in container secret storage are not resolved during function discovery, causing the function to fail.
Reproduction Steps
Create an isolated Azure function project with a Service Bus trigger.
Store the service bus connection string in the file path C:\mnt\secrets-store\ with a file named ServiceBusConnection.
DO NOT include the connection string in the local.settings.json file.
The function should start with the resolved connection string.
Actual behavior
Error Message: When the app starts, the following error occurs:
The listener for function 'Functions.ServiceBus' was unable to start. Microsoft.Azure.WebJobs.Extensions.ServiceBus: Service Bus account connection string with name 'ServiceBusConnection' does not exist in the settings. Make sure that it is a defined App Setting.
Regression?
NA
Known Workarounds
NA
Configuration
Which version of .NET is the code running on?
.NET 8
What OS and version, and what distro if applicable?
Can be reproducible with Windows 10, x64.
Observed the same issue in docker container - Linux
Other information
This issue only occurs in the isolated worker process.
The in-process model is working fine.
The text was updated successfully, but these errors were encountered:
Description
I have a function triggered by Service Bus connection strings.
There is an issue isolated worker process: the connection string stored in container secret storage are not resolved during function discovery, causing the function to fail.
Reproduction Steps
C:\mnt\secrets-store\
with a file namedServiceBusConnection
.local.settings.json
file.Program.cs
to load the secret:Expected behavior
The function should start with the resolved connection string.
Actual behavior
Error Message: When the app starts, the following error occurs:
The listener for function 'Functions.ServiceBus' was unable to start. Microsoft.Azure.WebJobs.Extensions.ServiceBus: Service Bus account connection string with name 'ServiceBusConnection' does not exist in the settings. Make sure that it is a defined App Setting.
Regression?
NA
Known Workarounds
NA
Configuration
Which version of .NET is the code running on?
.NET 8
What OS and version, and what distro if applicable?
Other information
The text was updated successfully, but these errors were encountered: