nobody
nobody

Reputation: 11090

Azure service bus queue send messages error in azure portal

I am trying to send a message to a queue in service bus using the service bus explorer.The message type is json and I get the below error.

{
   "filepath": "/testing/myfolder/test.json",
   "parameters": {
        "one": "1"
        }
}

Failed to send messages TypeError: Cannot read properties of undefined (reading 'createSender')

enter image description here

This works fine in a dev resource group service bus.

Upvotes: 1

Views: 1675

Answers (1)

nobody
nobody

Reputation: 11090

Turns out in DEV environment I have "owner" permissions to the service bus/queues whereas in PROD environment I only have "reader" permissions to the service bus/queues.

Upvotes: 1

Related Questions