I am using Office365 Rest api's to write into users onedrive for business. When i try to get the OAuth token by passing the Client ID, Client Secrete, Resource(https://****-my.sharepoint.com),RedirectUri(https://*******) I am getting the following error."AADSTS90093: Does not have access to consent" in office365
Where as I am able to get the authcode , access token ,refresh token for other users, only for couple of user's I am facing the above mentioned issue