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.)

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Excel VSTO Workbook in Onedrive/Sharepoint

Do you know how to save an Excel VSTO Workbook project on a OneDrive or a sharepoint? I would like other people to be able access to the Workbook and modify it. For the moment I'm stuck as I keep ...
BriceD's user avatar
  • 1
0 votes
0 answers
19 views

Insert Word content from Onedrive into a separate Word document

I'm trying to insert the contents of a single Word document that is in the cloud to another Word document, which in most cases would be a local file. This would be used to allow a user to pull in the ...
Jay's user avatar
  • 1
0 votes
0 answers
9 views

Authentication Key: OneDrive for Business - Embed Spreadsheet into Webpage

Long story short, I have been embedding Excel worksheets into a website I manage. For years I have been using OneDrive Personal with no issues. I recently switched to OneDrive for Business and am ...
TaxAssassin's user avatar
0 votes
0 answers
10 views

Automation for Word and Excel (OneDrive Business)

I had to move from Google suite to Microsoft 365. Setting up automations was much simpler on Google suite/Google drive. With Microsoft, I'm having a little hard time trying to find the efficient ...
Developer Unknown's user avatar
0 votes
0 answers
18 views

Microsoft Graph api is returning 401 (Unauthorized) instead of 403 (Forbidden) error code

Someone has shared below two files with my account: F1 (With edit permission): Since I have edit permission, all the APIs are working correctly for this file. F2 (With view only permission): Since I ...
Vipul Kumar's user avatar
-3 votes
0 answers
28 views

Accessing Onedrive files on a personal account through an app, Access without a user [closed]

I have a personal onedrive (@gmail.com) account and I'm trying to access files (Images) on it through an app I wrote, after reading the docs I've gotten an access token but when I try access the ...
Awab Hummieda's user avatar
-1 votes
0 answers
36 views

How do I upload file to OneDrive from PHP without any user intervention?

I have a client who requires files to be autonomously uploaded to their organisation's OneDrive directory. This upload needs to be fully automated and will need to run without any human intervention ...
Dillon Diego Pillay's user avatar
1 vote
0 answers
12 views

Syncing SharePoint 2013 to File Explorer when using Microsoft 365 Apps for Enterprise and not Microsoft Office professional

I am an IT Intern tasked with designing an online SharePoint 2013 filing platform to replace local shared drive. I have created the different department sites and currently awaiting migration. While ...
Junior M.'s user avatar
0 votes
0 answers
35 views

Access Denied when copying a file to another user drive Graph API (Postman)

I want to copy a file from my drive to another user drive (user created from Azure -> Users). Here my request : POST https://graph.microsoft.com/v1.0/me/drive/items/{{item-id}}/copy with body : { ...
iKroZz44's user avatar
0 votes
1 answer
28 views

Excel's Full Path Name in OneDrive - How to pull from the VBA Code to a Cell

Background: Our company uses UKG's LMS. The only way I can get reports is on the website or download CSV files. I used Excel and Power Query to pull in the CSV to transform and load it. I then ...
Will Shattuck's user avatar
0 votes
0 answers
28 views

VBA Add-In File Reference Path Changing

I have a workbook that is on OneDrive and is shared between multiple people. The workbook has a reference in VBA to a XLAM file that has several macros used by the workbook. The XLAM file is on a ...
Michael Propp's user avatar
1 vote
1 answer
25 views

How to get oneDrive file "Shard By" information

I know I can use Microsoft graph api to get a list of users with which a oneDrive file is shared, using the grantedTo field returned by the permissions endpoint. I wanted to know id there is a way to ...
eladm26's user avatar
  • 529
0 votes
0 answers
7 views

Removing unmapped OneDrive link in File Explorer

After setting up a new computer and connecting to my work Onedrive account, Windows still displays a (broken) link to a non-existent personal OneDrive account: How do I remove this broken link ...
bobthechemist's user avatar
0 votes
0 answers
36 views

Delegating user permission to backend service using OAuth 2.0

I am trying to understand how to securely delegate user permissions between layers of my application, following best practices. Protocol used is OAuth 2.0. I tried to capture the scenario on diagram ...
Artur Gajewski's user avatar
0 votes
0 answers
29 views

How do I upload a file to a folder in another user's OneDrive

OS: Win11 Graph API: Version 5 Graph API Permissions: Users.Read, Files.ReadWrite No errors are thrown. I've turned on the logging for the graph api calls and noticed no errors in there either. ...
ezG's user avatar
  • 391
0 votes
0 answers
14 views

Flow to retrieve ItemID for sharepoint files uploaded to onedrive by copying them to a locally synced folder

My C# application should be able to upload/update Sharepoint online files. Currently i'm using Microsoft Graph to upload them directly to the web. However large files and a slow internet connection ...
MythJuha's user avatar
0 votes
0 answers
13 views

Play a video uploaded on OneDrive on Flutter

