OneDrive - Synchronisation issues SharePoint document libraries

%3CLINGO-SUB%20id%3D%22lingo-sub-146769%22%20slang%3D%22en-US%22%3EOneDrive%20-%20Synchronisation%20issues%20SharePoint%20document%20libraries%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-146769%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20spoken%20with%20Microsoft%20Support%20about%20a%20couple%20of%20issues%20with%20Windows%2010%20and%20the%20OneDrive%20Next%20Generation%20Synchronisation%20client.%20However%2C%20they%20were%20unable%20to%20assist%20as%20they%20could%20not%20figure%20out%20what%20the%20issue%20is.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20two%20customers%20both%20running%20Windows%2010%20exclusively%20with%20version%201709%20build%2016299.192.%20Both%20are%20using%20the%20latest%20OneDrive%20client%20%3CA%20class%3D%22ocpExternalLink%20x-hidden-focus%22%20href%3D%22https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3Flinkid%3D844652%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E17.3.7131.1115%3C%2FA%3E%26nbsp%3B(though%20as%20I%20write%20this%20some%20are%20updating%20to%20%3CSPAN%3E17.3.7294.0108)%26nbsp%3B%3C%2FSPAN%3Ewith%20the%20files%20on-demand%20feature%20enabled.%20They%20are%20synchronising%20OneDrive%20from%20Office%20365%20and%20SharePoint%20document%20libraries.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20first%20issue%20we%20are%20having%20is%20that%20intermittently%20the%20SharePoint%20document%20libraries%20will%20remove%20themselves%20from%20the%20OneDrive%20client.%20I%20have%20seen%20this%20happen%20and%20looks%20automated%20as%20a%20Windows%2010%20notification%20will%20appear%20in%20the%20action%20centre%20to%20say%20that%20the%20document%20library%20has%20been%20deleted.%20As%20this%20happens%20without%20warning%20it%20is%20causing%20issues%20as%20the%20orphaned%20folder%20structure%20is%20still%20accessible%20through%20File%20Explorer%20along%20with%20any%20files%20that%20have%20been%20worked%20on%20by%20the%20person%20on%20that%20PC.%20If%20it%20is%20spotted%20quickly%20it%20can%20be%20resolved%20fairly%20easily%20as%20re-synchronising%20the%20library%20adds%20it%20straight%20back%20into%20OneDrive%20and%20the%20synchronisation%20then%20works%20OK.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20is%20not%20always%20the%20same%20SharePoint%20library%20that%20disconnects%20and%20it%20can%20be%20from%20any%20of%20the%20people%20in%20the%20business%20at%20any%20time.%20I%20even%20added%20the%20libraries%20to%20my%20PC%20(I%20use%20a%20document%20library%20from%20a%20separate%20Office%20365%20tenant%20without%20issue)%20and%20replicated%20the%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20second%20issue%20is%20that%20on%20a%20PC%20that%20is%20fully%20synchronised%20if%20it%20is%20shutdown%20for%20a%20couple%20of%20weeks%20(as%20can%20happen%20for%20annual%20leave%20etc)%20and%20folders%20%2F%20files%20are%20deleted%20from%20SharePoint%20online%2C%20when%20the%20device%20reconnects%20OneDrive%20assumes%20that%20the%20PC%20is%20the%20correct%20source%20and%20synchronises%20the%20deleted%20folders%20and%20files%20back%20to%20SharePoint.%20This%20has%20caused%20a%20few%20head%20scratching%20moments%20for%20the%20customer%20as%20to%20where%20previously%20removed%20data%20is%20appearing%20from.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20posting%20here%20in%20the%20hope%20that%20someone%20from%20the%20OneDrive%20dev%20team%20may%20see%20the%20post%20and%20confirm%20if%20these%20issues%20are%20known%20about%20or%20if%20there%20may%20be%20a%20fix%20on%20the%20horizon.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-146769%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-177362%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Synchronisation%20issues%20SharePoint%20document%20libraries%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-177362%22%20slang%3D%22en-US%22%3E%3CP%3EApologies%20for%20not%20replying%20sooner.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFrom%20my%20findings%20with%20the%20OneDrive%20client%2C%20I%20am%20convinced%20that%20the%20issues%20that%20our%20customer%20was%20experiencing%20was%20due%20to%20the%20file%20and%20folder%20paths%20exceeding%20limits.%20I%20have%20no%20proof%20of%20this%20from%20log%20files%20etc%20as%20nothing%20gets%20reported%2C%20but%20hope%20this%20helps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEven%20though%20I%20explained%20the%20finite%20limit%20of%20the%20file%20and%20folder%20path%20could%20not%20exceed%20250%20characters%20or%20218%20for%20Excel%20files%2C%20they%20would%20regularly%20name%20folders%20and%20files%20in%20such%20a%20way%20that%20this%20limit%20would%20be%20exceeded.%20I%20ran%20some%20tests%20myself%20and%20it%20is%20surprisingly%20easy%20to%20do.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20running%20the%20Microsoft%20Office%20365%20analyzer%20tools%20on%20the%20data%20once%20it%20synchronised%2C%20it%20showed%20no%20errors.%20However%2C%20I%20could%20run%20a%20script%20against%20the%20data%20and%20review%20as%20a%20CSV%20in%20Excel%20to%20show%20that%20data%20broke%20the%20limits.%20I%20think%20that%20intermittently%20the%20client%20would%20realise%20this%20and%20just%20stop%20working%20rather%20than%20flag%20an%20error%20when%20trying%20to%20synchronise%20the%20data%20to%20say%20that%20a%20rule%20had%20been%20broken.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20another%20customer%20(both%20are%20in%20the%20building%20trade%20so%20use%20similar%20naming%20conventions)%20and%20they%20intermittently%20have%20the%20same%20issue.%20They%20are%20happy%20to%20workaround%20this%20by%20using%20the%20OneDrive%20app%20from%20the%20Microsoft%20Store%20which%20works%20well%2C%20minus%20being%20able%20to%20integrate%20into%20File%20Explorer.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20a%20personal%20note%3B%20I%20have%20synchronised%20my%20own%20OneDrive%20data%20and%20a%20SPO%20library%20that%20is%20in%20use%20at%20our%20business%20on%20several%20PCs%20and%20to%20this%20day%20have%20never%20had%20this%20issue.%20Side%20loading%20the%20customers%20OneDrive%20on%20the%20same%20PC%20I%20experienced%20the%20drop%20in%20synchronisation%20(and%20co-incidentally%20so%20did%20several%20of%20the%20staff%20at%20the%20customer%20site%20at%20exactly%20the%20same%20time%2C%20though%20not%20all).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20of%20our%20customers%20grew%20too%20frustrated%20by%20the%20issue%20and%20decided%20to%20move%20back%20to%20hosting%20the%20data%20on%20their%20server%20and%20using%20VPN%20connectivity%20to%20access%20remotely.%20Our%20other%20customer%20is%20persevering%20with%20OneDrive%20and%20for%20the%20moment%20is%20happy%20to%20work%20with%20us%20to%20resolve.%20I%20am%20going%20down%20the%20data%20route%20to%20fix%2C%20but%20due%20to%20Microsoft%20not%20being%20able%20to%20find%20anything%2C%20is%20best%20guess%20on%20my-part.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHopefully%20my%20experience%20may%20help%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-177347%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Synchronisation%20issues%20SharePoint%20document%20libraries%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-177347%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3872%22%20target%3D%22_blank%22%3E%40Teemu%20Strand%3C%2FA%3E%26nbsp%3BI%20understand%20your%20hesitation.%20We%20have%20had%20it%20a%20lot%20recently%20and%20the%20sync%20client%20isn't%20the%20fastest%20at%20resyncing%20a%20lot%20of%20files%20which%20is%26nbsp%3Brather%20frustrating.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20only%20have%202%20users%20who%20are%20currently%20having%20the%20biggest%20issue%20with%20OneDrive.%20However%20they%20probably%20do%20the%20most%20in%20terms%20of%20sharing%20a%20single%20SPO%20library.%20The%20problem%20is%20if%20a%20sync%20drops%20out%20on%20one%20of%20their%20machines%20and%20they%20don't%20notice%2C%20it%20becomes%20a%26nbsp%3Bvery%20messy%20and%20time%20consuming%20process%26nbsp%3Btrying%20to%20match%20up%20the%20most%20recent%20files%20from%20each.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20tried%20to%20push%20the%20'Online%20only%20use'%20but%20they%20really%20don't%20get%20on%20well%20with%20accessing%20everything%20via%20a%20web%20browser.%20Only%20today%20I%20have%20just%20had%20one%20of%26nbsp%3Bthem%20call%20with%26nbsp%3Ban%20issue%20where%20a%20handful%20of%20new%20files%20they%20have%20created%20on%20their%20machine%26nbsp%3Bare%20just%20sat%20there%20in%20the%20'Processing'%20stage%20and%20have%20been%20since%2008%3A00%20this%20morning.%20I%20can%20understand%20their%20frustration%20but%20I%20have%20no%20answer%20for%20them%20other%20than%20'Just%20leave%20it%20running%20and%20it%20will%20update%20.%20.%20.%20eventually'%20But%20I%20have%20no%20reason%20to%20give%20them%20of%20why%20this%20is%20the%20case.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGenerally%20OneDrive%20for%20Business%20drives%20have%20been%20ok.%20They%20have%20dropped%20out%20but%20due%20to%20the%20fact%20that%20really%20only%20one%20user%20is%20using%20them%20the%20chances%20of%20files%20mismatching%20are%20small.%20However%20shared%20SharePoint%20libraries%20are%20a%20mine%20field%20of%20problems%20when%20synced%20to%20multiple%20machines%20and%20users.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMy%20next%20step%20was%20to%20start%20using%20Windows%2010%201709%20which%20allows%20the%20use%20of%20'Files%20on%20demand'%20in%20OneDrive%26nbsp%3Brather%20than%20having%20to%20sync%20everything%20straight%20off.%20At%20least%20with%20this%20users%20are%20only%20downloading%20files%20they%20use%20so%20if%20a%20sync%20problem%20occurs%20it%20will%20only%20effect%20a%20small%20amount%20of%20files%2C%20in%20theory.%26nbsp%3B(fingers%20crossed)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-177316%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Synchronisation%20issues%20SharePoint%20document%20libraries%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-177316%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F110835%22%20target%3D%22_blank%22%3E%40Steven%20Wicks%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F132031%22%20target%3D%22_blank%22%3E%40Ryan%20Cracknell%3C%2FA%3E%26nbsp%3Bsharing%20your%20experiencies%20of%20sync%20issues%20with%20Sharepoint%20document%20libraries.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOur%20Finance%20department%20(~40%20users)%20has%20already%20SPO%20site%20in%20use%20and%20now%20they%20were%20thinking%20syncing%20some%20of%20the%20document%20libraries%20to%20their%20laptops%2C%20but%20now%20reading%20your%20experiences%20I%20am%20little%20worried%20about%20the%20strange%20sporadic%20issues%20we%20might%20face.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20the%20old%20sync%20client%20we%20had%20some%20very%20nasty%20cases%20of%20sync%20errors%2Fproblems%20and%20it%20took%20long%20hours%20to%20fix%20the%20issues%20and%20recover%20the%20important%20files.%20Since%20then%20we%20have%20advised%20our%20users%20in%20our%20company%20that%20SPO%20document%20libraries%20should%20not%20be%20synced%20(%22For%20online%20use%20only%22)%2C%20but%20syncing%20private%20ODfB%20library%20is%20ok.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-176319%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Synchronisation%20issues%20SharePoint%20document%20libraries%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-176319%22%20slang%3D%22en-US%22%3E%3CP%3EI%20haven't%20been%20able%20to%20find%26nbsp%3Banything%26nbsp%3Bon%20this%20problem%26nbsp%3Bbut%20this%20post%20is%20identical%20to%20the%20issue%20we%20are%20currently%20having.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20started%20a%20couple%20of%20months%20ago%20and%20to%20start%20with%20it%20was%20fairly%20easy%20to%20deal%20with.%20However%20the%20finance%20department%20are%20finding%20it%20a%20bit%20of%20nightmare%20as%20twice%20now%20they%20have%20had%20their%20finance%20library%20disconnect%20and%20haven't%20notice.%20This%20has%20caused%20chaos%20as%20they%20will%20have%20both%20worked%20in%20the%20OneDrive%20folders%20on%20their%20machines%20making%20a%20resync%20a%20very%20messy%26nbsp%3Btask.%20This%20has%20caused%20them%20to%20lose%20a%20lot%20of%20faith%20in%20the%20system%20as%20they%26nbsp%3Bfeel%20they%20are%20always%20looking%20over%20their%20shoulder%20with%20it%20to%20check%20its%20syncing.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20has%20been%20pretty%20sporadic%20for%20other%20users%20too%20with%20a%20spate%20about%20a%20month%20ago.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%20there%20doesn't%20seem%20to%20be%20any%20obvious%20solution.%20The%20users%20are%20currently%20using%20Windows%2010%201703%20so%20haven't%20got%20the%20latest%20OneDrive%20version%20with%20files%20on%20demand.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20having%20a%20hard%20time%20convincing%20people%20that%20sticking%20with%20Office%20365%20and%20SharePoint%20is%20the%20right%20thing%20to%20do.%20Starting%20to%20wonder%20myself!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDid%20you%20ever%20find%20a%20solution%20or%20acknowledgement%20to%20this%20problem%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20in%20advance!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-153416%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Synchronisation%20issues%20SharePoint%20document%20libraries%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-153416%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20an%20update%3B%20the%20customer%20that%20was%20having%20issues%20with%20SharePoint%20and%20OneDrive%20have%20decided%20to%20scale%20back%20how%20they%20use%20the%20service%20as%20it%20was%20causing%20too%20many%20issues.%20The%20data%20that%20they%20had%20in%20the%20cloud%20has%20now%20been%20moved%20back%20to%20a%20local%20file%20server%20with%20only%20a%20single%20document%20library%20now%20being%20used.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20performed%20some%20additional%20tests%20and%20believe%20that%20the%20issue%20is%20due%20to%20file%20path%20lengths.%20When%20OneDrive%20is%20setup%20for%20the%20SharePoint%20sites%2C%20the%20default%20path%20for%20creation%20is%20'C%3A%5CUsers%5C%25USERNAME%25%5COffice%20365%20Company%20Name%5CSharePoint%20Site%20Name%20-%26nbsp%3BSharePoint%20Document%20Library%20Name'.%20We%20abbreviated%20this%20down%20as%20far%20as%20possible%2C%20but%2C%20before%20adding%20any%20data%20to%20SharePoint%20via%20the%20OneDrive%20client%20we%20were%20finding%20that%20on%20average%2020%20-%2030%20characters%20were%20being%20taken%20by%20this%20portion%20of%20the%20file%20path.%20Before%20any%20data%20was%20moved%20processes%20were%20run%20to%20make%20sure%20that%20the%20data%20fell%20within%20limits%2C%20but%20I%20believe%20that%20data%20was%20copied%20or%20uploaded%20by%20the%20customer%20that%20exceeded%20the%20amount%20of%20characters%20that%20can%20be%20used.%20This%20was%20218%20for%20Excel%20and%20250%20for%20file%20Explorer.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20run%20a%20test%20myself%20today%20and%20if%2C%20through%20File%20Explorer%20or%20Word%2C%20Excel%20etc%20a%20path%20is%20used%20that%20is%20long%20and%20a%20file%20is%20created%20that%20would%20exceed%20the%20250%20character%20limit%20you%20are%20blocked%20from%20either%20creating%20or%20saving%20the%20file.%20However%2C%20if%20you%20copy%20the%20file%20to%20this%20location%20it%20will%20create%20the%20file%20(breaking%20the%20limit)%20and%20synchronise%20to%20SharePoint.%20This%20will%20in%20turn%20then%20try%20to%20synchronise%20to%20the%20other%20clients%20and%20cause%20an%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDue%20to%20the%20naming%20requirements%20for%20this%20customer%20they%20had%20quite%20deep%20folder%20structures%20on%20a%20file%20server.%20This%20was%20not%20a%20problem%20when%20on%20a%20file%20server%20as%20they%20started%20with%20a%20drive%20letter%2C%20M%3A%5CFOLDER%20etc.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20did%20try%20running%20the%20Office%20diagnostic%20tools%20and%20each%20time%20the%20OneDrive%20client%20passed%20all%20checks.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHopefully%20for%20future%20versions%20of%20the%20client%20the%20fact%20that%20files%20can%20be%20copied%20in%20and%20break%20the%20file%20path%20limits%20may%20be%20resolved%20as%20I%20think%20that%20this%20will%20resolve%20the%20issues%20that%20I%20have%20seen.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-147267%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Synchronisation%20issues%20SharePoint%20document%20libraries%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-147267%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%2C%20thanks%20for%20taking%20the%20time%20to%20respond.%20Hopefully%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181%22%20target%3D%22_blank%22%3E%40Stephen%20Rice%3C%2FA%3E%26nbsp%3Bor%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F33926%22%20target%3D%22_blank%22%3E%40Stephen%20Rose%3C%2FA%3E%26nbsp%3Bmay%20have%20heard%20of%20these%20issues%20or%20if%20not%20be%20able%20to%20point%20me%20in%20the%20right%20direction%20to%20get%20these%20issues%20resolved%20for%20our%20customers.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-147011%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Synchronisation%20issues%20SharePoint%20document%20libraries%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-147011%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181%22%20target%3D%22_blank%22%3E%40Stephen%20Rice%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F33926%22%20target%3D%22_blank%22%3E%40Stephen%20Rose%3C%2FA%3E%26nbsp%3Bmight%20help%20here.%20I%20have%20not%20encountered%20myself%20the%20problems%20you%20are%20reporting%20here%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I have spoken with Microsoft Support about a couple of issues with Windows 10 and the OneDrive Next Generation Synchronisation client. However, they were unable to assist as they could not figure out what the issue is.

 

