You can easily do this via PowerShell. Let's say you have a CSV file with the members, referenced by their UPN value. The following cmdlet can be used to add all users listed in the CSV to a given group:
Import-Csv blabla.csv | % { Add-DistributionGroupMember MESG -Member $_.UPN -BypassSecurityGroupManagerCheck }