Getting "InvalidAuthenticationToken" error code and "Access token is empty." while trying to login to upload to OneDrive
Ahmed Waseem
0
Reputation points
var scopes= "files.readwrite files.readwrite.All User.Read offline_access";
var url = 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize?' +
'client_id=xxxxxxxxxxxxxx'+
'&scope=' + scopes +
'&state=xxxxxxxx' +
'&response_type=token' +
'&redirect_uri='+ redirect_uri;
Is there something I should do or am I doing something wrong ? It is working fot me but it is not working for one of my clients.
He gets the following error whenever he tries to login to OneDrive to upload a file
{"error":{"code":"InvalidAuthenticationToken","message":"Access token is empty.","innerError":{"date":"2024-07-18T12:09:43","request-id":"xxxxxxxxxxxx","client-request-id":"xxxxxxxxxxxxxx"}}}
Microsoft 365 and Office OneDrive For business Windows
2,565 questions
Microsoft Security Microsoft Graph
13,721 questions
Sign in to answer