To remove the forwarding configuration from your Azure Service Bus queue, please run the following command in a bash shell using Azure CLI:
az servicebus queue update \
--resource-group <YourResourceGroup> \
--namespace-name <YourNamespaceName> \
--name <YourQueueName> \
--remove forward_to
Replace <YourResourceGroup>
, <YourNamespaceName>
, and <YourQueueName>
with your actual resource group, namespace, and queue names.
This command will clear the forward_to
property from the queue without needing to recreate it. Please ensure that you are using the latest version of Azure CLI and are logged into the correct subscription.