---
title: "Olívio Moura (@oliviomoura) | Hashnode"
description: "Olívio Moura (@oliviomoura) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@oliviomoura"
---

@oliviomoura

# Olívio Moura

@oliviomoura · Joined September 2024

### [Powershell - Add users from groups to assign group with group exceptions](https://www.oliviomoura.com/powershell-add-users-from-groups-to-assign-group-with-group-exceptions?utm_source=hashnode&utm_medium=feed)

\# 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...

4 min read · [oliviomoura.com](https://www.oliviomoura.com/powershell-add-users-from-groups-to-assign-group-with-group-exceptions?utm_source=hashnode&utm_medium=feed)

[Oct 3, 2024](https://hashnode.com/posts/powershell-add-users-from-groups-to-assign-group-with-group-exceptions/66fe5dc65984038aef537875)
