Describe the bug
When creating the servicebus queue with az servicebus queue create and the parameter --enable-partitioning is set to true this is ignored by the cli and the setting is still disabled in portal.
Furthermore when using az servicebus queue update to enable partitioning bad request is returned.
Command Name
az servicebus queue create
az servicebus queue update
Errors:
(MessagingGatewayBadRequest) <Error><Code>400</Code><Detail>SubCode=40000. Partitioning cannot be changed for Queue. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:545e4894-b18d-4b96-9ed6-00ab14a406bd_G1, SystemTracker:sb-bof-nlst-rc.servicebus.windows.net:clearance-processing, Timestamp:2022-11-25T11:55:39</Detail></Error>
Code: MessagingGatewayBadRequest
Message: <Error><Code>400</Code><Detail>SubCode=40000. Partitioning cannot be changed for Queue. To know more visit https://aka.ms/sbResourceMgrExceptions. TrackingId:545e4894-b18d-4b96-9ed6-00ab14a406bd_G1, SystemTracker:sb-bof-nlst-rc.servicebus.windows.net:clearance-processing, Timestamp:2022-11-25T11:55:39</Detail></Error>
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here...
az servicebus queue create --name {} --namespace-name {} --resource-group {} --enable-session --enable-batched-operations --max-size {} --enable-partitioning {} --lock-duration {} --max-delivery-count {} --debug
- look in portal --> partitioning is disabled
az servicebus queue update --name {} --namespace-name {} --resource-group {} --enable-session --enable-batched-operations --max-size {} --enable-partitioning {} --lock-duration {} --max-delivery-count {} --debug
Expected Behavior
should work as documented here and here
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.10.8
Installer: MSI
azure-cli 2.42.0
Extensions:
account 0.2.5
application-insights 0.1.16
azure-devops 0.25.0
Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1
Additional Context
Describe the bug
When creating the servicebus queue with
az servicebus queue createand the parameter --enable-partitioning is set to true this is ignored by the cli and the setting is still disabled in portal.Furthermore when using
az servicebus queue updateto enable partitioning bad request is returned.Command Name
az servicebus queue createaz servicebus queue updateErrors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az servicebus queue create --name {} --namespace-name {} --resource-group {} --enable-session --enable-batched-operations --max-size {} --enable-partitioning {} --lock-duration {} --max-delivery-count {} --debugaz servicebus queue update --name {} --namespace-name {} --resource-group {} --enable-session --enable-batched-operations --max-size {} --enable-partitioning {} --lock-duration {} --max-delivery-count {} --debugExpected Behavior
should work as documented here and here
Environment Summary
Additional Context