Error code 0x80070185 - When opening Sharepoint files via OneDrive for Business

%3CLINGO-SUB%20id%3D%22lingo-sub-378800%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-378800%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20noticed%20these%20posts%20with%20the%20same%20issue%20and%20similar%20error%20code.%20Apparently%20is%20not%20new%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOneDrive-for-Business%2FFiles-on-Demand-The-Cloud-sync-engine-failed-to-validate-the%2Ftd-p%2F128918%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOneDrive-for-Business%2FFiles-on-Demand-The-Cloud-sync-engine-failed-to-validate-the%2Ftd-p%2F128918%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-504641%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-504641%22%20slang%3D%22en-US%22%3Esame%20here%3CBR%20%2F%3Ewe%20have%20a%20client%20where%20numerous%20users%20are%20reporting%20this%20error%3CBR%20%2F%3ENot%20all%20having%20files%20on%20demand%20enabled%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-507211%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-507211%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F2521%22%20target%3D%22_blank%22%3E%40Philine%20von%20Guretzky%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20problem%20here%20and%20a%20bit%20frustrering%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETried%3A%3C%2FP%3E%3CP%3EReinstall%20Onedrive%20client%3C%2FP%3E%3CP%3EClean%20tool%3C%2FP%3E%3CP%3EReinstall%20Office%20365%20(desktop%20clients)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-507230%22%20slang%3D%22en-US%22%3ERE%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-507230%22%20slang%3D%22en-US%22%3EI%20have%20a%20theory%20that%20it%20might%20be%20the%20amount%20of%20data%20customer%20has..%20I%20can%20reproduce%20the%20issue%20on%20my%20computer%20here%20but%20only%20this%20customer.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-645173%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-645173%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20All.%26nbsp%3B%20I%20had%20the%20same%20issue.%26nbsp%3B%20After%20a%20few%20days%20of%20troubleshooting%20I%20developed%20a%20fix.%26nbsp%3B%20You%20essentially%20need%20to%20open%20each%20file%20in%20the%20cloud%20and%20get%20people%20to%20restart%20their%20OneDrive%20client.%26nbsp%3B%20Opening%20the%20file%20triggers%20the%20repair.%20Below%20is%20my%20findings.%26nbsp%3B%20I%20included%20a%20fix%20at%20the%20bottom.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EEffected%20Files%3A%26nbsp%3B%3C%2FSTRONG%3EOnly%20Office%20files%20that%20were%20migrated%20from%20network%20drives%20using%20the%20SharePoint%20migration%20tool%20(likely%20''SharePoint%20Migration%20Tool%20Public%20Preview).%26nbsp%3B%20Confirmed%20it%20affects%20old%20legacy%20office%20files%20(.doc%2C%20.xls%2C%20etc...)%20and%20new%20(docx.%2C%20xlsx%2C%20etc...).%26nbsp%3B%20Does%20not%20happen%20with%20PDFs.%26nbsp%3B%20I%20can%20consistently%20reproduce%20the%20problem%20on%20multiple%20sites%20and%20with%20multiple%20computers%2Fusers%20but%20only%20on%20files%20migrated%20using%20the%20tool.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ETroubleshooting%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E-Most%20of%20the%20time%20pressing%20retry%201-3%20times%20works.%26nbsp%3B%20The%20file%20then%20open%20successfully%20even%20if%20it's%20loaded%20back%20to%20the%20cloud%20and%20re-downloaded.%26nbsp%3B%20Noticed%20the%20file%20sometimes%20gets%20~2kb's%20bigger%20as%20soon%20as%20you%20open%20it%20for%20the%20first%20time%20(right%20after%20file%20is%20downloaded%20before%20it%20opens%20in%20Office).%26nbsp%3B%20Opening%20it%20a%20second%20time%20only%20fixes%20it%20for%20the%20local%20computer.%26nbsp%3B%20The%20file%20is%20fixed%20on%20all%20computers%20as%20soon%20as%20it%20is%20modified%20and%20uploaded%20back%20to%20the%20cloud.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Confirmed%20it%20was%20not%20anti-virus.%26nbsp%3B%20Uninstalled%20Vipre%20and%20issue%20still%20happened.%26nbsp%3B%26nbsp%3BI%20have%20noticed%20that%20Vipre%20crashes%20sometimes%20after%20the%20OneDrive%20error%20message.%26nbsp%3B%20Replicated%20issue%20on%20two%20computers.%26nbsp%3B%20Uninstalling%20Vipre%20does%20not%20fix%20OneDrive%20error.%26nbsp%3B%20Confirm%20Vipre%20crashing%20is%20a%20separate%20known%20issue%20(VPBAGENT-3652%20-%20Microsoft%20OneDrive%20users%20could%20encounter%20a%20VIPRE%20service%20crash%20when%20attempting%20to%20access%20OneDrive%20documents.%26nbsp%3Blink)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Confirm%20issue%20still%20occurs%20on%20other%20wifi%20networks.%26nbsp%3B%20Confirmed%20it%20happens%20on%20wired%20and%20wireless%20connection.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Confirmed%20it%20happens%20with%20small%20and%20large%20files%20(22%20KB%20-%2025%2B%20MB).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Confirmed%20issue%20is%20happening%20on%20latest%20OneDrive%20version%26nbsp%3B19.070.0410.0005.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Confirmed%20issue%20happens%20on%20sites%20where%20all%20the%20default%20library%20settings%20are%20kept%20(no%20special%20columns%20or%20metadata).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%26nbsp%3BStarted%20re-index%20of%20document%20library.%26nbsp%3B%20Checked%2024%2B%20hours%20later%20and%20confirmed%20issue%20is%20still%20occurring.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%26nbsp%3BConfirmed%26nbsp%3Bpreviewing%26nbsp%3Bthe%20file%20in%20SharePoint%20Online%20does%20not%20trigger%20the%20file%20size%20increase%2Ffix%20it.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe%20following%20steps%20appear%20to%20fix%20the%20problem%20on%20an%20individual%20file%2Ffolder%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3EOpening%20the%20file%20AND%20modifying%20it%20(desktop%20or%20Online).%26nbsp%3B%26nbsp%3BProblem%20is%20it%20updates%20the%20last%20modified%20date%2Fauthor%20as%20well%20so%20solution%20is%20not%20feasible.%3C%2FLI%3E%3CLI%3EModifying%20any%20file%20properties%2Fcolumn%20on%20SharePoint%20Online.%26nbsp%3B%20Problem%20is%20it%20updates%20the%20last%20modified%20date%2Fauthor%20as%20well.%3C%2FLI%3E%3CLI%3EMoving%20the%20folder%20to%20a%20different%20library%20and%20moving%20it%20back%20appears%20to%20resolve%20the%20issue.%26nbsp%3B%20Moving%20also%20triggers%20the%20file%20size%20increase.%26nbsp%3B%20Only%20problem%20is%20it%20is%20very%20time%20intensive.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EHere%20is%20what%20I%20did%20to%20fix%20the%20problem%20on%20our%20sites%20without%20having%20to%20move%20any%20files%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EOpen%20the%20document%20library%20in%20Internet%20Explorer.%26nbsp%3B%20Use%20the%20%E2%80%98View%20in%20File%20Explorer%E2%80%99%20feature.%26nbsp%3B%20Map%20the%20site%20library%20as%20a%20network%20drive.%3C%2FLI%3E%3CLI%3EUse%20PowerShell%20to%20loop%20through%20all%20documents%20in%20the%20library%20and%20read%20the%20first%20line%20(see%20below).%26nbsp%3B%20This%20triggers%20the%20file%20repair%20in%20the%20cloud.%3C%2FLI%3E%3CLI%3EHave%20people%20reboot%20their%20computers%20or%20restart%20OneDrive%20sync%20client.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CBR%20%2F%3EGet-ChildItem%26nbsp%3B-Path%26nbsp%3B'INSERT%20MAPPED%20DRIVE%20HERE'%26nbsp%3B-Include%26nbsp%3B%22*.xls*%22%2C%22*.doc*%22%2C%22*.ppt*%22%26nbsp%3B-Recurse%26nbsp%3B%7C%26nbsp%3BForEach-Object%26nbsp%3B%7B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%24_.FullName%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3BGet-Content%26nbsp%3B-Path%26nbsp%3B%24_.FullName%26nbsp%3B-first%26nbsp%3B1%26nbsp%3B%7C%26nbsp%3BOut-Null%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEnd%20result%20is%20people%20no%20longer%20get%20the%20error%20message%20and%20I%20didn%E2%80%99t%20need%20to%20move%20the%20files.%26nbsp%3B%20It%20also%20maintains%20all%20file%20properties%20since%20I%20am%20just%20reading%20the%20file.%26nbsp%3B%20Also%20has%20no%20impact%20on%20users%20who%20have%20documents%20open%20so%20it%20can%20be%20run%20during%20office%20hours.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20files%20that%20are%20over%2050%20mb%20you%20may%20need%20to%20modify%20your%20registry%20so%20the%20WebClient%20service%20can%20open%20them.%26nbsp%3B%20Otherwise%20you%20will%20get%20an%20'The%20file%20size%20exceeds%20the%20limit%20allowed%20and%20cannot%20be%20saved.'%20message%20in%20powershell.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.thewindowsclub.com%2Ffile-size-exceeds-limit-allowed-cannot-saved%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.thewindowsclub.com%2Ffile-size-exceeds-limit-allowed-cannot-saved%3C%2FA%3E%3C%2FP%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-695622%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-695622%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20tried%20the%20simple%20fix%20as%20described%20by%20Kevin%20here%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOneDrive-for-Business%2FFiles-on-Demand-The-Cloud-sync-engine-failed-to-validate-the%2Fm-p%2F659246%2Fhighlight%2Ftrue%23M5508%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOneDrive-for-Business%2FFiles-on-Demand-The-Cloud-sync-engine-failed-to-validate-the%2Fm-p%2F659246%2Fhighlight%2Ftrue%23M5508%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20can%20happily%20say%20it%20has%20resolved%20our%20issues.%3C%2FP%3E%3CP%3ESelect%20files%20to%20%22keep%20offline%22%20and%20then%20select%20%22free%20up%20space%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-709328%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-709328%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F262897%22%20target%3D%22_blank%22%3E%40JustinKropp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECame%20back%20here%20to%20follow%20JustinKropp's%20guide%20and%20found%20I%20can%20no%20longer%20reproduce%20the%20error.%20Has%20this%20been%20fixed%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-709344%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-709344%22%20slang%3D%22en-US%22%3EPossibly.%20I%E2%80%99d%20try%20accessing%20the%20migrated%20corrupt%20file(s)%20on%20another%20computer.%20Once%20they%20are%20opened%20locally%20they%20are%20permanently%20fixed%20on%20the%20local%20computer%20(even%20if%20you%20free%20up%20space).%20They%20are%20only%20permanently%20fixed%20on%20all%20computers%20if%20the%20file%20is%20edited%20(aka%20file%20is%20repaired%20and%20OneDrive%20sync%20client%20syncs%20it%20back%20to%20the%20cloud).%20My%20solution%20reads%2Frepairs%20the%20file%20directly%20in%20the%20cloud%20bypassing%20the%20need%20to%20edit%20it.%3CBR%20%2F%3E%3CBR%20%2F%3EHopefully%20your%20right%20and%20Microsoft%20applied%20the%20fix%20for%20users%20automatically%20or%20updated%20their%20sync%20client.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-709450%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-709450%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F262897%22%20target%3D%22_blank%22%3E%40JustinKropp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20believe%20they%20have%2C%20or%20at%20least%20it%20seems%20to%20work%20now.%20When%20we%20first%20encountered%20this%20error%2C%20it%20was%20part%20of%20a%20very%20large%20network%20shared%20drive%20that%20was%20migrated%20with%20the%20MS%20migration%20tool%20-%20the%20clients%20haven't%20been%20accessing%20files%20via%20OneDrive%20yet.%26nbsp%3B%20I%20encountered%20the%20bug%20on%20about%2010%20files%20before%20I%20realised%20it%20was%20site-wide.%26nbsp%3B%20Recent%20testing%2C%20as%20the%20clients%20are%20ready%20to%20move%2C%20in%20directories%20noone%20would%20explore%20to%2C%20I%20have%20not%20been%20able%20to%20duplicate%20the%20error.%26nbsp%3B%20Unfortunately%2C%20I%20only%20have%20this%20one%20site%20to%20test%20with.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-746620%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-746620%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F262897%22%20target%3D%22_blank%22%3E%40JustinKropp%3C%2FA%3E%26nbsp%3B-%20Thanks%20a%20million%20for%20your%20work%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20struggling%20with%20this%20exact%20problem%20for%20around%203%20months%2C%20and%20have%20been%20working%20through%20the%20basic%20steps%20with%20MSFT%20Partner%20Support.%20After%20being%20able%20to%20find%20no%20fault%2C%20their%20position%20was%20%22you%20need%20to%20reduce%20the%20file%20count%20in%20the%20libraries%20and%20only%20sync%20one%20library%22.%20Needless%20to%20say%2C%20that%20wasn't%20an%20acceptable%20solution%20for%20the%20customer.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20being%20pointed%20to%20your%20thread%2C%20I%20ran%20your%20scripts%20against%20the%20relevant%20libraries%20and%20then%20reset%20the%20local%20OneDrive%20cache.%20A%20week%20later%2C%20the%20team%20report%20absolutely%20no%20errors%20trying%20to%20open%20Excel%20files%20from%20the%20library!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20very%20much%20for%20all%20your%20work%20here%2C%20and%20for%20sharing%20your%20analysis%20and%20the%20powershell%20scripts.%20Absolutely%20fantastic.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20ever%20find%20yourself%20in%20northern%20Australia%2C%20the%20beers%20are%20on%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EMatt%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-378592%22%20slang%3D%22en-US%22%3EError%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-378592%22%20slang%3D%22en-US%22%3E%3CP%3ESome%20colleagues%20have%20had%20issues%20for%20a%20week%20now%20accessing%20files%20which%20are%20stored%20on%20SharePoint%20via%20the%20OneDrive%20sync%20App.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20opening%20them%20they%20get%20the%20Error%20code%200x80070185%20(See%20image)%3C%2FP%3E%3CP%3EHitting%20OK%20doesn't%20do%20anything.%20Skip%20opens%20the%20files%20sometimes.%20No%20correlation%20about%20file%20format%20or%20location.%3C%2FP%3E%3CP%3EWe%20reset%20OneDrive%2C%20unlinked%20it%2C%20cleared%20space...%20to%20no%20avail.%20Any%20ideas%3F%3C%2FP%3E%3CP%3EThis%20is%20Windows%2010%20with%20the%20latest%20OneDrive%20release.%20Files%20on%20Demand%20is%20enabled.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-378592%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EStorage%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1061213%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1061213%22%20slang%3D%22en-US%22%3EThanks%20for%20the%20instructions!%20They%20helped!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1498560%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20code%200x80070185%20-%20When%20opening%20Sharepoint%20files%20via%20OneDrive%20for%20Business%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1498560%22%20slang%3D%22en-US%22%3E%3CP%3ETive%20o%20mesmo%20problema%20com%20uma%20pessoa%20na%20rede%20da%20em%20empresa%20onde%20eu%20trabalho.%3C%2FP%3E%3CP%3EAbri%20o%20SP%20no%20navegador%20(qualquer%20um)%20e%20validei%20com%20o%20o%20login%20de%20rede%20do%20colaborador%20da%20empresa%2C%20houve%20um%20sincronismo%20online%20e%20o%20erro%20parou%20de%20ser%20exibido.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Some colleagues have had issues for a week now accessing files which are stored on SharePoint via the OneDrive sync App.

 

