satyak
satyak

Reputation: 1

Unable to Queue a Message using "Microsoft.Azure.ServiceBus" when Queue status was set to"ReceiveDisabled"

Getting below error when try to queue a message

System.Private.CoreLib: Exception while executing function: ServiceBusOutput. Microsoft.Azure.ServiceBus: Messaging entity 'sb://******/QueueName' is currently disabled

I'm able to queue message to the same queue using BrokeredMessage from WindowsAzure.ServiceBus library.

How can we queue a message when the queue is in "ReceiveDisabled" status? Thank you.

Upvotes: 0

Views: 350

Answers (1)

kannangokul
kannangokul

Reputation: 84

this may be because of the connection string which you are using has access only to send.

Please check in your Azure portal under Shared access key whether your service bus connection string has access to send and receive

enter image description here

Upvotes: 1

Related Questions