SOLVED

OneDrive Known Folders with other redirects

%3CLINGO-SUB%20id%3D%22lingo-sub-2359874%22%20slang%3D%22en-US%22%3EOneDrive%20Known%20Folders%20with%20other%20redirects%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2359874%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20and%20greetings%20from%20Portugal!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe're%20thinking%20about%20implementing%20the%20OneDrive%20%22known%20folders%22%20GPO%20to%20move%20desktop%2C%20documents%20and%20favorites%20to%20OneDrive%20but...at%20this%20moment%20we%20already%20have%20a%20GPO%20implemented%20for%20My%20Documents%20redirection.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EDoes%20anyone%20knows%20how%20this%20will%20work%3F%20Do%20I%20need%20to%20remove%20the%20My%20Documents%20redirection%20first%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20Regards%2C%3C%2FP%3E%3CP%3EDiogo%20Sousa%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2359874%22%20slang%3D%22en-US%22%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-2370986%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Known%20Folders%20with%20other%20redirects%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2370986%22%20slang%3D%22en-US%22%3EIt%20depends%20on%20how%20you%20have%20folder%20redirection%20setup.%20If%20your%20folder%20redirection%20GPO%20has%20a%20valid%20target%20and%20is%20applied%20to%20the%20same%20user%20who%20has%20KFM%20targeted%2C%20the%20GPO%20will%20always%20take%20precedence%20and%20OneDrive%20will%20error%20saying%20the%20known%20folders%20are%20already%20being%20redirected.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20way%20we%20did%20it%20was%20we%20were%20redirecting%20the%20users%20folders%20to%20%22%25HOMESHARE%25%25HOMEPATH%25%20which%20would%20depend%20on%20them%20having%20a%20homepath%20set%20in%20Active%20Directory%2C%20and%20when%20we%20wanted%20to%20move%20them%20to%20OneDrive%2C%20we%20would%20remove%20the%20homepath%20in%20AD%20which%20would%20then%20allow%20OneDrive%20KFM%20to%20take%20over.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2371102%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20Known%20Folders%20with%20other%20redirects%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2371102%22%20slang%3D%22en-US%22%3EHi%20Rhys%20and%20tks%20for%20your%20reply.%3CBR%20%2F%3EBut...how%20did%20you%20managed%20the%20documents%20the%20user%20had%20at%20%25HOMESHARE%25%25HOMEPATH%25%3F%3C%2FLINGO-BODY%3E
Contributor

Hello and greetings from Portugal!

 

We're thinking about implementing the OneDrive "known folders" GPO to move desktop, documents and favorites to OneDrive but...at this moment we already have a GPO implemented for My Documents redirection.


Does anyone knows how this will work? Do I need to remove the My Documents redirection first?

 

Best Regards,

Diogo Sousa

8 Replies
It depends on how you have folder redirection setup. If your folder redirection GPO has a valid target and is applied to the same user who has KFM targeted, the GPO will always take precedence and OneDrive will error saying the known folders are already being redirected.

The way we did it was we were redirecting the users folders to "%HOMESHARE%%HOMEPATH% which would depend on them having a homepath set in Active Directory, and when we wanted to move them to OneDrive, we would remove the homepath in AD which would then allow OneDrive KFM to take over.
Hi Rhys and tks for your reply.
But...how did you managed the documents the user had at %HOMESHARE%%HOMEPATH%?
best response confirmed by Diogo Sousa (Contributor)
Solution
We migrated in bulk using the SharePoint Migration Tool. You can build a relatively simple script to get a list of all user's OneDrive urls and their homepaths into a csv which you can then import to SPMT to upload.
Oh I see!
That seems a good way to do this! Tks Rhys
The newer versions of the OneDrive sync client will leverage KFM to migrate the files from the existing redirected UNC path and get the files to the cloud. It will also override the folder redirection back to the c: user\OneDrive folder
Hi Lou,

Which...new versions? And when? :)
Diogo, it's been around for 6-12 months at this point. The OneDrive feature is called "cross volume moves" - you can see it here: https://techcommunity.microsoft.com/t5/microsoft-onedrive-blog/top-5-tips-for-efficiently-deploying-... and this article https://docs.microsoft.com/en-us/onedrive/redirect-known-folders (at bottom) refers to steps to take to implement.
Hi Lou! Thanks for the help! I'll give it a look