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
14
votes
2 answers

Using OneDrive or Dropbox as a database

First off, this is not a duplicate of any of these questions, which discuss using a single Dropbox account as the backend of a multi-user app I have built a handful of apps, mostly on Windows Phone and Windows Store, and have lots more in the…
roryok
  • 9,325
  • 17
  • 71
  • 138
13
votes
2 answers

Download files from personal OneDrive using Python

I have a Python script that is running periodically on an AWS EC2 Ubuntu machine. This script reads data from some files and sometimes changes data in them. I want to download these files from OneDrive, do my own thing with them, and upload them…
Hugo Neves
  • 464
  • 2
  • 4
  • 13
13
votes
1 answer

How do I filter and select inside a expanded collection on Microsoft Graph?

This code works https://graph.microsoft.com:443/v1.0/me/drive/root?$filter=Size eq 0&$expand=children($select=id,folder,name,parentReference,cwebUrl)&$select=Id,folder,name,parentReference,children,webUrl I want to filter inside the…
XzaR
  • 610
  • 1
  • 7
  • 17
13
votes
1 answer

Why does the OneDrive js Picker in Edge go back to the redirect URI instead of showing the files?

I have copied the sample code from the OneDrive Picker JS example to my playground site, replaced the clientId with mine, and then when trying it in MS Edge, the new window will open. After signing in, it displays the original page instead of the…
Sᴀᴍ Onᴇᴌᴀ
  • 8,218
  • 8
  • 36
  • 58
12
votes
0 answers

Microsoft Graph - Download content in one request

I am using the following method in a web browser to fetch file contents of a DriveItem using the Microsoft Graph: GET /drives/{drive-id}/items/{item-id} // Get the @microsoft.graph.downloadUrl property of the returned DriveItem GET…
Hlynur
  • 491
  • 2
  • 11
12
votes
7 answers

Programmatic access of SkyDrive

Does anyone know how to access SkyDrive programmatically from Windows Phone 7? What API do I use? I need to upload files from the Phone to SkyDrive and vice versa. Some code samples would be great. :-)
jpaustin
  • 145
  • 2
  • 6
12
votes
1 answer

How to get admin access to files for all user's OneDrive

I am tenant admin for our Office 365 deployment. we have our internal system which need to access all OneDrive sites. We are using my tenant admin credential to get the OAuth token and trying to get files from all OneDrive sites using…
user2768967
  • 367
  • 1
  • 4
  • 18
12
votes
3 answers

How to get client secret from azure active directory for native app for using one drive business API?

I am developing an outlook plugin.I want use one drive API's in it.I easily got the client Id and client secret for using API's for one drive personal accounts.But, when I registered my application for one drive business API's in azure active…
V K
  • 1,645
  • 3
  • 26
  • 57
12
votes
1 answer

Automate OneDrive for Business local setup for use with Folder Redirection

after successfully enabling automatic sign in and mapping a drive to OneDrive for business, I want to take it one step further in replacing on-premise fileshares: I want to use folder redirection to make sure all user data is stored on the OneDrive,…
UniMatrix
  • 121
  • 1
  • 1
  • 5
11
votes
1 answer

How to upload files to onedrive using msgraph-sdk-python?

I'm not a newbie when it comes to python (nor a professional), but this is the first time I'm trying something like this. I would like to upload files to OneDrive using an python script. Sounds simple right? Well apparently it's more then I can…
11
votes
3 answers

Upload file to SharePoint drive using Microsoft Graph

We are trying to implement integration between a web application and SharePoint Online using Microsoft Graph rest API. Specifically, we need to upload a file to a specific SharePoint site's document library (drive), different than current user…
danfer
  • 371
  • 1
  • 3
  • 10
11
votes
3 answers

Getting Microsoft Graph Drive items by path using the .NET SDK

As it is documented, using the Microsoft Graph REST API you can (among other options) get an item by Id or Path. This works fine, as expected: GET /me/drive/items/{item-id}/children GET /me/drive/root:/{item-path}:/children Using the .NET SDK, I…
horacioj
  • 687
  • 1
  • 8
  • 25
10
votes
1 answer

How to create a virtual file system with offline files (similar to OneDrive) in .NET?

I need to create a virtual file system that syncs files from my Azure app service to local drive and backward. I need only some files and folders to be synchronized to my local file system and be available offline. The files/folders should…
Andriy Y
  • 361
  • 2
  • 15
10
votes
1 answer

Download and upload DriveItem from shared OneDrive Folder with MS Graph SDK

I'm currently trying to implement several tasks that involve listing, uploading and downloading files from a shared OneDrive folder. This folder is accesible via the logged in users OneDrive (visible in his root folder). The listing part works…
Romano Zumbé
  • 7,893
  • 4
  • 33
  • 55
10
votes
5 answers

Azure Data Factory and SharePoint

I have some Excel files stored in SharePoint online. I want copy files stored in SharePoint folders to Azure Blob storage. To achieve this, I am creating a new pipeline in Azure Data factory using Azure Portal. What are possible ways to copy files…
Jamal Mustafa
  • 101
  • 1
  • 1
  • 3