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
8
votes
1 answer

Client side paging using Microsoft OneDrive API/SDK

I am trying to implement client side paging using Microsoft OneDrive API/SDK. For that I need the total count of items as response from the API, and based on the skip and maximum limit value passed to the API, the response should be fetched. In the…
Saket Kumar
  • 4,363
  • 4
  • 32
  • 55
8
votes
2 answers

How can I check local OneDrive folder is in sync?

I need to be able to check if the local OneDrive folder is in sync/up to date. Can I check this by looking at any of the file/folder properties(in C# code) Without using any of One Drive APIs?
monika pathak
  • 91
  • 1
  • 4
8
votes
0 answers

How can I use Git with OneDrive?

I'm new to Git and was wondering if it would be sensible to store the Git local filestore/workspace in a Windows 10 OneDrive sync'ed folder. I know it is maybe redundant (remote repository is a major point here) But, if for example, my hard disk…
E. Rowlands
  • 343
  • 5
  • 16
8
votes
1 answer

Upload file to MS SharePoint using Python OneDrive SDK

Is it possible to upload a file to the Shared Documents library of a Microsoft SharePoint site with the Python OneDrive SDK? This documentation says it should be (in the first sentence), but I can't make it work. I'm able to authenticate (with…
Attila Tanyi
  • 4,904
  • 5
  • 27
  • 34
8
votes
2 answers

Error: Public clients can't send a client secret while try to get access token in Onedrive

I am trying to get OneDrive access token by following…
user2050342
  • 93
  • 1
  • 5
8
votes
3 answers

OneDrive for Business :"invalid_request","error_description":"AADSTS90014: The request body must contain the following parameter: 'grant_type

I'm trying to integrate the OneDrive for Busines to a Web Form App. For this I use the documentation given at this url In web Form App I have two Pages: First one is Login page which have a button for login On login button click I create a GET…
Ramakant Verma
  • 81
  • 1
  • 1
  • 4
8
votes
1 answer

Select a file from OneDrive on phone - mobile web site

Edit - title was previously OneDrive Web picker SDK (Javascript) cannot choose/open file on mobile device Auto email from SO suggests I change title as bounty period expired. I have created a OneDrive picker in a mobile friendly website…
KevInSol
  • 2,560
  • 4
  • 32
  • 46
8
votes
4 answers

How to create a hyperlink to a onedrive file or folder without sharing it with anyone - and then use it

(Once the hyperlink is created I will use it in OneNote to link to a file on my own Onedrive, for only me to use !) When I view a file in Word online the URL displayed…
HarveyFrench
  • 4,440
  • 4
  • 20
  • 36
8
votes
4 answers

Is it possible to use Skydrive with SVN?

Is it possible to position a SVN repository on Skydrive?
eflles
  • 6,606
  • 11
  • 41
  • 55
8
votes
4 answers

Get list of files from SkyDrive folder (Windows Phone)

Does anyone know how to get a list of files for a particular SkyDrive folder? Currently I'm using the following snippet to try and get the files for the root SkyDrive folder: var client = new LiveConnectClient(e.Session); client.GetCompleted +=…
Calanus
  • 25,619
  • 25
  • 85
  • 120
7
votes
7 answers

Upload a file to Skydrive

Is there an official API in the upcoming Mango release of WP7 to upload a file to skydrive? If it is, where can I find an example and the API description?
thumbmunkeys
  • 20,606
  • 8
  • 62
  • 110
7
votes
1 answer

Git repository folder does not appear in File Explorer

Using GitHub Dekstop, I cloned one of my own repositories to my computer, and I named the folder repo: C:\Users\Lenovo\Desktop\DevFiles\repo Now if I navigate to the parent folder DevFiles, the repository folder repo is not visible. But if I just…
Aryan Beezadhur
  • 4,503
  • 4
  • 21
  • 42
7
votes
2 answers

Get all SharePoint files and folders of a drive using Microsoft Graph API

My problem is: if I call https://graph.microsoft.com/v1.0/sites/{site-id}/drives/{drive-id}/root/children all I get are the top-level items of that drive. How can I achieve to get all the subfolders and files of the drive?
xilopaint
  • 699
  • 1
  • 7
  • 16
7
votes
2 answers

Upload new file to onedrive using microsoft graph c# asp.net

Trying to upload a file to onedrive that does not already exist. I have managed to get it to update an existing file. But can't seem to figure out how to create a brand new file. I have done this useing the Microsoft.Graph library. Here is the code…
Azuraith
  • 1,030
  • 14
  • 28
7
votes
2 answers

How to upload a large document in c# using the Microsoft Graph API rest calls

I am using an external .Net Web App and would like to know how to upload a large file to the document library using Microsoft Graph. I am able to upload up to 4mb but anything above it is throwing an error. I know there is a createUploadSession…
Binesh
  • 111
  • 1
  • 1
  • 2