Add user's home drive folder link to newly provisioned OneDrive for Business site

%3CLINGO-SUB%20id%3D%22lingo-sub-2318014%22%20slang%3D%22en-US%22%3EAdd%20user's%20home%20drive%20folder%20link%20to%20newly%20provisioned%20OneDrive%20for%20Business%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2318014%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20a%20part%20of%20the%20M365%20service%20rollout%20program%2C%20we%20are%20enabling%20the%20OneDrive%20service%20for%20all%20employees.%20There%20is%20a%20requirement%20to%20add%20the%20user's%20home%20drives%20'My%20Documents'%20folder%20link%20%2Fshortcut%20in%20the%20user's%20OneDrive%20for%20Business%20site%20so%20that%20the%20user%20gets%20a%20quick%20option%20to%20open%20the%20home%20drive%20folder%20in%20explorer%20view%20and%20then%20the%20user%20can%20do%20copy%20or%20migration%20of%20home%20drive%20documents%20to%20OneDrive.%20Is%20it%20possible%20to%20automate%20adding%20links%20to%20other%20user's%20ODFB%20sites%20with%20SharePoint%20Administrative%20Role%20and%20SCA%20access%20on%20ODFB%20sites%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2318014%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2371048%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20user's%20home%20drive%20folder%20link%20to%20newly%20provisioned%20OneDrive%20for%20Business%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2371048%22%20slang%3D%22en-US%22%3E%40gayatariEnt%20Do%20you%20still%20have%20control%20of%20their%20devices%20with%20group%20policy%20or%20intune%3F%20If%20so%20you%20could%20create%20a%20powershell%20script%20to%20run%20on%20login%20that%20creates%20them%20a%20shortcut%20to%20their%20old%20home%20drive.%20It%20would%20depend%20on%20the%20naming%20convention%20of%20their%20home%20drive%20folder%2C%20you%20could%20map%20the%20shortcut%20to%20%5C%5Cserver%5C%25username%25%20if%20you%20wanted%20it%20to%20dynamically%20work%20per%20user.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20may%20be%20easier%20though%20to%20migrate%20it%20all%20for%20them%20using%20SharePoint%20Migration%20Tool%3F%3C%2FLINGO-BODY%3E
Senior Member

As a part of the M365 service rollout program, we are enabling the OneDrive service for all employees. There is a requirement to add the user's home drives 'My Documents' folder link /shortcut in the user's OneDrive for Business site so that the user gets a quick option to open the home drive folder in explorer view and then the user can do copy or migration of home drive documents to OneDrive. Is it possible to automate adding links to other user's ODFB sites with SharePoint Administrative Role and SCA access on ODFB sites?

1 Reply
@gayatariEnt Do you still have control of their devices with group policy or intune? If so you could create a powershell script to run on login that creates them a shortcut to their old home drive. It would depend on the naming convention of their home drive folder, you could map the shortcut to \\server\%username% if you wanted it to dynamically work per user.

It may be easier though to migrate it all for them using SharePoint Migration Tool?