Identifying the subscribers for a Azure service bus Queue

Amar-Azure-Practice 656 Reputation points
2021-09-27T19:52:43.69+00:00

Hi

We are publishing message to service bus queue and another clinet application is reading message from service bus queue, but some unknown client application is reading message from Queue, We want to know which application is consuming the message from service bus queue.

How can we identify the list of subscribers for a service bus Queue?

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
552 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 68,656 Reputation points
    2021-09-28T05:00:24.427+00:00

    @Amar-Azure-Practice There is no way to find the client application IP which is consuming the message as this is PI information and this information is not logged at our end. Any client passing the right credential can send/recive the messages and service bus never know what was the client/application that send/recive the messages.

    The best way would be regenerate your primary/secondary connection string of your namespace level so the request will become invalid for the client consuming the messages. If you have any shared access policy at your entity level then you can also regenerate both the keys as your client may also use these keys to authenticate the request. Please alos verify if there is any Azure role-based access control (RBAC) at your namespace level which might be used for fine-grained control over a client’s access to resources.

    0 comments No comments

0 additional answers

Sort by: Most helpful