I have two customers both running Windows 10 exclusively with version 1709 build 16299.192. Both are using the latest OneDrive client 17.3.7131.1115 (though as I write this some are updating to 17.3.7294.0108) with the files on-demand feature enabled. They are synchronising OneDrive from Office 365 and SharePoint document libraries.

 

The first issue we are having is that intermittently the SharePoint document libraries will remove themselves from the OneDrive client. I have seen this happen and looks automated as a Windows 10 notification will appear in the action centre to say that the document library has been deleted. As this happens without warning it is causing issues as the orphaned folder structure is still accessible through File Explorer along with any files that have been worked on by the person on that PC. If it is spotted quickly it can be resolved fairly easily as re-synchronising the library adds it straight back into OneDrive and the synchronisation then works OK.

 

It is not always the same SharePoint library that disconnects and it can be from any of the people in the business at any time. I even added the libraries to my PC (I use a document library from a separate Office 365 tenant without issue) and replicated the issue.

 

The second issue is that on a PC that is fully synchronised if it is shutdown for a couple of weeks (as can happen for annual leave etc) and folders / files are deleted from SharePoint online, when the device reconnects OneDrive assumes that the PC is the correct source and synchronises the deleted folders and files back to SharePoint. This has caused a few head scratching moments for the customer as to where previously removed data is appearing from.

 

