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
54
votes
23 answers

Excel's fullname property with OneDrive

If I want to use the open Workbook object to get the fullname of an Excel file after saving it, but that file has been synchronized to OneDrive, I get a "https" address instead of a local one, which other programs cannot interpret. How do I get the…
Virtuoso
  • 908
  • 1
  • 8
  • 14
42
votes
8 answers

Git repository in OneDrive synced folder

I am trying to create a git repository located within a OneDrive synced folder, but I am running into an issue. I use OneDrive to sync folders between my multiple devices via "the cloud". On my development machine (Win 7 64) the OneDrive folder is…
Ryan
  • 797
  • 1
  • 6
  • 14
35
votes
1 answer

Does Microsoft SkyDrive have an API?

So with the recent news that Microsoft Skydrive is going to get bumped to 25GB of storage per account, does anyone know if SkyDrive has an API? (And if so, where are the docs?)
Dan Esparza
  • 28,047
  • 29
  • 99
  • 127
33
votes
7 answers

Gradle Error: Path is not a readable directory for an Android Project saved in OneDrive

I tried to use a OneDrive folder to store my Flutter project [Windows 10, Android Studio]. I then made edits to it on another machine [same configurations]. The project compiled fine on the first machine initially and on the second one after the…
Pjotr Gainullin
  • 948
  • 1
  • 9
  • 16
21
votes
2 answers

OneDrive Multiple Folders/HardDrives Sync

I have 3 hard drives. I would like to sync specific folders from each drive with MS OneDrive. One hard-drive cannot hold all the files from all hard drives. How can I do this with OneDrive?
Simcha Khabinsky
  • 1,970
  • 2
  • 19
  • 34
20
votes
7 answers

Tenant does not have a SPO license

I have an error while trying to use Microsoft Graph to write a script to upload an Excel file to OneDrive then read the Excel file. I followed Microsoft documentation to obtain the access token without user. I successfully got an access token but I…
Ken Pham
  • 203
  • 1
  • 2
  • 5
20
votes
2 answers

Microsoft OAuth2 Authentication Not Returning Refresh Token

I am adding Microsoft OneDrive support to a product that my employer sells to other companies. When I went through my designing and prototyping stage, I was using an application ID that waw obtained through an application registration that I did…
ke4ktz
  • 1,152
  • 7
  • 18
20
votes
13 answers

Get OneDrive path in Windows

I have a C# WPF application and I am trying to find a way to get the path to the root OneDrive directory in Windows. How can I do this programmatically? I have searched online, but I couldn't find anything. I wish I could supply some code but I have…
Alexandru
  • 12,264
  • 17
  • 113
  • 208
20
votes
4 answers

C# login and upload to OneDrive without user interaction

I'm currently working on a Windows service that will check and update Excel files and upload them to selected cloud storage - SharePoint or OneDrive. The whole process should be fully automatic and without any user interaction - all required…
TheUlderico
  • 201
  • 1
  • 2
  • 4
18
votes
2 answers

Pass Tuples as AnyObject in swift

Is it possible to pass Tuples as parameters to functions that take AnyObject as the parameter? I'm using the OneDrive SDK that allows you to pass a userState Parameter which is declared as AnyObject. The function is declared as follows: func…
Salman Hasrat Khan
  • 1,971
  • 1
  • 20
  • 27
16
votes
2 answers

Direct download link to OneDrive file?

A OneDrive sharable link looks like this: https://1drv.ms/w/s!AqmFiI7maXrRgT7PGcK_7JyZlBco. How do I get the direct download link version of this? I know with a onedrive.live/redir?<...> link I can just replace the 'redir' with 'download', but how…
ThePumpkinMaster
  • 2,181
  • 5
  • 22
  • 31
16
votes
1 answer

Graph API: Either scp or roles claim need to be present in the token

I'm attempting to use MS Graph API to get a list of files/folders from OneDrive for Business. I've successfully executed the queries I need in Graph Explorer and am now moving on to implementing in my project. My app is a Windows service, so I'm…
baparks
  • 255
  • 1
  • 3
  • 7
16
votes
1 answer

Onedrive API vs LiveSDK

I am developing for WP8.1 and probably will port on other platforms. I want to integrate a OneDrive functionality, however, I can't understand what is the difference between LiveSDK (from NuGet packages) and OneDrive API. It seems that Microsoft…
Jean
  • 4,911
  • 3
  • 29
  • 50
14
votes
3 answers

Is there a way to access data from one drive using google colab?

I have started using google colab to train neural networks, however the data I have is quite large (4GB and 18GB). I have all this data currently stored in one drive and I don't have enough space on my google drive to transfer these files over. Is…
JoshWilde
  • 141
  • 1
  • 1
  • 3
14
votes
1 answer

OneDrive for Business API issues on Discovery and Authorization

I've been trying to implement OneDrive Business API according to this OneDrive Release Notes. We've already implemented OneDrive end users API without any issue. First obvious thing to do is to handle OAuth2 authentication to get right tokens, first…
Juan
  • 141
  • 3
1
2 3
99 100