Powershell - Add users from groups to assign group with group exceptions
# Ensure the Microsoft.Graph module is imported
# Import-Module Microsoft.Graph
# Authenticate using the managed identity
Connect-MgGraph -Identity -NoWelcome
#Connect-MgGraph -Scopes "User.Read.All", "Group.ReadWrite.All" -NoWelcome
# Control vari...
oliviomoura.com4 min read