-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception when running ServiceBusTrigger with managed identity locally #2381
Comments
I can confirm this issue is happening in all of our .NET isolated function apps created with .NET 8 when running locally. |
The issue is happening even with the Python functions running locally. |
Also having this issue |
I can confirm that this also happens on our .NET isolated function apps, and that setting ExcludeManageIdentity do not change the outcome, it still tries to get the token from ManagedIdentity. |
I can also confirm that is happening to us, in isolated mode, net 8.0, with ConfigureFunctionsWebApplication() and ConfigureFunctionsWorkerDefaults(). |
Also having this issue running Az Function locally |
Description
When we run our functions that use ServiceBus Trigger locally we get an error log, but the function continues to run and connects to ServiceBus.
The error we see is:
My local config for service bus is:
"ServiceBusTriggerConnection__fullyQualifiedNamespace": "xxx-yyy-local.servicebus.windows.net",
The example function signature where we see this:
[Function(nameof(DeleteContentFunction))]public async Task Run([ServiceBusTrigger("%DeleteContentTopic%", "%DeleteContentSubscription%", Connection = "ServiceBusTriggerConnection")] string messageString)
We aren't sure why we get this error, but I confirmed that it's showing up only in case of SB Trigger and managed identity.
Steps to reproduce
Run function locally.
The text was updated successfully, but these errors were encountered: