This client is not supported for a partitioned entity

Scenario is simple, to send file which is on Prem using SB Messaging adapter to Azure service bus queue and for that I created a queue using Azure portal under my ServiceBus namespace using the Quick Create option.

ServiceBus namespace using the Quick Create option.

Created a simple messaging application in Admin console with a receive location and a send port configured with SB adapter and properties pertaining to the queue which I created using the Azure portal.
This client is not supported for a partitioned entity

Got above error while sending message to Azure Service Bus queue. 

Why it happened

As mentioned in error "This client is not supported for a partitioned entity" , the destination is a partitioned entity -- the Queue and communication to this queue is not supported for client (BizTalk SB adapter).

Whenever you create a queue using Quick Create option, the created queue will have partitioning enabled by default, so you can't send messages to those queue from BizTalk as of now.

What to do

You need to create a queue which does not have partitioning enabled on it, but we don't have provision to do this with Quick create option so we need to use Custom create option.

create a queue

Above three properties are also available when we use Quick Create option, but you don't see second page i.e., Configure Queue. It is only visible when we choose Custom create option

create a queue enable partitioning

And as can be seen in above snap, Enable Partitioning property is checked by default, so I unchecked it and continued.

create a queue enable partitioning 1

After the new queue was created , I configured the send port as per new queue and tried sending message again, and yes it was successful.
successful message to queue

If you have questions or suggestions, feel free to do in comments section below !!!

Do share if you find this helpful .......
                          Knowledge Sharing is Caring !!!!!!

Post a Comment

If you have any suggestions or questions or want to share something then please drop a comment

Previous Post Next Post