Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az eventhubs georecovery-alias create command remove the UserAssigned identity from primary namespace #28233

Open
v-dbhimani opened this issue Jan 22, 2024 · 4 comments
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.

Comments

@v-dbhimani
Copy link

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

@v-dbhimani v-dbhimani added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jan 22, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Event Hubs az eventhubs Service Attention This issue is responsible by Azure service team. labels Jan 22, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Jan 22, 2024

Thank you for opening this issue, we will look into it.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Saglodha.

@schaudhari6254888
Copy link
Contributor

schaudhari6254888 commented Feb 16, 2024

Hey @v-dbhimani, I have tried the exact same thing. but none of my namespace affected.
can you please, give us more information on this.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Saglodha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants