Today I got a chance to test the new feature I (or rather the end-users) have been waiting for: the support for # and ? characters in filenames. I've talked to numerous of users who has had to rename all their files when on-boarding or migrating to OneDrive for Business. The solution is being rolled out to existing O365-customers over the next couple of months and consists of a Powershell-command.
First of all you probably need to update your SharePoint Online Management Shell, which can be found here: https://www.microsoft.com/en-us/download/details.aspx?id=35588.
Then all you really need to do is the following line of Powershell:
Set-SPOTenant -SpecialCharactersStateInFileFolderNames Allowed after you have connected to your tenant. Here's the full snippet to do that:
$adminUPN="firstname.lastname@example.org" $orgName="tenantname" $userCredential = Get-Credential -UserName $adminUPN -Message "Type the password." Connect-SPOService -Url https://$orgName-admin.sharepoint.com Set-SPOTenant -SpecialCharactersStateInFileFolderNames Allowed
All you need to now is to wait a couple of hours for the changes to propagate throughout the tenant.
Enjoy syncing your # and ? documents ;)