Forum Discussion
Root folder for OneDrive synced SP libraries - custom name?
I am migrating local network shares to SharePoint libraries that are meant to be synchronized to local devices via OneDrive. I will use Intune policy to auto sync set of libraries. When libraries are synced they are saved in the path as below:
C:\Users\ExampleUsername\Example Company Limited\Actual Site - Documents
In the navigation bar it looks something like this:
Is it possible to set a custom name for the Company folder without actually renaming the Entra ID tenant name?
I tried the policy that sets a custom OneDrive sync folder by setting the below reg key. This worked for OneDrive sync root folder but the SharePoint sync folder remained unchanged.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive\CustomSyncRootFolderName
Background to my question:
Portion of data that is to be migrated has long paths. Once synced via OneDrive I will be facing long path errors due to Windows Explorer limitation that can only handle paths under 260 characters long. Based on my testing the files will stil sync and be "browsable" but users won't be able to open them or modify.
I want to shorten the SP sync root folder name to reduce the full path to under 260 characters. The below example path is 72 characters long which takes a significant chunk of 260 characters that Windows Explorer can handle.
C:\Users\ExampleUsername\Example Company Limited\Actual Site - Documents
I am already looking at renaming folders and libraries and flattening the data structure but there is a limit to what I can acheive there due to the client requirements. As such I am trying to trim path lenght whenever I can.