Options for Changing AD Group Name

Michael Cho 1 Reputation point
2021-07-14T11:30:15.14+00:00

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 PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,362 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,459 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,366 Reputation points Microsoft Employee
    2021-07-14T23:18:34.637+00:00

    @Michael Cho
    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.