Step1: Connect MSOL Services Connect-MsolService Step2: Find out ObjectID of the Security Group you would like add members Get-MsolGroup –Maxresults 100000 | Where-Object {$_.DisplayName -eq “Test Security Group”}
(Or) Sign-in to Portal.Azure.Com and Select Azure Active Directory -> Security Groups -> Search the Group -> Go to properties of the group and copy the ObjectID Step3: Create a CSV file with a header UserPrincipalName and list all email addresses in one column of CSV file e.g. UserprincipalName Sharatha@globalspsolutions.com Test@globalspsolutions.com Step4: Execute the Below PowerShell Script to add users into the Security group Copy the script and paste it in a notepad. Rename the notepad to Add-MsolGroupMembers.PS1