question

MichaelCho-5245 avatar image
0 Votes"
MichaelCho-5245 asked AnshulKumarMINDTREELIMITED-5501 commented

Options for Changing AD Group Name

I am trying to enforce some naming standards in my AD Groups however it appears with the new AZ module there is no Update or Set AzADGroup Only Get/New/Remove.

Is my only option to leverage the older AzureRM? i was under the assumption AzureRM is to be phased out with AZ Module having feature parity???

Are there any other options?? I also noticed that AzureCLI does not appear to have he option to change the displayName of AD groups.

windows-server-powershellazure-ad-group-management
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.

0 Votes 0 ·

1 Answer

JamesTran-MSFT avatar image
0 Votes"
JamesTran-MSFT answered JamesTran-MSFT commented

@MichaelCho-5245
Thank you for your post!

When it comes to the Set-AzureADGroup command, you should be able to change a group name by using the -DisplayName parameter.

 #After running this it took about 1minute for the name to update
 Set-AzureADGroup -ObjectId "groupObjectID" -DisplayName "changeGroupNameTest"

114748-set-azureadgroup.gif


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.


Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


set-azureadgroup.gif (306.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MichaelCho-5245
I just wanted to check in and see if you had any other questions or if you were able to resolve this issue?

0 Votes 0 ·