One Drive

Occasional Visitor

I am creating an console application with Java and requirment is to authneticate and upload a file on office 365 oneDrive personal space using backend code. I have tried with following steps using API's

1: Registered application on Azure and get client Id

2: get Access Token 
3: get API endpoints for my oneDrive space

4: file upload

 

We are good with the things other then one. While calling GET Access Token api, login screen is apear and asking to enter username/password and then permission.

 

Do we have any beeter way to get a Access token of my office365 account without interating any user interface?

If there are some other way or third party available for office 365 onedrive authentication and file upload.

 

Thanks

0 Replies