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