As of May 31, 2023, we have updated our Code of Conduct.

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
23 views

Save All Images From an Image Column in a Sharepoint List to OneDrive Using Power Automate

I have a Sharepoint list with an image column called "Comprovante"(portuguese). I need to extract the images from that column, rename them with the title column called "Título" and ...
Isaac Oliveira's user avatar
-1 votes
0 answers
20 views

I have error "The file name you specified is not valid or too long. Specify a different file name." [closed]

my name Dat. I have an issue: I want to rename the file in OneDrive. but error " The file name you specified is not valid or too long. Specify a different file name". I tried open "...
Nguyen Thanh Dat's user avatar
0 votes
0 answers
9 views

Is there a way to sync and update files from OneDrive to WordPress?

I have a client who currently stores hundreds of files on OneDrive that they want linked to their new product catalog on their website (WordPress). Not only that but they want to be able to update ...
Inventive Web Design's user avatar
0 votes
1 answer
13 views

Error creating an upload session using Microsoft.Graph

I am trying to create an upload session (ref. https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createuploadsession?view=odsp-graph-online) in order to upload a "large&...
cmf91's user avatar
  • 33
-1 votes
0 answers
34 views

Transfer data from onedrive to Xamarin / MAUI app

I would like to create a function in my app for two possible purposes: Download a list of files from a folder in onedrive to my app Download data (files) from onedrive to my app I already know that ...
Flaubert TAGU's user avatar
0 votes
1 answer
29 views

OneDrive Personal API, PHP & cURL

Since a few weeks, I cannot access to the OneDrive Personal API using cURL in PHP. The same URL works fine in a browser. The URL for OneDrive Personal API looks like: https://api.onedrive.com/v1.0/...
Aurelien Stride's user avatar
-2 votes
0 answers
21 views

How can I upload files to OneDrive using Java integration? [closed]

I have a problem on integrating onedrive client to java. I want to write a code in java for uploading the files in onedrive in specific folder and download the files also. here is come direct ...
Yogesh Burman's user avatar
0 votes
0 answers
54 views

Powershell CLI command to create a shortcut does not work on some PCs

I want to use a Powershell command to create a shortcut on the user's desktop. For some users the command works perfectly fine. For others it does not work at all. Both users for who it works and ...
leiseg's user avatar
  • 111
1 vote
1 answer
36 views

Trying to get OneDrive Items using Microsoft Graph

I am trying to get my drive items from OneDrive by following the code snippets in Microsoft Graph Explorer. I am using the sample app provided by Microsoft's quick start (https://developer.microsoft....
cmf91's user avatar
  • 33
0 votes
0 answers
26 views

How to retrieve local file paths in Excel 365 using VBA SendKeys? [duplicate]

