-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Service Busaz servicebusaz servicebusbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-author-feedbackMore information is needed from author to address the issue.More information is needed from author to address the issue.no-recent-activityThere has been no recent activity on this issue.There has been no recent activity on this issue.
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Service Busaz servicebusaz servicebusbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-author-feedbackMore information is needed from author to address the issue.More information is needed from author to address the issue.no-recent-activityThere has been no recent activity on this issue.There has been no recent activity on this issue.