I am posting here in the hope that someone from the OneDrive dev team may see the post and confirm if these issues are known about or if there may be a fix on the horizon.

7 Replies
Highlighted

@Stephen Rice and @Stephen Rose might help here. I have not encountered myself the problems you are reporting here

Highlighted

@Juan Carlos González Martín, thanks for taking the time to respond. Hopefully @Stephen Rice or @Stephen Rose may have heard of these issues or if not be able to point me in the right direction to get these issues resolved for our customers.

Highlighted

As an update; the customer that was having issues with SharePoint and OneDrive have decided to scale back how they use the service as it was causing too many issues. The data that they had in the cloud has now been moved back to a local file server with only a single document library now being used.

 

I have performed some additional tests and believe that the issue is due to file path lengths. When OneDrive is setup for the SharePoint sites, the default path for creation is 'C:\Users\%USERNAME%\Office 365 Company Name\SharePoint Site Name - SharePoint Document Library Name'. We abbreviated this down as far as possible, but, before adding any data to SharePoint via the OneDrive client we were finding that on average 20 - 30 characters were being taken by this portion of the file path. Before any data was moved processes were run to make sure that the data fell within limits, but I believe that data was copied or uploaded by the customer that exceeded the amount of characters that can be used. This was 218 for Excel and 250 for file Explorer.

 

