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 for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,911 Reputation points Microsoft Employee Moderator
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.