Forum Discussion
AxelRumkorf
Sep 02, 2020Copper Contributor
Powersehll Beginner - Add multiple Users to group
Hello, I am a Powershell beginner. I'm responsible for user maintenance in Microsoft 365 at our school and have to prepare the approximately 1000 students and 100 teachers in such a way that teams ar...
JanBakkerOrphaned
Sep 02, 2020Iron Contributor
Based on the fact that you are a beginner Powershell, and that you need an easy way to fix this, I suggest you take a look at Power Automate and the Azure AD connector.
You can easily create users based on CSV lists, and add them to groups/teams as well.
Also, take a look at dynamic groups. You can create groups based on AAD properties, such as department, job title, and location. This can also be used for on- and offboarding. Just by changing the property of the users, the group membership will be updated.
These blog posts will get you started: