This sample application shows you how to build an application that uses an app delegated token to obtain access to an entire tenant's OneDrive for Business file repositories.
You can see this application in action at https://onedrive-app-delegate.azurewebsites.net/.
Coming soon.