Oct 05 2020 07:16 AM
the 7.2 OneDrive js SDK doesn't take in account the scopes that we provide in the console and in the code. We provide only Files.Read and the prompt asks the user for read/write/delete authorization !
here is what we have in the console
and here is how our code looks like
window.OneDrive.open({
clientId,
action: 'share',
multiSelect: true,
openInNewWindow: true,
advanced: {
redirectUri: getCurrentPageUri(),
},
success: onSuccess,
})