I have run a test myself today and if, through File Explorer or Word, Excel etc a path is used that is long and a file is created that would exceed the 250 character limit you are blocked from either creating or saving the file. However, if you copy the file to this location it will create the file (breaking the limit) and synchronise to SharePoint. This will in turn then try to synchronise to the other clients and cause an issue.

 

Due to the naming requirements for this customer they had quite deep folder structures on a file server. This was not a problem when on a file server as they started with a drive letter, M:\FOLDER etc.

 

We did try running the Office diagnostic tools and each time the OneDrive client passed all checks.

 

Hopefully for future versions of the client the fact that files can be copied in and break the file path limits may be resolved as I think that this will resolve the issues that I have seen.

 

 

 

Highlighted

I haven't been able to find anything on this problem but this post is identical to the issue we are currently having.

 

It started a couple of months ago and to start with it was fairly easy to deal with. However the finance department are finding it a bit of nightmare as twice now they have had their finance library disconnect and haven't notice. This has caused chaos as they will have both worked in the OneDrive folders on their machines making a resync a very messy task. This has caused them to lose a lot of faith in the system as they feel they are always looking over their shoulder with it to check its syncing. 

 

This has been pretty sporadic for other users too with a spate about a month ago.

 

However there doesn't seem to be any obvious solution. The users are currently using Windows 10 1703 so haven't got the latest OneDrive version with files on demand.

 

