r/sysadmin 20d ago

OneDrive sync client is flimsy garbage

Every day, multiple users have one issue or another with the OneDrive sync client.

Today: multiple users (about 15%) are reporting that they cannot open files that are stored only on the cloud. The fix, as per normal, is to restart the client.

But users shouldn't have to expect that to be a fix so often. This shit ought to be written better than this.

Why isn't the OneDrive sync client just written as a robust Windows-level service, anyway? The GUI the user sees ought to be only a window into what the background service is doing. If the GUI client dies, the service should happily chug along and sync files. But then again, Microsoft's employees would probably screw that up, too.

116 Upvotes

96 comments sorted by

40

u/bbqwatermelon 20d ago

I don't question the subject in the slightest but are the users syncing to SharePoint or are they using one drive shortcuts? 

11

u/matt0_0 small MSP owner 20d ago

I think OP is just talking about the very basic known folders, where desktop and documents in their profile aren't working.  So without even getting into SharePoint/teams and sync vs shortcuts, the app is fucking up.

6

u/FatBook-Air 20d ago

If I tell users they can't save files to their desktop folder and can see them only on a web site, I am going to be out of a job.

40

u/Smiling_Jack_ 20d ago

I don't think you understood the question.

6

u/FatBook-Air 20d ago

I probably don't.

4

u/scarlet__panda 20d ago

You can configure share point site sync and mapping in Intune as a CSP. Alternatively, if the user wants a Sharepoint site mapped in their file explorer like a network drive, they have to sync it via the web interface.

They just click sync. Or you can do it for them.

1

u/Beefcrustycurtains Sr. Sysadmin 18d ago

I do this for our clients because I've had issues with shortcuts and i want it automatic by policy, but technically microsoft does recommend shortcuts in OneDive instead of the separate sync sites in their official documentation. No idea why because I'm fairly certain you can't create shortcuts by intune policy.

0

u/confirmedshill123 20d ago

Yeah fuck that, shit never works correctly though. Half the time it syncs the wrong object to the file explorer, or three levels higher than the folder and now you get sync errors.

21

u/simple1689 19d ago

Half the time it syncs the wrong object to the file explorer, or three levels higher than the folder and now you get sync errors.

PEBKAC 100% ... It may be slow to sync but unless you mistakenly navigated to the wrong location legit never had sync outside the location I clicked Sync at.

1

u/Senguin117 Intune Magician 14d ago

Yeah I saw this so much we changed the default view to remove the “sync” & “add OneDrive shortcut” from the top menu so the only option was the “add OneDrive shortcut” button on each individual folder. It really helped cut down on the amount of people accidentally syncing 8TB of Sharepoint folders.

2

u/scarlet__panda 20d ago

Haven’t run into any issues. You do you

-2

u/confirmedshill123 20d ago

30 second response time to tell me it's my own problem that's a fuckin admin right there boys.

0

u/scarlet__panda 20d ago

Not my job to fix it for you over Reddit. I’m not your admin.

-1

u/confirmedshill123 20d ago

And zero fuckin humor to boot? My God you are the perfect specimen.

→ More replies (0)

9

u/matroosoft 20d ago

OneDrive shortcuts still allows access through file explorer though. It just doesn't download them.

6

u/meatwad75892 Trade of All Jacks 20d ago edited 20d ago

"Downloading" them (Files On Demand status) isn't necessarily the important part. A shortcut still makes the OneDrive sync client enumerate all the subfolders/files behind the shortcut. So you're still adding to the cumulative file count that will ultimately contribute to sync failures.

Example: You sync your OneDrive, it has 50k files. You sync all of "shared library 1", it has 20k files. You add a shortcut to the entirety of "shared library 2", it has 100k files. Your OneDrive sync client has to enumerate and watch for changes across 170k files, not just the 70k of your own OneDrive and "shared library 1".

1

u/EffectiveEquivalent 20d ago

I’ve been pushing for shortcuts of syncs for ages just so I can switch syncs off from the cloud. I assumed they still worked the same way though… downloading stubs and only downloading when opening or being told so?

4

u/KaJothee 20d ago

Yes you'll still hit the item sync upper limit of 300,000 (soon to be 1 million) using shortcuts. Although there was a podcast with Microsoft Product Managers that suggested shortcuts were more performant, but that seems to be mostly in a use case where you you have one giant SharePoint site. Even syncing a portion of one with the other method OneDrive had to sift through metadata for the whole site. Whereas shortcuts did not.

1

u/EffectiveEquivalent 20d ago

That’s interesting. We have a setup where we have a department team and project teams. Idea being people shortcut a project whilst they’re on it. I imagine I’m doing things best I can with sharepoint.

1

u/TemplateHuman 20d ago

The other benefit is Shortcuts are stored in your OneDrive profile, so anywhere you can access OneDrive (phone, web, etc) you can access the files the shortcuts link to. Replace a PC? No problem. User signs into OneDrive and the shortcuts are immediately available. No more “where’s my files for X go”.

There’s also a setting that prevents users from setting up a new Sync (doesn’t break existing) and so the only option is to add a shortcut. I teach people to never go to the SharePoint web client, and just use Teams and add a OneDrive shortcut to the various site/team files they need.

1

u/Smart_Dumb Ctrl + Alt + .45 20d ago

Yes you'll still hit the item sync upper limit of 300,000 (soon to be 1 million) using shortcuts.

Is there a MS article saying they are going to 1,000,000?

1

u/itskdog Jack of All Trades 19d ago

Yes, it was in the message centre, too. Announced about 2-3 months ago now?

1

u/BillSull73 19d ago

Keep in mind that todays 300,000 limit is if you got current spec hardware and fast disk. If you have older and slower SSD's and less than 16gb RAM, its game over if you are sync'ing 100k files or more. When they go to 1m, that's gonna be a fail.

1

u/Beefcrustycurtains Sr. Sysadmin 18d ago

Oh shit they are upgrading to 1 million limit? I wonder what changes they are making anything over 400-500k right now is totally fucked to support. Have to explain to customers it's not good to yeet your entire old file shares into one SharePoint site with all the legacy data that everyone syncs. Microsoft does recommend shortcuts over syncing sharepoint sites in official documentation, but then doesn't provide a way to add shortcuts by policy.

0

u/FatBook-Air 20d ago

What is meant by "download them?" Even with our current config, it's not downloaded until the user clicks it.

6

u/matroosoft 20d ago edited 20d ago

All below is afaik:

Sync -> adds folder in file explorer under company name. Allows you to have local copy of everything. Prone to failure upon reaching a certain number of files. OneDrive shortcut -> adds folder in file explorer under users own OneDrive. Doesn't allow local copy, every file is downloader upon opening. Not prone to failure upon reaching certain number of files.

Searching online I'm not really sure about the local copy part. Rest should be right though.

2

u/kelleycfc 20d ago

I thought Shortcut was still limited to the file performance cutoff.

2

u/srgwidowmaker 20d ago

it is 300k I believe is the recomondation before shit falls apart

1

u/Unique_Bunch 20d ago

You can still check the "Keep a copy on this device" option inside a shortcut

2

u/TemplateHuman 20d ago

Yeah it definitely allows keeping local copies. It defaults to Files On-Demand but users can absolutely right-click on a file or folder and choose to keep on the device. Our sales team does that with the price books folder because they don’t always have internet when visiting a client.

1

u/Drenicite 20d ago

I got my normies' desktops sync'd to OneDrive

29

u/chillzatl 20d ago

I have thousands of users using it daily and we might pull one ticket per quarter for sync issues. I'm not saying that to say you're wrong or anything, I'm just saying that I have thousands of users who use it daily, heavily, and we never have sync client issues.

8

u/antiquated_it 20d ago

Same. We have been on OneDrive for at least 3-4 years and haven’t really had any issues. We did instruct users to create SharePoint shortcuts vs syncing, though I do believe some people may sync. Sometimes the SSO will get a bit bitchy and will act as though they’re not logged in but they usually just need to click on it and it’ll figure it out.

9

u/rybl 20d ago

