Powershell script to add users into AD Group for local and Office 365 setups. Create users in a CSV File with UserName as first heading. Import-module ActiveDirectory Import-CSV "C:\Users.csv" | % {Add-ADGroupMember -Identity NameOfGroup -Member $_.UserName} Adjust the red items to be where your file is