Issues with ServiceBusTrigger configuration with Azure Functions
Hi, I have configured a Standard Tier Azure Service Bus and created an Azure Function App with a ServiceBusTrigger. Sessions are enabled for both the bus and trigger. My configuration are as follows: "serviceBus": { "prefetchCount":…
upload_blob and download_blob takes 2 seconds to execute which increases execution time of our API
This is how we are creating a pdf on azure blob storage and reading the file from Azure blob storage upload_blob and download_blob takes 2 seconds to execute which increases execution time of our API i tried async but it didnt reduced time. func tools…
Need help understand the source of User Errors seen in Insights of Azure Service Bus
Hi, I'm seeing a lot of User Errors on the Insights section of Azure Service Bus. Looking at logs in the service using the following query: AzureDiagnostics | where ResourceProvider == "MICROSOFT.SERVICEBUS" | where ErrorMessage_s !=…
service bus
I am unable to delete the service bus namespace, i have created service in primary as well as secondary location along with geo-replication enabled but i am unable to delete it
Retrieve Correlation Id of a Service Bus Message in Azure Function
A message on an Azure Service Bus queue triggers Azure Function. Receiving simple message and performing a logging activity of the message body is successfull. But when I want to retrieve Broker Properties like Correlation Id, its resulting in error.…
How to trigger an alert when a message in a topic moved to DeadLetterQueue in ServiceBus
How to trigger an alert when a message in a topic moved to DeadLetterQueue in ServiceBus
No session available to complete the message with the lock token
For some reason sometimes my servicebus throws this error to me: "No session available to complete the message with the lock token". Its not because of the lock-timeout, this is set to the max 5 minutes. As shown in the screenshot is happens…
Service Bus Communication Error
Good day, I have a logic app that reads from a session-enabled queue. At most, there may be 2 instances of this running in parallel. However, each instance would never use the same session ID when reading from queue as they represent different…
The lock supplied is invalid. Either the lock expired, or the message has already been removed from the queue.
Getting this error in service bus. The error image is from log analytics. The lock supplied is invalid. Either the lock expired, or the message has already been removed from the queue. The detailed error message is: The lock supplied is invalid.…
Rest call failed with client error in Source ADF , status code 401 Unauthorized with Service bus in Azure Cloud
Hi, Trying to post a JSON message to Service bus queue via ADF REST API call but ended up the following error message. The ADF has the service bus owner and sender roles. ADF and service bus are in different virtual networks (West US and West US2) in the…
Need to get the client IP's which is connecting the service bus so that I can whitelist that IP
Hi Team, I am looking into whitelisting the source IP's which is connecting my service Bus. For that I had enabled diagnostics in my service bus .But when i pull the logs from azure diagnostics table it shows the caller_ip address as blank and all IP…
Azure service bus role assignment time based
I have created a service bus namespace with one queue in it. I have disabled "local authentication" from overview due to security reason. Now I want to use service bus explorer from azure portal to view messages in queue/dlq using azure active…

Reject subset of events in function app using nodejs
From the docs, I can see that using C# it's possible to set autoCompleteMessages to false and manually complete or abandon an individual event when receiving a batch of events. Can anyone confirm that this same functionality does not exist in nodejs? If…
How to set up custom header for Azure Service Bus Message in Azure AD B2C Custom Policy?
Hello, I am currently working on an Azure AD B2C custom policy and need to send a message to Azure Service Bus with a custom header. Specifically, I need to set the BrokerProperties.ScheduledEnqueueTimeUtc header while sending the message. Here is the…
Azure Service Bus - Unauthorized: Maximum credits exceeded
After months of successful processing in Azure Service Bus, I'm receiving this error on every request. Unauthorized: Maximum credits exceeded. It's not clear to me on how to fix this issue. I've looked around the quotas and usage for all of our…
Where to update Lock Duration for Service Bus Queue Messages in Azure Portal
I would like to update the Lock Duration for messages on my Service Bus Queue, but I cannot find an option in the Azure Portal and other forum posts/docs noting the location. I am aware of the Azure CLI method to do so, but I would prefer to do it in…
Service Bus Premium Messaging Unit Downtime
Hello, I would like to know if there's downtime when scaling messaging units of a premium service bus (e.g., 2 MU to 1 MU). Thanks.
How can I determine where all these User Errors are coming from in Service Bus?
Looking at metrics for the Service Bus, the amount of User Errors that are occurring do not add up to the errors that we are seeing for the processes that take place due to the service bus. Due to this we are concerned that there are a large number of…
Service bus triggered azure function behaviour
Hi Team, I have scenario where we are sending thousands of messages to Azure service bus topic and then we have 'Service bus topic trigger' azure function. Azure service bus - Standard tier Azure function (Topic trigger) - App service plan Topic…
Azure Service Bus - Are you charged for requests and/or messages?
According to Azure Service Bus pricing (Basic/Standard), we are charged per million operations. However, on my Azure Service Bus dashboard, there are certain metrics: Incoming Requests Successful Requests Incoming Messages Outgoing Messages Of…