Jibz
I need help with Powershell script that can rename several Azure AD Security group names
Example: I have 100 Security groups in Azure and want to add "US" or "UK" to all of them
Any help or pointers will be highly appreciated.
Thank you
0
Comments
I haven't tested this, but I would approach this by getting all of your Azure AD Security groups into a $groups variable, and then go through a foreach ($group in $groups) loop and for each group rename it. You can construct the new name based off of the old name.
Set-AzureADGroup (AzureAD) | Microsoft Docs
Get-AzureADGroup (AzureAD) | Microsoft Docs