question

VindujaPG-1611 avatar image
0 Votes"
VindujaPG-1611 asked MayankBargali-MSFT edited

Service bus Queue not creating under Basic Tier

I couldn't create a queue in service bus using a Basic Tier. It showing error as The property 'AutoDeleteOnIdle' cannot be set when creating a Queue because the namespace 'servicebuslakeside' is using 'Basic' tier.

azure-service-bus
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered MayankBargali-MSFT edited

Hi @VindujaPG-1611

Welcome to Microsoft Q&A! Thanks for posting the question.

Looking into the backend logs I can see your namespace is created under Basic SKU.
AutoDeleteOnIdle feature is not supported in the basic tier of service bus SKU. This operation is only supported in the 'Standard' or 'Premium' tier.
Please consider upgrading from Basic to Standard or Premium tier to use this functionality.

Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MayankBargali-MSFT Why do we need AutoDeleteOnIdle feature? Can I create queue without using this feature under Basic Tier?

0 Votes 0 ·

@VindujaPG-1611 AutoDeleteOnIdle is the feature where your entity (queue/subscription) will auto delete after the set duration if the entity is idle. Yes, you can create a queue without AutoDeleteOnIdle property for Basic tier.

0 Votes 0 ·

i have manually created the queue and pushed the message. When i try consuming am not able to. I am using Service bus with MassTransit . Is there a way to consume the queue without scaling to Standard Tier? https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-resource-manager-exceptions The document also shows that we cannot set or update the AutoDeleteOnIdle property. Is there an official documentation on this workaround/feature ?

0 Votes 0 ·
Show more comments