I am having a hard time convincing people that sticking with Office 365 and SharePoint is the right thing to do. Starting to wonder myself!

 

Did you ever find a solution or acknowledgement to this problem?

 

Thanks in advance!

 

 

Highlighted

Thanks @Steven Wicks and @Ryan Cracknell sharing your experiencies of sync issues with Sharepoint document libraries.

 

Our Finance department (~40 users) has already SPO site in use and now they were thinking syncing some of the document libraries to their laptops, but now reading your experiences I am little worried about the strange sporadic issues we might face.

 

With the old sync client we had some very nasty cases of sync errors/problems and it took long hours to fix the issues and recover the important files. Since then we have advised our users in our company that SPO document libraries should not be synced ("For online use only"), but syncing private ODfB library is ok.

Highlighted

@Teemu Strand I understand your hesitation. We have had it a lot recently and the sync client isn't the fastest at resyncing a lot of files which is rather frustrating.

 

We only have 2 users who are currently having the biggest issue with OneDrive. However they probably do the most in terms of sharing a single SPO library. The problem is if a sync drops out on one of their machines and they don't notice, it becomes a very messy and time consuming process trying to match up the most recent files from each.

 

We have tried to push the 'Online only use' but they really don't get on well with accessing everything via a web browser. Only today I have just had one of them call with an issue where a handful of new files they have created on their machine are just sat there in the 'Processing' stage and have been since 08:00 this morning. I can understand their frustration but I have no answer for them other than 'Just leave it running and it will update . . . eventually' But I have no reason to give them of why this is the case.

 

