Recently I wrote a small (login) script to automatically configure the Next Generation Onedrive for Business client with the proper tenant and no user interaction (except for a one-time login). This reduces user impact when migrating to Onedrive for Business.
This is the first post in a series about moving to Onedrive for Business and/or Sharepoint Online from traditional fileshares and/or homedirectories, in bulk, without user interaction.
This script is an addition to O365Datacleaner and will allow you to run the original script over many target locations simultaneously, using a CSV file as input.
This is the simplest and most reliable method currently available to make, for example, all the data on your fileservers spread out over homedirectories completely compliant with Onedrive for Business or Sharepoint Online’s requirements.