I have one Excel workbook thats is sync local and online, if a open with onedrive running my excel reconize this workbook how online file, the excel 365 has a option (file>information>copy local ...
Alex Nunes 's user avatar
0 votes
0 answers
35 views

How to display a CSV on an HTML page using React?

I am currently attempting to display a csv files contents on an HTML page. The scope of my project is live update a webpage based on the changes made to an excel file on Onedrive. Thus far I have set ...
Isaaclele's user avatar
-2 votes
0 answers
78 views

OneDrive and AppData on Arduino

I now believe that the issue with the file being defined twice is due to the Arduino program is reading the files from both OneDrive and the AppData from the teensy board manager I had to add to ...
Kylie Lambries's user avatar
0 votes
0 answers
17 views

Problem with playing videos from OneDrive in my HTML page using AzureMediaPlayer

When I get an embedded link from a video on my OneDrive and use the link to show the video (changing the embedded to download in the link), everything seems to be okay. the video gets played and works ...
Farzam's user avatar
  • 51
0 votes
0 answers
30 views

Is there a PowerShell script that will stop syncing specific OneDrive for Business folders?

We have a user that regrets sharing a OneDrive folder. It was easy enough for them to remove people from the shared folder, but at this point the folder he shared has already been sync'd, so the ...
jalmario_IH's user avatar
0 votes
0 answers
30 views

Graph API responded mismatched information

I got HTTP 429 (Too Many Requests) when getting drive root, but I expected the http status should be 400 (Bad Request). Is this server issue ? 2023-05-06T15:37:28Z GET https://graph.microsoft.com/v1....
Wen Hsiao's user avatar
0 votes
1 answer
20 views

Enable OneDrive for Business auto backup of Desktop, Documents and Pictures with registry

Just wanted to post this incase it helps someone else in the future, for companies that don't have intune. Registry edit to enable OneDrive for Business backup of Desktop, Documents and Pictures.
Malcolm Edmonds's user avatar
0 votes
0 answers
17 views

inter-tenant collaboration with more than 2 Tenants

Is it possible, with a guest account that has permissions to access the m365 tenants of two different companies, to sync both companies' OneDrive files on a local computer at the same time? I have an ...
Sebastiaan's user avatar
0 votes
0 answers
78 views

VBA OneDrive Sync Excel File pending

I am using an excel file as a shared database stored in one drive. Technically talking it's an excel file called DataBase.xlsx that I store in microsoft teams, and I used the SYNC function of ...
JustGreat's user avatar
  • 541
0 votes
0 answers
28 views

How to directly use files stored in cloud on my local software which is not cloud native software

I have a requirement and I am not able to find something related to this on the internet (yeah bit strange!!) I have some software in my local machine that I use for my work (some finance software for ...
Arpit Agrawal's user avatar
0 votes
0 answers
17 views

How to add the unavailable word to One drive Word file dictionary

When I'm writing the notes in OneDrive Word Files, some words might be not available in the dictionary. So, it is showing red/blue squiggly under the words. For offline word application, we have the ...
Hasher's user avatar
  • 343
0 votes
1 answer
49 views

Is there a way to upload files via C# to a shared online OneDrive

I've been having a problem figuring out how to upload a set of files to a shared online OneDrive via a C# console application. I've tried multiple different solutions, but nothing is working. I think ...
FancyDanwithaBand's user avatar
0 votes
1 answer
94 views

How to search for files in OneDrive using MSGraph query API

Using Graph Explorer I can list files in the "Brendan" directory of my oneDrive. eg The API call below https://graph.microsoft.com/v1.0/me/drive/root:/Brendan:/children correctly lists 2 ...
bcperth's user avatar
  • 2,191
0 votes
0 answers
24 views

ForFiles works in C: and Downloads but not in Documents folder in One Drive

I have a Batch file that looks for old versions of duplicated Access DB files on a shared account. I can get it to find and delete files on the c:, and network drives, and in my downloads folder, but ...
waterLogger's user avatar
-1 votes
1 answer
23 views

powerapps connection to retrieve information in the powerapps canvas form a onedrive word file

ok, so i've created an powerapps canvas which generates a onedrive word file in a certain folder etc. the input is given in powerapps canvas. now i want to know if its possible to make a certain ...
Tom Le Comte's user avatar
0 votes
1 answer
44 views

How can I query all user folders within OneDrive (via Microsoft Graph) without requiring User ID or User Principal Name?

I am trying to create a broad search of our Company OneDrive but I need to do so without targeting a specific User. I have to search files for specific contents so I need to cast a wide net. I have 2 ...
RobR2015's user avatar
0 votes
0 answers
21 views

How can I remove the ONEDRIVE Folder from Explorer?

I have tried to do this here: remove_ONEDRIVE_from_Explorer but on my Win 11 System there is no such a KEY in the registry: 018D5C66-4533-4307-9B53-224DE2ED1FE6 Does one here know how I can remove the ...
Walter Schrabmair's user avatar
0 votes
1 answer
87 views

Data read from one drive through ADF

It is possible to fetch data from one drive to SQL database by the help of Azure Data Factory I am trying to copy the Excel files from One drive (Which have multiple folder) , but there is no inbuild ...
Ruchika Agarwal's user avatar
0 votes
1 answer
32 views

Why am I getting AADSTS50126 error when trying to auth to microsoft with http requests?

I'm writing console app that will download or upload content to OneDrive and I've registered my app in Azure service. I'm using Username and password for authorization as it should be used by mane ...
Long Nange's user avatar
0 votes
0 answers
24 views

How to get selected file from OneDrive File Picker?

I am integrating the OneDrive File Picker in my Laravel application. After selection of file(s) from picker, I am receiving the selected file id and its parent driveId [just these two params]. After ...
Adil Shahzad's user avatar
2 votes
1 answer
120 views

C# - Microsoft Graph - Can't access OneDrive/SharePoint site document library

I'm having issues accessing a sharepoint sites document library or even the users onedrive after authenticating to a registered graph api hosted in Azure AD. It seems like things are missing? I'm ...
sibeyzoran's user avatar
0 votes
1 answer
32 views

Using Microsoft Graph API how do I get DriveItem's Audio fascet?

I am able to query the Microsoft Graph API successfully for DriveItems but I am struggling to get it to return the fields I want: My code is as follows: LinkedList<Option> requestOptions ...
Satsumo's user avatar
  • 31
0 votes
1 answer
26 views

One drive api token not getting the right scope

I registered an app through the azure portal and have the following permissions added to the delegated user. I am using the following api endpoints to get the code and the token: https://login....
Prasanna's user avatar
  • 4,007
1 vote
2 answers
221 views

Access OneDrive Directories and files using MSGraph API with client Authentication

I have been trying to use the MSGraph API to access files in a shared OneDrive which is part of a 365 account. I need to create an app that gets client permissions and then makes the API calls. ...
bcperth's user avatar
  • 2,191
0 votes
1 answer
63 views

How to connect to one drive using one drive connector in Azure Logics App

I'm Trying to connect to OneDrive using Logic App . I have created a Trigger: when file is created in one drive . But I don't know in the folder what value to give , it is also not opening the one ...
Ipshita Saxena's user avatar
0 votes
0 answers
36 views

What do I need to consider when collaborating on an R project with GitHub and a shared OneDrive folder?

I hope that this is the right place for this question and that the title speaks for itself. Background I need to collaborate on an R project and be able to work on and run scripts at the same time as ...
Frederick's user avatar
  • 798
0 votes
1 answer
129 views

Issue with Redirect uri with different root domains in Azure App registration

I am facing an issue where in my Azure app registration as I would like to have 2 different redirect URIs. I have registered platform as web app in Azure and I am using Auth0 for authentication. For ...
Simeon Mark Fernandes's user avatar
1 vote
0 answers
51 views

Linux - how to add onedrive as service and start automatically

I am trying to add onedrive as a service in a linux machine but when I prompt the following command: systemctl --user enable onedrive I got this error: Failed to connect to bus: $...
Baiso's user avatar
  • 79
0 votes
0 answers
9 views

Overview / list of received Sharepoint links

On regular bases I receive different (Sharepoint/Onedrive) links via e-mail. They all open in the webbrowser, so I can view or edit them in Excel/Word/etc. But it's hard to find the links back in ...
PSVSupporter's user avatar
0 votes
0 answers
34 views

ActiveWorkbook.SaveAs fails to complete when saving to SharePoint

I'm having trouble with the save routine closing out when controlling files from with macro's in it, the save task actually completes fully but the "Uploading to SharePoint" dialog keeps ...
JonG's user avatar
  • 1
1 vote
0 answers
64 views

VBA.Dir and FileSystemObject fail to correctly return Files.Count for a OneDrive folder

I have some automation code which recursively processes a folder structure in a local OneDrive for Business folder here: %UserProfile%\SPO_Domain\Site\Library There are hundreds of folders and ...
Jamie Garroch - MVP's user avatar
0 votes
0 answers
43 views

Upload/Download attachments flow using DDD and .NET

I'm designing Agreements system. Each agreement can have multiple attachments and I want to achieve it in Restful and DDD manners. public class Agreement : AggregateRoot { public Guid Id { get; } ...
Andrius's user avatar
  • 244
0 votes
2 answers
151 views

Python import Ms_graph ModuleNotFoundError

I'm trying to use the MS_graph python module to download files from onedrive. I tried using the pip install msal command. But when you run the code, this error returns: Traceback (most recent call ...
Daniele Spadola's user avatar
0 votes
0 answers
21 views

How to detect OneDrive online-only files with python

Does anyone know if it is possible to have python determine if a file on one drive is online-only or if it has been downloaded? I am asking because I have an issue where a script will break because ...
muyfantastico's user avatar
0 votes
0 answers
17 views

Time countdown not displaying when I upload .html file to OneDrive

I am a total N00b when it comes to coding, I have this piece of code that I use in the classroom so students can see how long they have until the end of the lesson: This is how it should appear We've ...
Zack Colam's user avatar
1 vote
1 answer
165 views

Why does os.walk() (Python) ignore a OneDrive directory depending on the number of files in it?

I am doing an os.walk() over a certain part of my OneDrive synced folder structure. It all worked fine until recently. Now ALL files from one specific directory are ignored. I tested several possible ...
windSpiel's user avatar
0 votes
0 answers
67 views

Design Automation put request has Content-Range header missing or malformed

I'm trying to upload the result file of design automation for revit to sharepoint with the onedrive rest API. In postman I send a post request with a body that tells design automation where and how to ...
keesie's user avatar
  • 11
0 votes
0 answers
29 views

How do I generate a list of the file names and links to the file in onedrive? There are almost 500 files in the drive so manual is not an option

I share a number of files with clients. I do that using OneDrive. They require an index for the files so that the files can be retrieved using other meta information. With google drive, I found an ...
devex's user avatar
  • 1
0 votes
1 answer
89 views

Microsoft Graph issue SPO license listing drive files

I think I wasn't clear enough, in my question below, about how the app I'm developing is being used. The flow of the app I'm developing is: members of the app, which I'm developing for my client, can ...
Jeba's user avatar
  • 53
0 votes
1 answer
34 views

Creating internetShortcut in oneDrive with MicrosoftGraph

I am trying to create a internetshortcut in a onedrive folder using microsoft graph, and my code does not seem to be working. I can create the item, but i am not able to add the content to the item ...
rread's user avatar
  • 141
0 votes
0 answers
67 views

OneDrive API Unauthenticated

I am trying to use the OneDrive api to get a list of files from a folder that I've just created for testing reasons. First I get the access token like this: import requests data = {'client_id': '...
error404's user avatar

1
2 3 4 5
58