Set-AzureADMSGroup

Let us learn the syntax and usage of the Set-AzureADMSGroup PowerShell command with examples of how to use this particular command.

Set-AzureADMSGroup

This PowerShell command can help you to modify different properties of the Azure AD group.

Syntax

Below is the syntax of the Set-AzureADMSGroup PowerShell command.

Set-AzureADMSGroup
 -Id <String> [-DisplayName <String>]

Let’s discuss an example of how to use the Set-AzureADMSGroup PowerShell command.

Example

You can execute the below PowerShell command to update the display name of an Azure AD group as specified.

Set-AzureADMSGroup -Id '26a1666e-6584-4afe-9218-44b0dd452426' -DisplayName 'MyNewTsInfoGroup'

After executing the above PowerShell command, I got the below-expected output.

Set-AzureADMSGroup

To cross-check that the Display name has been updated successfully, let’s run the Get-AzureADMSGroup PowerShell command. You can able to see in the below screenshot that the Display name of the specified group has been updated successfully.

Set-AzureADMSGroup PowerShell

You can also check out the below Video tutorial on the Set-AzureADMSGroup PowerShell Command.

You can also check out a few important Azure PowerShell Commands.

Final Thoughts

Well, in this Azure PowerShell article, we discussed the syntax and usage of the Set-AzureADMSGroup PowerShell command with examples of how to use this command. Thanks for reading this article !!!