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

Multiple AAD Group Using Same Name #24162

Open
arindam0310018 opened this issue Oct 11, 2022 · 20 comments
Open

Multiple AAD Group Using Same Name #24162

arindam0310018 opened this issue Oct 11, 2022 · 20 comments
Assignees
Labels
AAD Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request Graph az ad
Milestone

Comments

@arindam0310018
Copy link

Hello Team,
Please be informed that I can Create Multiple AAD Group using the Same Display Name.
Consider the Name of the AAD Group = AM-Test-100

The AAD Group "AM-Test-100" was created successfully from Azure Portal.

Next time, I tried to create AAD Group with the same name "AM-Test-100" from Azure Portal, it displays "GROUP NAME NOT AVAILABLE".

This is the expected behavior.

Now, I tried to create AAD Group with the Same Name "AM-Test-100" not using Azure Portal but this time using Az CLI.
Below is the command:-

az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100

The command executes successfully.

As Observed from Azure Portal, now we have 2 AAD Groups with Same Name "AM-Test-100" but with different Object IDs.
Question 1 - Is this an expected behavior or a bug ?

Now, I Execute the same command like above, changing only the "mail-nickname" -

az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100-01

The command executes successfully.

As Observed from Azure Portal, now we have 3 AAD Groups with Same Name "AM-Test-100" but with different Object IDs.
Question 2 - Is this an expected behavior or a bug ?

Note: "mail-nickname" is not displayed over Azure Portal.

Awaiting for your response.

Many Thanks
Regards, Arindam Mitra


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@ghost ghost added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Graph az ad labels Oct 11, 2022
@ghost ghost assigned jiasli Oct 11, 2022
@ghost ghost added this to the Backlog milestone Oct 11, 2022
@ghost ghost added the AAD label Oct 11, 2022
@yonzhan yonzhan added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 12, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Oct 12, 2022

@jiasli for awareness

@arindam0310018
Copy link
Author

Hello @yonzhan @jiasli
Please let me know if I my understanding is wrong ?

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan @jiasli
If time permits, please update
Awaiting for your response!!!

Many Thanks
Regards,
Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan @jiasli
If time permits, please update
Awaiting for your response!!!

Many Thanks
Regards,
Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan @jiasli
If time permits, please update
Awaiting for your response!!!

Many Thanks
Regards,
Arindam Mitra

1 similar comment
@arindam0310018
Copy link
Author

Hello @yonzhan @jiasli
If time permits, please update
Awaiting for your response!!!

Many Thanks
Regards,
Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan @jiasli

Any update Please!!!

Many Thanks
Best Regards, Arindam Mitra

@yonzhan yonzhan added feature-request and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Nov 7, 2022
@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

I see you have added a feature request.
Could you please share a direct link.
Also, If you can confirm if this is a bug.

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

Please update when you find time

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

Any update please ?

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

Please update when you find time

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

Please update !!!

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

Request for an update please.

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

Request for an update please when time permits.

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

Request for an update please when you find time.

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @yonzhan
/cc: @jiasli

Request for an update please.

Many Thanks
Regards, Arindam Mitra

@jiasli
Copy link
Member

jiasli commented Apr 18, 2023

Hi @arindam0310018, apologize for the delay as I was fully occupied with other high-priority tasks. Also, since this issue is not a bug, it falls out of my radar.

Azure CLI is merely a REST client of Microsoft Graph API. The behavior of allowing creating multiple groups with the same displayName is from Microsoft Graph API Create group: https://learn.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0&tabs=http

If you are concerned with such behavior, you may reach out to Azure support: https://azure.microsoft.com/en-us/support

Thanks for your understanding.

@arindam0310018
Copy link
Author

Hello @jiasli
Thank you for your kind reply.
I see your point.
I CANNOT create AAD group from Azure Portal using the same display name, but I CAN created multiple AAD Group with same display name using AZCLI (my modifying just the "Nick name" Parameter).

2 Questions more -

  1. Does this mean that I should open another Issue in Github with AZCLI/MS Graph API Team or should I directly report this to Azure Support team as you have mentioned above ? The Reason I ask is the fact that I can create multiple AAD Group with same display name from AZCLI which still appears to be as bug. Yes, Offcourse, this is not happening from Portal but definitely from AZCLI.

  2. I can only create multiple AAD Groups with Same Display name by altering the the Nickname Parameter in the AZCLI command. Below is the command:-

az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100
az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100-01
az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100-02

You see from above, that I can create 3 or more AAD Groups with Same Display name "AM-Test-100" by just altering the nickname parameter.

However, I cannot see the value of the Nickname in Azure Portal against the group. Is this expected ? If Yes, a little explanation would be helpful.

Many Thanks
regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @jiasli
Appreciate an update from your side when you find time.

Many Thanks
Regards, Arindam Mitra

@arindam0310018
Copy link
Author

Hello @jiasli
Kindly update when you find time.

Many Thanks
Regards, Arindam Mitra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AAD Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request Graph az ad
Projects
None yet
Development

No branches or pull requests

3 participants