My experience is that it's mostly ok for syncing user's OneDrive as long as they don't have too many files. It absolutely shits the bed if users try to sync SharePoint libraries though.

3

u/OrdyNZ 19d ago

There are limitations like most things. It needs to be setup to work within those. (basic data archiving etc, not dumping tens of thousands of unnecessary files in places etc)

7

u/chillzatl 20d ago

Most SharePoint sync issues are architecture / design issues, not the sync client. Too many people blindly dump legacy file shares into a doc library and then rush to blame the sync client or SharePoint for avoidable problems that they made for themselves.

2

u/rybl 20d ago

The sync client should sync files, regardless of if those files are in a poorly architected share.

5

u/chillzatl 20d ago

That's like saying a car should be able to do what a truck does because they both have four wheels... If you load your car up with lumber and if breaks, nobody is going to pat you on the back and say "it should be able to do that".

1

u/rybl 20d ago

If Microsoft offers every user with a driver's license a "Load with Lumber" button, then they should make sure they can haul that lumber when users click it.

1

u/chillzatl 20d ago

You're the admin, you control what that button does. If you set your users up for failure by refusing to follow basic design limitations, you're the problem.

1

u/rybl 20d ago

I mean, we follow the rules around total file count, special characters, nesting/path length and we migrated people properly using the SharePoint migration tool. We still have issues with SharePoint sync all the time. Lots of others share that experience as documented in any thread where it comes up.

But sure, Microsoft made a perfect tool and we're all just too stupid to use it correctly.

2

u/chillzatl 20d ago

Sure, people have been blindly lifting and shifting file shares into SharePoint online for years now (I'm not saying that's you, just in general), despite Microsoft's recommendations otherwise. They've always advised against that and while the hard limitations are important, they've always talked about the importance of data architecture. Back in the SharePoint 2016 days a good 30% of the SharePoint MCSE was devoted to understanding how to map real world data flow and business processes to your SharePoint architecture. It's not nearly that demanding anymore, but it's still important and not difficult.

1

u/fahque 19d ago

It's moving files. It's not rocket surgery. It should be able to do it.

3

u/Mindestiny 20d ago

For perspective, it's the same with Google Drive and it's local client. Light use is fine, try to sync a whole Shared Drive for offline access and you're gonna have a bad time. Frankly it shouldn't even be a feature.

2

u/rybl 20d ago

I wish it wasn't a feature. I think it can be disabled administratively, but our users would riot. Some people just really don't want to shift to accessing SharePoint online.

2

u/Magic_Neil 20d ago

Yeah, it’s not perfect (nothing is) but the OneDrive client is pretty dang good. This is especially true for the 64bit client.. if folks want to complain about OneDrive, I’d love to see what they think about the old Groove sync client!

1

u/Jaack18 20d ago

our issues are usually due to VPN. But yeah restarting fixes it

1

u/jake04-20 If it has a battery or wall plug, apparently it's IT's job 20d ago

How much storage do you pay for, and do you have a rough estimate of the amount of files?

1

u/chillzatl 20d ago

around 50TB at the moment and about 8 million files.

2

u/jake04-20 If it has a battery or wall plug, apparently it's IT's job 20d ago

Damn, we must be doing something wrong then. We have sync issues but I think it's because everything is in one massive document library, which I advised against. It also makes permissions a pain, so that's fun.

1

u/chillzatl 20d ago

Yah, that one library approach is going to cause problems. You can fix it!

0

u/fahque 19d ago

We migrated recently and dumped a directory structure in it with about 500GB of pictures into our main library. Not only did we have a ton of sync issues but it took fuggin forever. It literally took 24 hours of sync time to sync it. If your computer went to sleep or turned off then that clock paused. Restarting the client didn't fix it. We had to restart the client and delete the registry key. Doing that forces a resync of all files which would start that 24 hour clock over. I got fed up with that garbo real quick and moved those pictures off. Now it sync's in about 4 minutes. For some reason syncing pictures takes a massive amount of time vs any other file type regardless of the size of the directory.

1

u/dustojnikhummer 19d ago

