Forum Discussion
Test SharePoint
Oct 12, 2019Brass Contributor
Trying to add multiple users to distribution group and getting error: Cannot validate argument
I am trying to add multiple users in a distribution Group. All users are in cloud. I have a CSV which has the following columns : DisplayName, Alias, PrimarySmtpAddress I am trying the followi...
- Oct 12, 2019
Test SharePointThen either your csv file is malformed, or you need to modify the Import-Csv parameters.
DanielNiccoli
Oct 12, 2019Iron Contributor
Test SharePointSomething breaks during import. "Cannot validate argument on parameter 'Member'. The argument is null." Null means that it couldn't parse the csv, otherwise it would be an empty string.
Have you confirmed that the import actually works?
$Userslist = Import-CSV c:\users\user\ab.csv
$Userlist
$Userlist[0]