It took a while, but OneDrive Sync can now sync files that contain # and %. Microsoft has decided not to roll this out to all tenants yet, but administrators can now enable this for their Sharepoint sites and OneDrive for Business users.
Take these steps (just enabled this for a bunch of clients, without problems), and feel that freedom!
Install the latest version of PowerShell.
Firstly, connect to your Office 365 Sharepoint with Powershell (Microsoft, n.d.):
$adminUPN=”<the full email address of a SharePoint Online global administrator account, example: [email protected]>”
$orgName=”<name of your Office 365 organization, example: contosotoycompany>”
$userCredential = Get-Credential -UserName $adminUPN -Message “Type the password.”
Connect-SPOService -Url https://$orgName-admin.sharepoint.com -Credential $userCredential
You’ll be prompted for the password. Fill it out.
Now check if you’re properly connected by typing Get-SPOSite. If it shows your SharePoint sites, you’re connected.
Now you’re ready to give that magic command!
Set-SPOTenant -SpecialCharactersStateInFileFolderNames Allowed
Changes take time to propagate, you’ll have to restart your OneDrive client, but then you’ll be free like a bird.
Microsoft, n.d., Connect to a SharePoint Online Powershell. Viewed on 04-09-2017 19:48 from https://technet.microsoft.com/en-us/library/fp161372.aspx