files
52 TopicsLocal Onedrive files won't open when away from Wifi
Why can't I open a Onedrive file that is saved to my Surface harddrive when I am away from WiFi. I literally opened the file up while I was with WiFi, so when I travelled to the non-WiFi location, the file would be available, or updated, or not be corrupted, or not do whatever crazy thing it does when it can't connect. Sadly I forgot to plug it in so it had to restart and did an update. When I tried to re-open the file that is literally on my harddrive, it said "Excel cannot open the file because the file format or the file extension is not valid". This is ridiculous, and not the only time it has happened. Even if my Onedrive sync is up to date, at times when I am away from WiFi, when trying to open a file I get the same report. To be safe, I have made a practice to open the files I need to ensure that they will be available when I am away from WiFi. If the files are on my computer drive, why can't I open them?? Please give a better solution then me hoping it is going to work every time I go out.24Views0likes0CommentsFile close event
Hello, I have been looking for finding different technique by which i can know that i file was closed by different users after collaboration. There webhooks, however it send only updated event and there is no webhook event closed or not in use or latest in OneDrive. I want this event take the file from OneDrive and send across some workflow. Is there a way by which this can be done? Also file will be opened by different user in browser or desktop. Thanks Developer53Views0likes1Commentpersonal account can't search files
hello,recently I found that personal account can't search files by GET /me/drive/root/search(q='{search-text}') . I am sure the target file exist in OneDrive. I can access it by GET /me/drive/root/children. is anyone know why and how can I solve it? here are my personal account testing result screenshot: the folder named "Documents" is exist. and the search result is a empty array also, here are communications records in Microsoft Q&A: https://learn.microsoft.com/zh-cn/answers/questions/2133894/onedrive-rest-api141Views0likes0Commentssome account can't upload files to Onedrive.
Some previously created accounts cannot upload files to OneDrive, but newly created accounts can. The uploadurl for the old account is“ https://my.microsoftpersonalcontent.com/personal........”,while the upload address for new account is “https://api.onedrive.com/rup/........”,and I didn't send the Authorization header and bearer token when i issue the POST or PUT call. I only send it when I issue the GETcall.is anyone know why and how can I solve it?133Views0likes0CommentsDisable download but enable printing for excel files
Is it possible to create a permission level that prevents guest users from downloading Excel files while also allowing them to print? I want guest users to be able to print reports from a shared Excel file, but I don't want them to be able to download the file to their devices.353Views2likes4CommentsUrl encoded folder names not decoded on server end
When using the OneDrive API I am url encoding the file names so for example a file with a plus or hash symbol would get encoded the the percent symbol escape sequence. This works correctly for files and they are created on OneDrive with the correct characters. When I create a folder this does not work correctly. I encode the name in the same way but when the folder is created on OneDrive it still contains the percent symbol so it seems not to be decoding server side. Does anyone know how to fix this? ThanksSolved243Views0likes2CommentsNeed to Recover Deleted Files from Local OneDrive Folder on Linux
I mistakenly synced my local OneDrive folder to the remote OneDrive using rclone, intending to update the remote with my local files. However, the sync went the wrong way, and now my local files are gone. Unfortunately, there’s nothing in the remote OneDrive Recycle Bin because all the files were originally on my local machine. I’m working on a Linux system and need to recover the deleted files from my local OneDrive folder. Is there a way to recover these files from the local Recycle Bin or any other method to restore them? Any advice or tools recommended for file recovery on Linux would be greatly appreciated! Thank you!198Views0likes0CommentsOneDrive Files On-Demand copying files to local folder
All, I have a Python script that copies files from a network folder to my server's OneDrive folder and OneDrive is set up to save disk space by using Files On-Demand. So, does that mean any files that I copy to that folder will not take up space on my server's hard drive? Because currently, that is not working? What are some of the possible issues going on with this. I am copying quite a large number of files.249Views0likes0CommentsBase URL used for Multi Tenants
Hello, I want users to select files from their personal and company drive but it requires a base url which is used to authenticate the user into the drive but the code examples and the docs don't have any indication of where to get a dynamic base url or the base url to use for the multiple tenants. Right now it only works for users in my organisation but I need it for users. Edit: I am using the v8 file picker Thank you3.8KViews1like5Comments