Is there a way to play or stream a video on Flutter from a video uploaded on OneDrive through its url without downloading it? Or is there a way to access direct video url (.mp4) from OneDrive?
Ammar Mohamed's user avatar
0 votes
1 answer
30 views

Intune Device configuration, "OneDrive Files On-Demand" Not applicable

I have created a configuration profile on intune : In "AVD - IT" group there is only one device, a virtual machine (created with Azure virtual desktop) with this os : Edition Windows 11 ...
Alex's user avatar
  • 217
0 votes
0 answers
27 views

How can I access all files and folders in drive using OneDrive API?

I want to get a list of all files and folders in the drive with a single request. I provide this with a recursive function as follows, but as the number of files increases, it becomes impossible to ...
Metehan Kıran's user avatar
0 votes
0 answers
27 views

Excel VBA: How to set Worksheets object as a sheet from a file in onedrive?

my code heavily relies of the fact that: dim dataSource as Worksheet is set as a sheet in another workbook as Im calling on it many times throughout my code. it works fine as long as that other ...
Karolis Zinkus's user avatar
0 votes
0 answers
25 views

Google Apps Script Get Share Link of File Uploaded to OneDrive

I'm using the OnedriveApp library created by @Tanaike to copy files from google drive to OneDrive as in the below code block. The result includes an id and file name, and I'm curious if it is possible ...
Bruce's user avatar
  • 1
0 votes
0 answers
30 views

Create ID and Display when saved in Power Apps

