Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Export All User Profiles to CSV - SharePoint Online Script

$
0
0

Hi,

I have tried to use this script to export all users (UserwithProfile and User UserWithNoProfile), Script is successful but, There is no data write to the files. Only generated UserWithNoProfile empty file to the location. Please guide how to write the user information to the generated files.

Script Result:

=========================

Collecting Environmenal infomration...
Loading SharePoint Assemblies...
Connecting to SharePoint Online Service and Context...
Connected to SharePoint Online Context...
Loading People Manager...
Connected to SharePoint Online Service...
WARNING: More results are available. Please specify one of the All or MaxResults parameters.
Collecting Users Information from SharePoint Online...
Script Completed. All profiles have been exported to C:\Users\chandan.kumar.dhal\Documents\SPOnline_Test\AllProfiles.csv and
C:\Users\chandan.kumar.dhal\Documents\SPOnline_Test\UsersWithNoProfile.csv.

Thanks,

Chandan


Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images

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