Questions tagged [onedrive]

For PROGRAMMING questions about Microsoft OneDrive. Stack Overflow is NOT FOR GENERAL COMPUTING or CUSTOMER SUPPORT questions about OneDrive. OneDrive, formerly known as SkyDrive, is a cloud-based file hosting service, supported with SDKs and a REST API. (FOR NON-PROGRAMMING QUESTIONS, contact Microsoft customer support.)

OneDrive (formerly known as SkyDrive, Windows Live SkyDrive, and Windows Live Folders) is a file hosting service that allows users to upload and sync files to a cloud storage and then access them from a web browser or their local device.

You can use this tag on questions that are about programming with the OneDrive API's. If you're about to ask your first question here please visit How to Ask because that gives you a better chance of getting your question answered.
Also note that you can browse the current questions for . Use the search capabilites to search for questions with an accepted answer for example about REST.


General support Do note that for general support issues, like questions about your account, contracts, billing, the OneDrive website, use of any of the OneDrive apps among other non-programming related things, you still need to contact Microsoft either directly or via your local representative.


Under this tag questions can be asked about:

OneDrive is part of the Windows Live range of online services and allows users to keep the files private, share them with contacts, or make the files public. Publicly shared files do not require a Microsoft account to access.

In addition to personal cloud storage, Microsoft offers managed business storage as OneDrive for Business.

External links:

These SE communities might be of help if you have user related questions:

2885 questions
10
votes
4 answers

Running php files stored on OneDrive

I am developing a php project, having the project files stored on OneDrive so that I can access them from anywhere. I have set up XAMPP, with a VirtualHost pointing to my project folder inside OneDrive so that I can run it in my browser. This has…
Magnar Myrtveit
  • 2,432
  • 3
  • 30
  • 51
10
votes
9 answers

ThisWorkbook.FullName returns a URL after syncing with OneDrive. I want the file path on disk

I have a workbook on OneDrive. Usually, ThisWorkbook.FullName returns a path on disk: c:\Users\MyName\OneDrive - MyCompany\BlaBla\MyWorkbook 09-21-17.xlsb But after a set of operation in VBA where I manually save the file to a backup folder and…
RMK
  • 191
  • 1
  • 2
  • 10
10
votes
4 answers

Reading OneDrive files to R

When I read in csv files from Dropbox into R, I right-click the file and click share Dropbox link. I then have a URL something like: https://www.dropbox.com/blahhhhhhhhhh.csv?dl=0 So I change it…
phg
  • 536
  • 1
  • 7
  • 19
10
votes
1 answer

How to define Microsoft Live OAuth redirect url for on-premise web application?

With OAuth the ClientID and redirect_url have a strong connection: You need a seperate ClientID for each redirect_url. This is a problem for on-premise applications which have multiple deployments in multiple domains. Is there any way to implement…
Mikko Rantanen
  • 7,884
  • 2
  • 32
  • 47
9
votes
1 answer

Code: BadRequest Message: /me request is only valid with delegated authentication flow

I am trying to upload file on onedrive by using microsoft graph onedrive api. I am using the method for authentication Client credentials…
Fahim Akhtar
  • 359
  • 1
  • 4
  • 13
9
votes
3 answers

Get contact's phone numbers and emails using the Windows Live/OneDrive REST API

Has anyone successfully used the Live SDK (also called OneDrive SDK) to retrieve the email addresses and/or phone numbers of an user's contacts ? The best I have been able to do is the get profiles for a users contacts but it only includes hashed…
user857276
  • 1,407
  • 1
  • 14
  • 19
9
votes
1 answer

MS Graph, daemon app 401 unauthorized on Files.ReadWrite.All calls

UPDATE: I've received notice from Microsoft that this problem is a bug in the Graph API. They're working on a solution. I'm using the new v2.0 OAuth flow to authenticate my app for use with Microsoft Graph to make it able to list any users files,…
9
votes
1 answer

Node JS library OneDrive API

I found a Node JS client https://www.npmjs.com/package/node-onedrive-unofficial. Which has limited features included. Is there any official Node JS library/client available for OneDrive API?
sonia
  • 177
  • 1
  • 9
9
votes
1 answer

Staying authenticated with the Onedrive SDK/API (Or any API)

I'm tinkering with the OneDrive API. Find the code here https://github.com/onedrive/onedrive-sdk-csharp Specificaly the OneDrive Api Browser. I have no formal education on this specific subject (Authentication). I want to know, how would I stay…
Frostytheswimmer
  • 720
  • 4
  • 19
9
votes
2 answers

How to fetch/add OneDrive photo tags via API?

On the OneDrive website under Photos>Tags, it shows that it has behind-the-scenes done analysis of my photos and figured out common tags, e.g. #People, #Fireworks, #Whiteboard. How can I access these tags programmaticaly via the OneDrive API? It…
Lucian Wischik
  • 2,160
  • 1
  • 20
  • 25
9
votes
2 answers

How to upload a file to OneDrive using OneDrive REST API?

Please allow me to explain what I am doing and How I am doing. What I am doing? I am trying to upload a file to Onedrive using its REST API Source: one drive api documentation I am using OneDrive fragments approch to do so as the file can be as huge…
Vikas Bansal
  • 10,662
  • 14
  • 58
  • 100
8
votes
4 answers

How to download read-only recordings on Teams

Is there any way to download a read-only recording from a Teams class (without recording the screen)? I have a shared OneDrive of lecture recordings, some can be downloaded and some cannot. Thanks for your help and stay safe.
Kerrawesome
  • 91
  • 1
  • 1
  • 2
8
votes
0 answers

Simultaneous editing of the document

I use Microsoft Graph API to modify Excel document located in OneDrive folder. For example I call different method to alter the document (create worksheets, modify range). And the most time it works fine. But when I open the document in editor (web…
Victor
  • 3,497
  • 3
  • 39
  • 51
8
votes
2 answers

API for Microsoft OneNote 2010 + SkyDrive Web Services?

I am quite familiar with the Microsoft OneNote 2007 and 2010 APIs, however these interface directly with OneNote itself. In 2010 we have the great facility of syncing OneNote with SkyDrive. This works really well. We can also use the OneNote Web…
Aaron
  • 2,341
  • 21
  • 27
8
votes
1 answer

Authentication OneDrive Python API

I am trying to use my OneDrive for business with Python. I have installed onedrivesdk and now I am in the process of authenticating my OneDrive the code provided is the following import onedrivesdk redirect_uri =…
Mariano
  • 295
  • 1
  • 4
  • 13