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:

image

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  https://www.microsoft.com/en-us/download/details.aspx?id=35588 )

$sUserName="jcgonzalez@nuberosnet.onmicrosoft.com"
$sMessage="Type your Office 365 Credentials"
$O365Credentials = Get-Credential -UserName $sUserName -Message $sMessage
$SPOAdminUrl="https://nuberosnet-admin.sharepoint.com"
Connect-SPOService -Credential $O365Credentials -Url $SPOAdminUrl

$O365SPOTenant=Get-SPOTenant
$O365SPOTenant.SpecialCharactersStateInFileFolderNames 

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.

image

Anuncios

2 pensamientos en “Office 365: How to add support to # and % characters in SPO and ODFB!

  1. Pingback: SharePoint & Office 365: Resumen de posts (XXI)! | Pasión por la tecnología...

  2. Pingback: SharePoint & Office 365: Compilation of blog posts (V)! | Pasión por la tecnología...

Responder

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

Logo de WordPress.com

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

Google+ photo

Estás comentando usando tu cuenta de Google+. 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 )

w

Conectando a %s