Forum Discussion
Test SharePoint
Oct 12, 2019Copper 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, 2019Steel Contributor
Test SharePointThen either your csv file is malformed, or you need to modify the Import-Csv parameters.
Test SharePoint
Oct 15, 2019Copper Contributor
- jimbarrgpbostonJan 18, 2021Copper Contributor
Some info on exactly what you did would be helpful. I've wasted over an hour on this and I'm ready to just add the 114 people via the web interface, given there is no definitive way to validate any error message in Powershell. Test SharePoint
- DanielNiccoliFeb 02, 2021Steel ContributorError messages in PowerShell are mostly straight forward. He also said exactly what he did: create a valid csv file to use for the import.
- P_NapMar 16, 2021Copper Contributor
Saved Excel file in all three available csv formats: comma-delimited, Mac and DOS. All three fails with the same error but different character location (Mac format file the outlier).
I have also used Notepad to create a generic csv file with the same outcome.