files
3268 Topics404 error downloading file versions via CSOM (SharePoint 2013 On-Prem)
I need to download historical versions of a document from a SharePoint 2013 On Premises document library using a C# console application, so I can migrate them chronologically to SharePoint Online along with their column properties. While downloading the current latest version works perfectly, downloading older historical versions always fails. Standard CSOM methods fail because ListItem.Versions does not exist in the SharePoint 2013 v15 SDK. Reverting to direct HTTP endpoints consistently throws an error. Here is the exact exception message I receive: System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found). Below is the minimal reproducible code example demonstrating how the connection is initialized, how properties are loaded, and where the download fails on historical versions: using System; using System.IO; using System.Net.Http; using Microsoft.SharePoint.Client; using SP = Microsoft.SharePoint.Client; class Program { static void Main() { string siteUrl = "https://example.com"; using (ClientContext sourceCtx = new ClientContext(siteUrl)) { sourceCtx.Credentials = System.Net.CredentialCache.DefaultCredentials; List sourceList = sourceCtx.Web.Lists.GetByTitle("MyLibrary"); CamlQuery query = CamlQuery.CreateAllItemsQuery(); ListItemCollection items = sourceList.GetItems(query); sourceCtx.Load(items, ic => ic.Include( item => item.Id, item => item.File, item => item.File.Versions, item => item.File.ServerRelativeUrl )); sourceCtx.ExecuteQuery(); foreach (ListItem item in items) { if (item.File == null || !item.File.Exists) continue; foreach (FileVersion ver in item.File.Versions) { string absoluteVersionUrl = siteUrl.TrimEnd('/') + "/" + ver.Url.TrimStart('/'); using (var handler = new HttpClientHandler { Credentials = sourceCtx.Credentials }) using (var client = new HttpClient(handler)) { client.DefaultRequestHeaders.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f"); client.DefaultRequestHeaders.Add("User-Agent", "Mozilla/5.0"); // CRITICAL FAILURE HERE: Always throws 404 Not Found HttpResponseMessage response = client.GetAsync(absoluteVersionUrl).Result; response.EnsureSuccessStatusCode(); using (Stream fileStream = response.Content.ReadAsStreamAsync().Result) { // Upload logic to SPO goes here } } } } } } The version URL returned inside the property matches the following virtual folder layout format: _vti_history/512/Folder/Doc.docx My specific environment queries are: Why does navigating to the absolute history folder URL over an authenticated HttpClient trigger a 404 Not Found error in SharePoint 2013 on premises, even though the path token is extracted directly from the version url metadata property? Is there an alternative legacy REST endpoint routing structure or an alternative file stream extraction method available in the SharePoint 2013 (v15) SDK that allows an external client application to fetch older version binaries successfully?6Views0likes0CommentsSearch
The Onedrive search is not working properly. I have a file called "Vegetarian moussaka recipe.docx" stored in Onedrive (created 9/4/26). When I search for this word in the Onedrive.com website on my laptop (Windows11), or on my Onedrive phone app it is not found, even though if I look for it manually, by going to the folder on Onedrive.com, it is clearly there. When I do the same search in File Explorer on my laptop it does show the file. An odd thing is that I then created a copy of the file, called: "Vegetarian moussaka recipe copy.docx", this is an exact copy and this one IS found, but not the original. I have contacted Microsoft support about it, and sent recordings, data etc as requested, but they don't know the answer. They have just told me to use a "workaround" which is just to use the copied version of the file instead of the original. Since then I've discovered another file this has happened with, called: "Tuscan chicken with beans.docx, created 9/5/26) this also doesn't show in the search in Onedrive.com but does show in a file explorer search. If I copy the file to my Desktop, without renaming it, it DOES show in the Onedrive.com search. Interestingly, the similarity between this file and the other one (Vegetarian moussaka recipe.docx) is that I created both files on my computer (Windows 11) by copying text from an internet page. (But I tried recreating this just now by creating a test and that file behaves normally).15Views0likes0CommentsSince April 16, 2026, OneDrive no longer syncs any new .lnk files
Hello, I have a strange issue with OneDrive and Windows shortcut files (.lnk). Since April 16, 2026, OneDrive no longer syncs any new .lnk files I create. All .lnk files created before that date still sync normally. Every new .lnk file immediately shows the “–” status (Not syncing). The target file is inside OneDrive, fully synced and available locally. Older .lnk files in the same folder sync correctly. The problem persists after full OneDrive reset, clearing cache databases, full resync of about 200,000 files, Windows 11 reinstall (Home, Pro, Insider), Windows 10 test on another PC, Smart App Control disabled, no third‑party antivirus. The issue is identical on all devices. The problem started exactly on April 16, 2026, right after several Smart App Control warnings that blocked opening documents through newly created shortcuts. Since that date, no new .lnk file has ever synced again, while all older ones still sync. This makes me think that a Defender cloud reputation flag or something similar may have been applied to my account and is now blocking new .lnk files at the server level. Could someone from the OneDrive team please check whether my account has a cloud security flag or reputation rule incorrectly applied, and reset it if needed? This issue has been going on for almost a month and prevents me from using shortcuts in my OneDrive structure. Post‑scriptum: Thanks to Copilot for helping me through multiple Windows resets and reinstallations to rule out every local cause. This message was also written with its assistance to request help from the community.100Views0likes1CommentOnedrive replaced all versions with old file
Hello. Onedrive has replaced an Excel file with a old (from March, 2023) version of the file. I've looked at the version history, but all the versions there appear to be the same old file. How can I recover the latest version of the file please? Regards, Stuart833Views2likes4CommentsFiles are gone, folderstructure is there
Dear community, I have a one drive account with a extensive folder structure. Today I noticed that the folderstructure is intact (on my laptop and online) but the files are mostly gone for 90%, here and there a folder with some files. My account is a personal 356, have 1 terrabyte. I tried to restore the drive through the instructions I found online by Microsoft, go to settings, one drive restore, check recycle bin, etcetera. Nothing helped. I did not deleted the files manually. I honestly do not know what to do? Tried to get in contact with Microsoft but that is totally impossible. Is there anyone that has expirienced this also? I use onedrive now for many years and never had this. Please help285Views0likes6CommentsShared links not downloading for others, just gives error text files
All of the sudden, any shared links from OneDrive are not allowing people to download the files. It just gives them a .zip of "OneDrive-2024-02-15.zip" that contains 2 text files. The 2 files are "Download Errors.txt" & "OneDrive_1.txt" and just say there was a problem downloading the file. I have moved files to different folders, renamed them. Nothing works. This is the first time in 5 years this has happened, I have always used the Share links with no issues. The only way it works is if I zip the files ahead of time and share the link to the zipped file. Sample Link : https://1drv.ms/f/s!ArOXzVQUkKVyudo32DXEn2z1ti8SEQ?e=upC70b19KViews3likes24CommentsTransforming Microsoft Teams into a Project Management Hub
If you use Microsoft Teams only for chats and meetings, you’re missing much of what it can actually do. While Microsoft Teams is often seen as a communication tool, it can also function as a central workspace for managing projects - from planning and brainstorming to execution and documentation - all in one place. When combined with tools like Microsoft Planner, SharePoint, and Microsoft Loop, Teams can become a practical project management hub that keeps work organized and reduces the need to switch between systems. This article walks through a clear, practical approach to setting up and using Teams for real-world project delivery. Why Use Microsoft Teams for Project Management? Organizations often hesitate to introduce new tools due to cost, training effort, or resistance to change. Microsoft Teams offers a strong advantage: it is already widely adopted in many organizations as part of Microsoft 365. Using Teams for project management allows you to: Centralize communication and documentation Reduce tool fragmentation Improve team visibility and collaboration Leverage existing infrastructure without additional cost Instead of switching between multiple platforms, teams can manage conversations, files, tasks, and workflows in one place. Structuring Your Project in Teams A well-structured Team is the foundation of successful project management. Create a Dedicated Team Start by creating a Team specifically for your project. Avoid mixing multiple projects in one Team, as it leads to confusion and poor organization. Recommended channels structure: General (announcements and overview) Planning (timelines, scope, requirements) Execution (daily work discussions) Risks and Issues Documentation Onboarding Lessons Learned This structure ensures clarity and separates strategic discussions from operational ones.58Views0likes0CommentsSharepoint link shared with me does not seem to be working
Hi, With my new job I was shared a link to my personal gmail address for a folder of documents I need to become familiar with. This was done with an invite link to a Sharepoint folder the documents are kept in to my gmail. When I click the link it prompts me to log into my outlook account. When I log into my account with the same gmail address as the one the link was shared to I do not see the folder that was shared to me. I tried logging into my gmail on outlook and clicking the link again, to the same result. Both times what I see is a web based outlook page with no emails, no documents shared on the “shared with me” tab of one drive and the only documents present are the cloud backup of my personal computer on one drive. I tried downloading the sharepoint app and logging in this way, but it says I need a school or work email and I can’t log in with a personal email address. It’s important I be able to view these documents. I would appreciate any help telling me how to access them.984Views1like2Comments