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.
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.
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.
@MayankBargali-MSFT Why do we need AutoDeleteOnIdle feature? Can I create queue without using this feature under Basic Tier?
@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.
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 ?
3 people are following this question.