Generally OneDrive for Business drives have been ok. They have dropped out but due to the fact that really only one user is using them the chances of files mismatching are small. However shared SharePoint libraries are a mine field of problems when synced to multiple machines and users.

 

My next step was to start using Windows 10 1709 which allows the use of 'Files on demand' in OneDrive rather than having to sync everything straight off. At least with this users are only downloading files they use so if a sync problem occurs it will only effect a small amount of files, in theory. (fingers crossed)

Highlighted

Apologies for not replying sooner.

 

From my findings with the OneDrive client, I am convinced that the issues that our customer was experiencing was due to the file and folder paths exceeding limits. I have no proof of this from log files etc as nothing gets reported, but hope this helps.

 

Even though I explained the finite limit of the file and folder path could not exceed 250 characters or 218 for Excel files, they would regularly name folders and files in such a way that this limit would be exceeded. I ran some tests myself and it is surprisingly easy to do.

 

When running the Microsoft Office 365 analyzer tools on the data once it synchronised, it showed no errors. However, I could run a script against the data and review as a CSV in Excel to show that data broke the limits. I think that intermittently the client would realise this and just stop working rather than flag an error when trying to synchronise the data to say that a rule had been broken.

 

We have another customer (both are in the building trade so use similar naming conventions) and they intermittently have the same issue. They are happy to workaround this by using the OneDrive app from the Microsoft Store which works well, minus being able to integrate into File Explorer.

 

On a personal note; I have synchronised my own OneDrive data and a SPO library that is in use at our business on several PCs and to this day have never had this issue. Side loading the customers OneDrive on the same PC I experienced the drop in synchronisation (and co-incidentally so did several of the staff at the customer site at exactly the same time, though not all).

 

One of our customers grew too frustrated by the issue and decided to move back to hosting the data on their server and using VPN connectivity to access remotely. Our other customer is persevering with OneDrive and for the moment is happy to work with us to resolve. I am going down the data route to fix, but due to Microsoft not being able to find anything, is best guess on my-part.

 

Hopefully my experience may help you.