Powershell - Add users from groups to assign group with group exceptions
Oct 3, 2024 · 4 min read · # 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...
Join discussion