-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
[BUG] Function [XYZ]: cannot find value named 'ServiceBusConnection' in local.settings.json that matches 'connection' property set on 'serviceBusTrigger' #32840
Comments
Label prediction was below confidence level |
This is also true for any function trigger that supports the "__fullyQualifiedNamespace" connection property (hack). |
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
I believe the issue here is related to the version of the Core Tools being used. Can you try using the latest? |
@JoshLove-msft will give it a shot, thanks |
Hi @petrkoutnycz. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “ |
Hi kristinannabel, only the original author of the issue can ask that it be unresolved. Please open a new issue with your scenario and details if you would like to discuss this topic with the team. |
1 similar comment
Hi kristinannabel, only the original author of the issue can ask that it be unresolved. Please open a new issue with your scenario and details if you would like to discuss this topic with the team. |
Library name and version
microsoft.azure.webjobs.extensions.servicebus 5.8.1
Describe the bug
I was trying to enable Managed Identity together with
ServiceBusTrigger
in my Azure Function according to the official guide here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-identity-based-connections-tutorial-2.Expected behavior
There is no MSBuild warning regarding missing setting in
local.settings.json
when using Managed Identity for Azure Functions.Actual behavior
There is a warning
Function [XYZ]: cannot find value named 'ServiceBusConnection' in local.settings.json that matches 'connection' property set on 'serviceBusTrigger'
. This warning is misleading since according to the guide, there should not even be a setting like that since there is aServiceBusConnection__fullyQualifiedNamespace
present.Reproduction Steps
Prepare an Azure Function based on the official page here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-identity-based-connections-tutorial-2.
Environment
The text was updated successfully, but these errors were encountered: