I have just started working with the OneDrive API and the sample program that comes with it (OneDriveApiBrowser).
As expected, the first time I logged in (using \"Sign I
The wl.offline_access scope is required by applications to save the user consent information and refresh the access token without a UI prompt.
wl.offline_access
For more details on the scopes that you can use in your application see https://dev.onedrive.com/auth/msa_oauth.htm#authentication-scopes