We couldn't access {folder}. Please make sure this file or folder exists .. Reconfigure OneDrive

%3CLINGO-SUB%20id%3D%22lingo-sub-109536%22%20slang%3D%22en-US%22%3EWe%20couldn't%20access%20%7Bfolder%7D.%20Please%20make%20sure%20this%20file%20or%20folder%20exists%20..%20Reconfigure%20OneDrive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-109536%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20anyone%20know%20what%20causes%20this%20error%20or%20how%20to%20prevent%20this%20error%20message%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMicrosoft%20OneDrive%3C%2FP%3E%3CP%3EWe%20couldn't%20access%20%7Bfolder%7D%3C%2FP%3E%3CP%3EPlease%20make%20sure%20this%20file%20or%20folder%20still%20exists%20in%20this%20location%20and%20restart%20OneDrive%2C%20or%20click%20%22Reconfigure%20OneDrive%22%20to%20setup%20your%20OneDrive%20folder%20again.%3C%2FP%3E%3CP%3EButtons%3A%20'Reconfigure%20OneDrive'%2C%20'Close'%3C%2FP%3E%3CP%3E17.3.6966.0824%20(Win10%201511)%3C%2FP%3E%3CP%3E-----%3C%2FP%3E%3CP%3EBACKGROUND%3A%3C%2FP%3E%3CP%3EWe've%20started%20a%20proof%20of%20concept%20to%20move%20(robocopy)%20users'%20Documents%20folders%20to%26nbsp%3B%24env%3AOneDrive%20and%20then%20redirect%20Personal%20to%20%24env%3AOneDrive.%20During%20this%20testing%20we've%20seen%20this%20error%20twice%20(10%25)%20on%20two%20different%20computers%20(users).%3C%2FP%3E%3CP%3EThe%20scenario%20is%2C%20NGSC%20is%20UpToDate%2C%20we%20use%20Robocopy%20to%20copy%20their%20files%20into%20%24env%3AOneDrive.%20In%20the%20middle%20of%20the%20Robocopy%20we'll%20receive%20a%20NGSC%20pop-up%20window%20with%20the%20above%20error%20message%20and%20Robocopy%20displays%20an%20%22Access%20is%20denied'%20error%20message%20but%20continues.%26nbsp%3BIf%20we%20click%20Close%2C%20the%20NGSC%20basically%20performs%20an%20Unlink%20and%20closes.%26nbsp%3BIf%20we%20click%20Reconfigure%20OneDrive%2C%20we%20get%20the%20NGSC%20sign%20in%20screen%20to%20perform%20a%20setup.%20This%20seems%20like%20a%20bug.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20initial%20WAG%20is%20the%20NGSC%20is%20trying%20to%20access%20the%20file%20or%20folder%20while%20Robocopy%20still%20is%20completing%20the%20write%20-%20race%20condition%20-%20NGSC%20crashes.%20Has%20anyone%20seen%20this%20before%3F%20Any%20ideas%20on%20ways%20to%20resolve%20--%20it's%20problematic%20for%20us%20since%20we've%20trying%20to%20automate%20a%2010%2C000%2B%20user%20migration.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20would%20be%20nice%20if%20there%20were%20a%20posh%20cmd%20to%20pause%20NGSC%20while%20we%20copy%20the%20files%20into%20%24env%3AOneDrive.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%2C%20-James%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-109536%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-111858%22%20slang%3D%22en-US%22%3ERe%3A%20We%20couldn't%20access%20%7Bfolder%7D.%20Please%20make%20sure%20this%20file%20or%20folder%20exists%20..%20Reconfigure%20OneDrive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-111858%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20problem%20just%20took%20a%20turn%20for%20the%20worse.%26nbsp%3B%20We%20recently%20enabled%20GPO%20settings%20to%20set%20the%20default%20sync%20folder%20location%20to%20c%3A%5Cusers%5Cuserid%5C%7Btenant%7D%5Conedrive%20-%20%7Btenant%7D%2C%20but%20most%20of%20our%20users%20are%20still%20using%20the%20default%20location%26nbsp%3Bc%3A%5Cusers%5Cuserid%5Conedrive%20-%20%7Btenant%7D.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20means%20that%20if%20the%20sync%20client%20crashes%20while%20we're%20migrating%20files%20into%20their%20C%3A%20%24env%3Aonedrive%20folder%2C%20the%20reconfigure%2Fclose%20option%20will%20force%20the%20user%20to%20setup%20sync%20which%20means%20the%20sync%20client%20will%20use%20the%20new%20GPO%20enforced%20path.%20Which%20means%20the%20files%20we%20just%20copied%20into%20their%20original%20%24env%3Aonedrive%20location%20are%20effectively%20lost%20because%20the%20client%20crashes%20before%20it%20has%20synced%20the%20files%20up%20to%20web%20OneDrive.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHelp!%20thx%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Does anyone know what causes this error or how to prevent this error message?

 

Microsoft OneDrive

We couldn't access {folder}

Please make sure this file or folder still exists in this location and restart OneDrive, or click "Reconfigure OneDrive" to setup your OneDrive folder again.

Buttons: 'Reconfigure OneDrive', 'Close'

17.3.6966.0824 (Win10 1511)

-----

BACKGROUND:

We've started a proof of concept to move (robocopy) users' Documents folders to $env:OneDrive and then redirect Personal to $env:OneDrive. During this testing we've seen this error twice (10%) on two different computers (users).

The scenario is, NGSC is UpToDate, we use Robocopy to copy their files into $env:OneDrive. In the middle of the Robocopy we'll receive a NGSC pop-up window with the above error message and Robocopy displays an "Access is denied' error message but continues. If we click Close, the NGSC basically performs an Unlink and closes. If we click Reconfigure OneDrive, we get the NGSC sign in screen to perform a setup. This seems like a bug.

 

My initial WAG is the NGSC is trying to access the file or folder while Robocopy still is completing the write - race condition - NGSC crashes. Has anyone seen this before? Any ideas on ways to resolve -- it's problematic for us since we've trying to automate a 10,000+ user migration.

 

It would be nice if there were a posh cmd to pause NGSC while we copy the files into $env:OneDrive.

 

Thanks in advance, -James

 

 

1 Reply
Highlighted

This problem just took a turn for the worse.  We recently enabled GPO settings to set the default sync folder location to c:\users\userid\{tenant}\onedrive - {tenant}, but most of our users are still using the default location c:\users\userid\onedrive - {tenant}.

 

This means that if the sync client crashes while we're migrating files into their C: $env:onedrive folder, the reconfigure/close option will force the user to setup sync which means the sync client will use the new GPO enforced path. Which means the files we just copied into their original $env:onedrive location are effectively lost because the client crashes before it has synced the files up to web OneDrive.

 

Help! thx