How to use ServiceBusTopicTrigger in a function app with Entra ID app registrations

Shreshta 20 Reputation points Microsoft Employee
2024-02-14T04:11:43.85+00:00

Hi, I would like to know how to use ServiceBusTopicTrigger in a function app with Client credentials from app registration instead of connection string. Thanks,

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
700 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2024-02-14T05:32:26.71+00:00

    @Shreshta Thanks for reaching out.

    The trigger only supports the connection string or identity based connection as documented here and there is no way to authenticate the trigger using the client credential.

    In case if you are looking for identity based connection then you should enable the identity on the function app and Grant permission to the identity as documented in these steps.

    Let me know if you have any queries or concerns.

    Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.