I am looking to save entries in OneDrive excel from Power Apps once entered, For saving I used the following code: Patch( Records, Defaults(Records), { Unit:'User Input - Unit'....
Gandalf's user avatar
  • 17
0 votes
0 answers
13 views

Can I add Sharepoint site to Outlook desktop app

I can not find any option to add "Sharepoint site" so that it appears just below my mailbox list Initially I tried to add OneDrive to Outlook, but I failed. Then I raised a call with ...
murshed's user avatar
0 votes
0 answers
21 views

One Drive Incremental Changes Using MS Graph API Delta Endpoint

I am trying to get delta changes in my One Drive Root using the following MS Graph API: https://graph.microsoft.com/v1.0/users/XXXXXXXXXXXXXXXXXXXXXXXXXX/drive/root/delta I get JSON response: { "@...
Gags's user avatar
  • 827
0 votes
0 answers
14 views

Onedrive parameter to control zoom in embedded document

Hi I've a url like this: https://onedrive.live.com/embed?resid=xxxxxxxxx&authkey=xxxxxxxx&em=2 to embed a onedrive document, it works fine but I wanted to know if there is any parameter to ...
ominem's user avatar
  • 23
0 votes
0 answers
46 views

How to access and edit Excel files on One Drive using python

I am trying to create a UI that edits an excel sheet saved online in OneDrive. I do not own the excel sheet so it cant be downloaded. I have tried a few methods but cannot seem to find a good solution....
Brandon Bloice's user avatar
0 votes
0 answers
36 views

Trouble Uploading Large Files to OneDrive via Microsoft Graph API (Status Code 400)

I'm encountering an issue while attempting to upload large files (greater than 150MB) to OneDrive using the Microsoft Graph API. The upload process works seamlessly for smaller files, but for larger ...
Ayaz Sheikh's user avatar
0 votes
1 answer
39 views

Ingest Live Data from One Drive File to Big Query

I want to create a table in Big Query, that automatically updated whenever an excel sheet stored in One Drive is updated. The same is possible using Google Sheets, however I am unable to do the same ...
Vaibhav Pednekar's user avatar
0 votes
1 answer
50 views

Uploading file using OneDrive API

I am using MicrosoftGraph API and createUploadSession to upload file but it is throwing the following error. { "error": { "code": "accessDenied", "message": &...
Mridul Kapil's user avatar
1 vote
1 answer
66 views

Upload drive files via MS Graph API

I’m trying to upload files (.xlsx less than 4MB) into a drive location via MS Graph API. Drive location Please see the below code for more details I appriciate your help to resolve the issue currently ...
KSampath's user avatar
0 votes
0 answers
28 views

OneDrive Excel CodeEditor Type Issue

Having struggle with the following code (must use SharePoint Excel code editor, I am linking this to Microsoft Power Automate Flows) What I am trying to do: Open my two documents with my data ...
AoLMatthieu's user avatar
0 votes
0 answers
56 views

Upload and download files to MS OneDrive

I need to upload and download files to OneDrive with silent authorization (no web pages UI to be used). I created a secret key for it in the account cabinet and wrote some code I could find: fun ...
Psijic's user avatar
  • 743
-1 votes
1 answer
18 views

Does the application integration OneDrive need commit to reviewed?

My ios application integration OneDrive use Microsoft Graph API,But there is no place to tell me whether the application release needs to be reviewed by Microsoft or not. Similar to google drive, ...
tbfungeek's user avatar
0 votes
0 answers
24 views

I keep getting an error when there is a folder that already exists with the same name - R- Microsoft365R

this is my code: uploadOD <- function(filePath, destFold) { # Connect to the user's OneDrive for Business odb <- get_business_onedrive() # Get the base name of the destination folder ...
SaiFB12's user avatar
0 votes
0 answers
76 views

Using OneDrive for versioning of source code

I decided to do my application development in a OneDrive folder now. It gets backed up to the cloud automatically and Microsoft give it to me as part of a family subscription. Just recently I wanted ...
Mikey's user avatar
  • 89
0 votes
0 answers
40 views

ClickOnce not installing on user's pc

I'm using ClickOnce to deploy a Winforms app. The app is for my client, and not general release, and they need to install it on tens of Surface tablets. At the moment, the setup.exe file is on a ...
Adrian Jones's user avatar
0 votes
1 answer
52 views

How to get rid of "apply to each" on Power Automate (sending only one email)

I have been working on Power Automate. My goal is to have it run automatically everyday to check if there's any file older than 7 days in my OneDrive or not, if yes, it will delete all those files and ...
user22062628's user avatar
0 votes
1 answer
40 views

How to access an items subfolders in MS Graph?

I am brand new to the Graph Explorer and am having difficulty with the syntax for file exploration. I am able to access the parent of the child directory that I want to manage data for, but I can't ...
Vance's user avatar
  • 71
0 votes
0 answers
48 views

SharePoint add shortcut to OneDrive: Is it possible to maintain custom metadata?

I'm attempting to add a shortcut from a SharePoint library to my OneDrive. There are many elements (files, folders, document sets) in the SharePoint library that have visible custom metadata in the ...
2191029183018's user avatar
0 votes
1 answer
13 views

Ionic serve is not able to display local assets

I will post this and answer my own question, maybe it can help someone. Today I spent an unholy amount of hours trying to understand why the command ionic serve didn't load any of my local assets, no ...
MIPB's user avatar
  • 1,790
0 votes
0 answers
88 views

Why After pressing the button to upload the file to the one drive , i am getting an error "Microsoft.Graph.Models.ODataErrors.ODataError"

Using .net 7.0, I created an WPF application to upload files to the Onedrive using Microsoft Graph Api. I am able to login into my microsoft account but after i click on upload button and then after ...
Deepak Choudhary's user avatar
1 vote
0 answers
52 views

Error executing Script to convert csv to xlsx

Good day! I have a problem. I am using a script combined with a power automate flow to automate the task of converting csv files from one folder to xlsx files located in another folder on OneDrive. In ...
Leandro Abraham's user avatar
0 votes
0 answers
70 views

MS Graph API: Embeddable PDF preview link with zoom/page parameters

As stated in the MS Graph Driveitem Preview Docs, the parameters page and zoom are available in the request body. When sending a request like this (for a preview of a PDF file)... POST /me/drive/items/...
nieltz's user avatar
  • 11
0 votes
0 answers
67 views

Unwanted refresh creating a new folder and naming it with BrowseForFolder, when OneDrive connected

When I call this code, and I navigate into sub folders I experience a constant refresh. The refresh resets the focus of the mouse and keyboard onto the object. Dim testWindows As Object Dim path As ...
Dev1n.101's user avatar
0 votes
0 answers
11 views

How to select a remote folder as one drive folder?

I want to use a folder on the server as target for one drive but when I try to select it, it tells me I can't create the folder in that location. It works if I select a local folder instead. I believe ...
Nicola's user avatar
  • 219
0 votes
0 answers
24 views

Micrsoft Graph api to search folders in OneDrive

My application was using Microsoft Graph to search OneDrive, and it was working fine till last month. It's basically this call for "search my onedrive": https://graph.microsoft.com/v1.0/me/...
Razi Syed's user avatar
  • 289
0 votes
1 answer
60 views

OneDrive Pause Sync for Disconnected Users

We have shared machine where multiple users login and just lock their screen later. We want onedrive sync to pause for all such users who are not in active state on that machine. I am able to get the ...
Shashank's user avatar
0 votes
0 answers
54 views

Add permission to driveitem is throwing 400 Bad request error when trying to set the property "retainInheritedPermissions"

According to this documentation - Add Permission documentation , we can set a optional parameter "retainInheritedPermissions" to notify Microsoft if a driveitem should inherit all its parent ...
Vinanth S Bharadwaj's user avatar
0 votes
0 answers
61 views

OneDrive - Upload file with CURL (or Python) via shareable link

I have been given a link to someones OneDrive account to upload a report (file) to the shared folder. I've tried a few ways via CURL on the command line and I've tried via Python with the requests ...
user2715877's user avatar
-1 votes
1 answer
186 views

How to directly download files, including from Google Drive, OneDrive and Dropbox URLs, without API in C# HttpClient

Because I had a lot of trouble working out how to download files from Dropbox, Google Drive and OneDrive URLs in C# Xamarin Forms (without resorting to drive APIs), sharing my solution below. In the ...
BillF's user avatar
  • 1,034

1
2 3 4 5
58