Quantcast
Viewing all articles
Browse latest Browse all 15370

Help with import-csv

Hello,

I tried searching this, but due to the type of problem it seemed to be hard to word in order to find a current answer on this.

I have always been able to import a csv file and then create a user in o365 as such new-msoluser -displayname $_.displayname -userprincipalname $_.userprincipalname - etc...

All the sudden i am running into issue where it will not take the $_. variable saying "you must provide a required property: parameter name: userprincipalname" and it does the same with displayname, but it seems to take the first and last name variables from the csv. 

Any help is greatly appreciated. I am sure its just me.


Viewing all articles
Browse latest Browse all 15370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>