Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

MSI authentication for @ServiceBusQueueTrigger issue

Open
#153 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure, java
Domain
backend, cloud

Research direction

Start at the @ServiceBusQueueTrigger annotation and trace how ServiceBusConnection is handled for SAS versus Managed Identity. Check the Java library and related runtime documentation for MSI support and the valid connection-string format. Done means the support status and implementation path are documented or the missing support is clearly identified.

Written by the indexing model from the issue text.

Description

area:java-functions

Hi
I have tried to use @ServiceBusQueueTrigger via MSI authentication, I have set ServiceBusConnection=Endpoint=sb://{my service bus namespace}.servicebus.windows.net/;Authentication=Managed Identity
It did not work
The runtime error is "Microsoft.Azure.ServiceBus: Value cannot be null. (Parameter 'ServiceBusConnection doesn't have a valid token provider')"
@ServiceBusQueueTrigger worked properly with SAS
I would like to know if @ServiceBusQueueTrigger supports MSI authentication and in case it does, how it's possible to implement it?

Dominant language
Java
Stars
45
Forks
49
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-functions-java-library

All issues in Azure/azure-functions-java-library

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.