I have a CSV file with new properties that exist in the AD.

I want to add this properties to all user profiles, and set value from AD (the same property name is in the excel) and set description from another column of the excel.

How can I do it?

1 Answer 1


If pnp powershell is an option you could use set-pnp user profile property (https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpuserprofileproperty?view=sharepoint-PS) and combine it with import-csv (https://www.morgantechspace.com/2015/06/read-csv-file-in-powershell.html?m=1)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.