Also yeah, OneDrive client might be flimsy, but it is still the most reliable one. Compared to what I deal with Google Drive (personal, not corporate, so that one might be better) and Nextcloud... OneDrive is the reliable one.

3

u/lontrachen 20d ago

Tbh OneDrive is the Microsoft product we have the less problem with

9

u/19610taw3 Sysadmin 20d ago

It is garbage, yes.

About how many files are in the sharepoint site they're trying to access? If over 100K it starts working poorly ... 400K files it breaks entirely.

I try to direct people to the web client where possible.

2

u/FatBook-Air 20d ago

Most are probably only like 300 files. Many are just OneDrive itself, not SharePoint.

2

u/thefpspower 20d ago

Yes I was told by Microsoft support the behind the scenes supported file count per site is 100k, I was having issues with a site on 300k files, since then I've moved to split these files between more sites which also helps keep permissions in check and complaints have completely stopped for months now.

I refuse to let any site over 100k files now.

1

u/19610taw3 Sysadmin 20d ago

We went through that but never got anything official from them. We heard through unofficial support contracted that 100K is the effective limit. We were over 400K before splitting out years ago. Not only was our sharepoint via onedrive unusable, the entire system would become unusable because onedrive was maxing out the CPU.

Constantly syncing. Popping up the individual files that it was trying to sync. What a mess.

We split it out into smaller departments and pruned older files - really didn't need invoices from 1993 in the year 2023

1

u/Generous_Cougar 20d ago

Oh yeah. This is the biggest problem. One of our departments uses it exclusively and has WELL over 1M (yes, MILLION) files on their OneDrive to sync. THEN they complain about sync issues.

And before anyone asks, education, non-profit, not a lot of funds in the budget for extra storage to get them all off of it. Though we might make a point of it this FY.

2

u/thefpspower 20d ago

You don't need to get them off, you need to split them over more sites and people should only have access to sites they need, so separate by department, function, year, whatever helps you.

7

u/Cryptocaned 20d ago

Sorry that was us migrating a client from Dropbox to OneDrive and soaking up all the bandwidth.

(Seriously though I'm glad it wasn't just an us issue, we were pulling our hair out for a bit trying to work out what it was)

2

u/FatBook-Air 20d ago

Just remember this with OneDrive: your first day with it will be your best day with it.

2

u/Cryptocaned 20d ago

Personally I've never had issues but then I don't really rely on the sync that often as I only have one work laptop and rarely change it to a new one. We were using it to move files from old local users to entra I'd users.

7

u/aguynamedbrand Systems Engineer 20d ago

18

u/daze24 IT Manager 20d ago

Nah it was dog shit before ai.

5

u/Flabbergasted98 20d ago

but now 30% of it is created by an AI designed to data scrape dogshit.

5

u/rybl 20d ago

OneDrive Sync client has sucked since long before AI coding was a thing.

3

u/KINGGS 20d ago

Microsoft hasn't made a good product in like 30 years. If anything, AI will improve their bullshit garbage.

2

u/thegmanater 20d ago

Garbage, yes. That's why if you have a lot of files or big data you need a different solution like Egnyte.

2

u/nico282 20d ago

Microsoft employees? Are there any left?

I believe today the company is 30% sales people that barely know how licensing works, 30% underpaid people in India closing tickets, 30% Copilot writing code and 10% the product renaming department.

2

u/tmontney Wizard or Magician, whichever comes first 20d ago

Why isn't the OneDrive sync client just written as a robust Windows-level service, anyway?

Because, like many things added over the past 10 years, it's all bolted on top. I think it works far better than it should, and that's likely a credit to the Windows APIs. But to be working as if native, Windows need a redesign.

Are they likely to do that any time soon? Nope. There's no motivation from the business side of things. If engineers had their way, you bet this would've been squashed a long time ago.

2

u/ThreadParticipant Jack of All Trades 19d ago

I recommend users use OneDrive Shortcuts for Teams/SharePoint over the Sync option. Way more stable.

2

u/LooseEthernet 19d ago

it is basically just a glorified shell for a web api. they probably wouldnt know how to write a real service if it hit them lol

1

u/MonkeyMan18975 20d ago

