Let us learn the syntax and usage of the Set-AzureADMSGroup PowerShell command with examples of how to use this particular command.
This PowerShell command can help you to modify different properties of the Azure AD group.
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.
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.
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.
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.
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 !!!