Let us learn the syntax and usage of the Set-AzureADMSGroup PowerShell command with examples of how to use this particular command.
Table of Contents
This PowerShell command can help you to modify different properties of the Azure AD group.
Syntax of Set-AzureADMSGroup
Below is the syntax of the Set-AzureADMSGroup PowerShell command.
-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 see in the screenshot below that the Display name of the specified group has been updated successfully.
Set-AzureADMSGroup PowerShell – Video Tutorial
You can also check out the video tutorial below 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 !!!
I am Rajkishore, and I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machine, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.