Forum Widgets
Latest Discussions
some 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?underwoodDec 18, 2024Copper Contributor16Views0likes0CommentsApp Folder is being named "Graph"
There is an issue where the App Folder is being named "Graph" instead of the intended Application Name for some users, specifically those uploading to "my.microsoftpersonalcontent.com." Scenario: 1 A user logs in to the application and OneDrive via OAuth. 2 The user uploads a file to OneDrive. Expected Outcome: The file should be uploaded to /apps/**MyApp**/SomeFile.txt Actual Outcome: The file is uploaded to /apps/**Graph**/SomeFile.txt The upload process utilizes the following special URL: OneDrive API: Get Special Folder https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_get_specialfolder?view=odsp-graph-online The request is made using: POST https://graph.microsoft.com/v1.0/me/drive/special/approot:/SomeFile.txt:/createUploadSession This returns a URL for posting the upload: https://my.microsoftpersonalcontent.com/personal/XXXXXXX/_api/v2.0/drive/items/YYYYYYYY/uploadSession?guid='XXXXX4-4YYYY-bCCCDDDDDDD'&overwrite=True&rename=False&dc=0&tempauth=d3f4f4f4f4f....DavidLilleyDec 13, 2024Copper Contributor13Views0likes0CommentsFile handler configuration does not update
Hi team, We recently had an integration with Microsoft file handler. During the deployment of the application, we encountered some issues, so we updated the file handler configuration via the manifest file. Some users who installed our application still see the old file handler configuration and are experiencing problems because of it. They want to either update it to the latest configuration or remove it completely so they can continue their work normally. We did try to guide them to reset the file handler cache as in: https://learn.microsoft.com/en-us/onedrive/developer/file-handlers/reset-cache?view=odsp-graph-online But seems like only some of them got the updated config, while the rest keep getting the old one, even after 1-2 weeks. Do you have any advice on how to completely resolve this issue?lumin_adminNov 29, 2024Copper Contributor56Views0likes0CommentsOnedrive Share Popup box
We have deployed the App Locker policy via Active Directory Group Policy and have whitelisted all OneDrive paths and applications as publishers. Everything seems to be working, except for the "Share" pop-up box, which remains empty. Please let me know which application and path need to whitelist for resolve this concern. Image Link for RefrancesachinametaNov 06, 2024Copper Contributor19Views0likes0CommentsOneDrive container cTag property stopped changing
Hi, According to the docs: DriveItem - OneDrive API - OneDrive dev center | Microsoft Learn "The cTag value is modified when content or metadata of any descendant of the folder is changed." I am using graph Api to monitor changes in one of my folders. Indeed this used to work as described but suddenly cTag property remains constant. It will not respond to changes in sub folder files, adding files, deleting files or modifying fild in sub folders no longer causes the parent folder cTag to change. Thanks, GarygaryharpazNov 04, 2024Microsoft38Views0likes0CommentsOneDrive taking up space on C drive
Hi My OneDrive is taking up a lot of space on my C drive. I thought OneDrive was in the Cloud. Did I set it up wrong? Any tips or ideas on how to save space on my C drive when I am using OneDrive? Thanks!RedStudio185Nov 01, 2024Copper Contributor78Views0likes1CommentUrl 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? ThanksSolvedandrewc105Oct 14, 2024Copper Contributor176Views0likes2CommentsDisable 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.DakotaCoffeyOct 11, 2024Copper Contributor216Views2likes4CommentsUpload file to OneDrive folder via php /which product do I / my customer need?
Hi, I'm totally new to this topic. I'm about to develop an app (Backend:PHP, Frontend:JS) which should be able to push files (generated in php on my server) to an OneDrive Folder of my customer. I am stuck at which product do I (for developing) and later my customer need for that. I think I need the "client credentials flow", which MS product/account is needed for that? Is an onedrive account enough? Do I/my customer need an additional azure account to register the app? Thanks for helpcatcher15Sep 18, 2024Copper Contributor173Views0likes0CommentsNeed 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!