Office 365: How to add support to # and % characters in SPO and ODFB!

By default, it’s not possible to upload files to SharePoint Online (SPO) and OneDrive for Business (ODFB) that contains # and % characters on their names:


Fortunately, by means of PowerShell we can add support to those characters by running the following PowerShell Script (Note: Bear in mind that you will need to have installed latest version of the SharePoint Online Management Shell available in the following link )

$sMessage="Type your Office 365 Credentials"
$O365Credentials = Get-Credential -UserName $sUserName -Message $sMessage
Connect-SPOService -Credential $O365Credentials -Url $SPOAdminUrl


Set-SPOTenant -SpecialCharactersStateInFileFolderNames Allowed

If you run the Script, wait some time and try to upload again files using # and % characters, you will successfully upload those files by using SPO and ODFB UI.




Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s