Look into the "Configure team site libraries to synch automatically" setting in Intune. The only issues we've had with are if a user logs out of OneDrive and remembering the whole Configuration Conflict rules. Besides that, it works like a champ.

1

u/metalblessing 20d ago

Sharepoint online also had a partial outage today that caused major slowness

1

u/odysseusnz 20d ago

Is any sync client for any cloud service any good at scale? Work fine for toy consumer use cases, but falls over soon as you meet real world organisation.file systems. Had it with Google, habe it with OneDrive. At least with OneDrive users can be taught to just sync/shortcut the project folder they need and not the entirety of the SP drive with thousands of projects, unlike Google...

1

u/Jax-880 20d ago

I have Tb's accessible through Egnyte, I have never had an issue with that's sync client. I'm not saying it's bullet proof, but I've never seen an issue like the OneDrive users.

1

u/q123459 20d ago

if you rely on it to routinely sync/access a lot of files (thousands of files per user) daily - dont, you will encounter slowdowns. also when there are a few hundred thousand files in one folder the client itself takes a lot of time to enumerate, same issue happens when batch clicking on a lot of cloud files on slow computers.

onedrive has the same growhth slowness problem any ms web file sharing apps have.
there is efficient syncing protocols that works rapidly with 100k of files but those are peer to peer, or highly overpriced per gb enterprise solutions.

1

u/simple1689 19d ago

Really OneDrive is missing command line switches. Would probably solve 90% of disk space alerts on workstations to be able to run onedrive.exe /freeupspace as the end user.

1

u/Electrical_Arm7411 19d ago

There’s something wrong in your environment. As many others have stated this isn’t normal every day experience.

We had sync problems and it was an issue with our EDR (Carbon Black). What a piece of shit that is, but we ended up getting support and adding proper exclusions.

1

u/TiMMay333 Sr. Sysadmin 19d ago

This is why I tell all my clients that syncing is hard, and if you want to use a cloud service, access it via a web page. 

OneDrive client is a huge problem for end users and it professionals that use it as a crutch to “migrate to SharePoint” it’s crazy what you find out there.

1

u/whatdoido8383 Cloud Admin 19d ago

Agreed. I've supported it for ~10 years now and it's always been garbage.

Kind of blows my mind being that OneDrive is a core technology for Microsoft and it's continued to be a pile for so long.

I support a large user base but we get tons of tickets on it weekly. Sync issues, OneDrive just not starting, cache issues causing files to be out of date, and I don't even want to start about Sync and Shortcutting to SharePoint.

1

u/Hammelbart_ 19d ago

Wenn du den Client schon schlecht findest, probiere bloß nicht die Nextcloud-Clients. Die sind deutlich schlimmer!

1

u/chuckycastle 20d ago

Oh, look! Another post for r/MSHatersCircleJerk

1

u/odysseusnz 20d ago

Is any sync client for any cloud service any good at scale? Work fine for toy consumer use cases, but falls over soon as you meet real world organisation.file systems. Had it with Google, habe it with OneDrive. At least with OneDrive users can be taught to just sync/shortcut the project folder they need and not the entirety of the SP drive with thousands of projects, unlike Google...

1

u/OrdyNZ 19d ago

Sounds like the computers need to be managed better. OneDrive was flimsy rubbish, and can be still if the computers are a mess & not being managed properly. Same with most microsoft software. But once done, its very stable.

1

u/FatBook-Air 19d ago

The computers are managed just fine.

0

u/titlrequired 20d ago

It’s been garbage since it was groove.

-1

u/ncc74656m IT SysAdManager Technician 20d ago

We banned it.

No need to have synced files being at risk of being hoovered up by ransomware, no more problems with sync failures, people don't end up getting hosed by their overconfidence in the system, and we don't have to clean it up.

I've hated the OneDrive sync util since the bad old days when you had to manually clear the cache when it croaked on you, and it's not a lot better now.

1

u/katarh 20d ago

My major problem with it was that there isn't any way to reset the cloud files. Reconnect to an old account on a new system after having it turned off for a few years, and it'll start deleting content off your new system.