When opening them they get the Error code 0x80070185 (See image)

Hitting OK doesn't do anything. Skip opens the files sometimes. No correlation about file format or location.

We reset OneDrive, unlinked it, cleared space... to no avail. Any ideas?

This is Windows 10 with the latest OneDrive release. Files on Demand is enabled.

 

Thanks

12 Replies
Highlighted

Just noticed these posts with the same issue and similar error code. Apparently is not new:
https://techcommunity.microsoft.com/t5/OneDrive-for-Business/Files-on-Demand-The-Cloud-sync-engine-f...

Highlighted
same here
we have a client where numerous users are reporting this error
Not all having files on demand enabled
Highlighted

@Philine von Guretzky 

Same problem here and a bit frustrering :(

 

Tried:

Reinstall Onedrive client

Clean tool

Reinstall Office 365 (desktop clients)

 

Highlighted
I have a theory that it might be the amount of data customer has.. I can reproduce the issue on my computer here but only this customer.
Highlighted

Hello All.  I had the same issue.  After a few days of troubleshooting I developed a fix.  You essentially need to open each file in the cloud and get people to restart their OneDrive client.  Opening the file triggers the repair. Below is my findings.  I included a fix at the bottom.

 

Effected Files: Only Office files that were migrated from network drives using the SharePoint migration tool (likely ''SharePoint Migration Tool Public Preview).  Confirmed it affects old legacy office files (.doc, .xls, etc...) and new (docx., xlsx, etc...).  Does not happen with PDFs.  I can consistently reproduce the problem on multiple sites and with multiple computers/users but only on files migrated using the tool.

 

Troubleshooting:
-Most of the time pressing retry 1-3 times works.  The file then open successfully even if it's loaded back to the cloud and re-downloaded.  Noticed the file sometimes gets ~2kb's bigger as soon as you open it for the first time (right after file is downloaded before it opens in Office).  Opening it a second time only fixes it for the local computer.  The file is fixed on all computers as soon as it is modified and uploaded back to the cloud.

 

- Confirmed it was not anti-virus.  Uninstalled Vipre and issue still happened.  I have noticed that Vipre crashes sometimes after the OneDrive error message.  Replicated issue on two computers.  Uninstalling Vipre does not fix OneDrive error.  Confirm Vipre crashing is a separate known issue (VPBAGENT-3652 - Microsoft OneDrive users could encounter a VIPRE service crash when attempting to access OneDrive documents. link)

 

- Confirm issue still occurs on other wifi networks.  Confirmed it happens on wired and wireless connection.

 

- Confirmed it happens with small and large files (22 KB - 25+ MB).

 

- Confirmed issue is happening on latest OneDrive version 19.070.0410.0005. 

 

- Confirmed issue happens on sites where all the default library settings are kept (no special columns or metadata).

 

- Started re-index of document library.  Checked 24+ hours later and confirmed issue is still occurring.  

 

- Confirmed previewing the file in SharePoint Online does not trigger the file size increase/fix it.  

 

The following steps appear to fix the problem on an individual file/folder:

  • Opening the file AND modifying it (desktop or Online).  Problem is it updates the last modified date/author as well so solution is not feasible.
  • Modifying any file properties/column on SharePoint Online.  Problem is it updates the last modified date/author as well.
  • Moving the folder to a different library and moving it back appears to resolve the issue.  Moving also triggers the file size increase.  Only problem is it is very time intensive.

 

Here is what I did to fix the problem on our sites without having to move any files:

 

  1. Open the document library in Internet Explorer.  Use the ‘View in File Explorer’ feature.  Map the site library as a network drive.
  2. Use PowerShell to loop through all documents in the library and read the first line (see below).  This triggers the file repair in the cloud.
  3. Have people reboot their computers or restart OneDrive sync client.


Get-ChildItem -Path 'INSERT MAPPED DRIVE HERE' -Include "*.xls*","*.doc*","*.ppt*" -Recurse | ForEach-Object {

    $_.FullName

    Get-Content -Path $_.FullName -first 1 | Out-Null

}

 

End result is people no longer get the error message and I didn’t need to move the files.  It also maintains all file properties since I am just reading the file.  Also has no impact on users who have documents open so it can be run during office hours.

 

If you have files that are over 50 mb you may need to modify your registry so the WebClient service can open them.  Otherwise you will get an 'The file size exceeds the limit allowed and cannot be saved.' message in powershell. https://www.thewindowsclub.com/file-size-exceeds-limit-allowed-cannot-saved

 
Highlighted

We have tried the simple fix as described by Kevin here

https://techcommunity.microsoft.com/t5/OneDrive-for-Business/Files-on-Demand-The-Cloud-sync-engine-f...

 

and can happily say it has resolved our issues.

Select files to "keep offline" and then select "free up space"

Highlighted

@JustinKropp 

Came back here to follow JustinKropp's guide and found I can no longer reproduce the error. Has this been fixed?

Highlighted
Possibly. I’d try accessing the migrated corrupt file(s) on another computer. Once they are opened locally they are permanently fixed on the local computer (even if you free up space). They are only permanently fixed on all computers if the file is edited (aka file is repaired and OneDrive sync client syncs it back to the cloud). My solution reads/repairs the file directly in the cloud bypassing the need to edit it.

Hopefully your right and Microsoft applied the fix for users automatically or updated their sync client.
Highlighted

@JustinKropp 

I believe they have, or at least it seems to work now. When we first encountered this error, it was part of a very large network shared drive that was migrated with the MS migration tool - the clients haven't been accessing files via OneDrive yet.  I encountered the bug on about 10 files before I realised it was site-wide.  Recent testing, as the clients are ready to move, in directories noone would explore to, I have not been able to duplicate the error.  Unfortunately, I only have this one site to test with.

Highlighted

@JustinKropp - Thanks a million for your work here.

 

I have been struggling with this exact problem for around 3 months, and have been working through the basic steps with MSFT Partner Support. After being able to find no fault, their position was "you need to reduce the file count in the libraries and only sync one library". Needless to say, that wasn't an acceptable solution for the customer. 

 

After being pointed to your thread, I ran your scripts against the relevant libraries and then reset the local OneDrive cache. A week later, the team report absolutely no errors trying to open Excel files from the library!

 

Thanks very much for all your work here, and for sharing your analysis and the powershell scripts. Absolutely fantastic.

 

If you ever find yourself in northern Australia, the beers are on me.

 

Cheers,

Matt

Highlighted
Thanks for the instructions! They helped!
Highlighted

Tive o mesmo problema com uma pessoa na rede da em empresa onde eu trabalho.

Abri o SP no navegador (qualquer um) e validei com o o login de rede do colaborador da empresa, houve um sincronismo online e o erro parou de ser exibido.