Forum Discussion

CrashLongJohns's avatar
CrashLongJohns
Brass Contributor
Aug 12, 2021

Issue setting Azure Team Group SecurityEnabled from False to True

Hello.  Still new to this whole PowerShell thing.  I have Power Shell 7.1.4 PSEdition Core.

 

Since MSFT changed things from AzureRM/Azure to Az finding cmdlets not really matching instructions out there.

I'm good with log in Azure:  Connect-AzAccount

I'm good with vie Azure Groups:  Get-AzAdGroup -objectId <ID>
What is not working is the Set-AzAdGroup -objectId <ID> -SecurityEnabled $True

or Set-AzureADGroup -ObjectId <ID> -SecurityEnabled $True

What exactly is the new Az cmdlet to allow one to change the SecurityEnabled from False to True?

Thank you

Resources