az eventhubs georecovery-alias create command remove the UserAssigned identity from primary namespace #28233
Labels
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
customer-response-expected
Event Hubs
az eventhubs
Service Attention
This issue is responsible by Azure service team.
Describe the bug
I am trying to create a georecovery alias using the az cli for eventhubs. for this I have created a Primary namespace and secondary namespace, for that I have added the UserAssigned identity to the both namespace and that's working fine.
After that I am using the az eventhubs georecovery-alias create command to create georecovery alias and that ultimately trigger the change to my primary namespace and it removes the UserAssigned identity from my namespace.
Also tried the same thing using the terraform and facing the same issue.
Related command
az eventhubs georecovery-alias create --alias <alias-name> --namespace-name <primary-namespace-name> --partner-namespace <secondary-namespace-id> --resource-group <resource-group-name>
Errors
Command is not failing with any error but it's behaviour is not expected.
Issue script & Debug output
az eventhubs georecovery-alias create --alias <alias-name> --namespace-name <primary-namespace-name> --partner-namespace <secondary-namespace-id> --resource-group <resource-group-name>
Expected behavior
When we run this command it should just create georecovery-alias using the primary namespace and secondary namespace. it should not trigger any of the change in any namespace.
Environment Summary
azure-cli 2.56.0
core 2.56.0
telemetry 1.1.0
Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2
Python location '/usr/bin/python3.9'
Extensions directory '/root/.azure/cliextensions'
Python (Linux) 3.9.14 (main, Oct 12 2023, 19:48:32)
[GCC 11.2.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
The text was updated successfully, but these errors were encountered: