-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Multiple AAD Group Using Same Name #24162
Comments
@jiasli for awareness |
1 similar comment
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 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. |
Hello @jiasli 2 Questions more -
az ad group create --display-name AM-Test-100 --mail-nickname AM-Test-100 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 |
Hello @jiasli Many Thanks |
Hello @jiasli Many Thanks |
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.
The text was updated successfully, but these errors were encountered: