Office 365: How to enable the HTML Field Security link in modern SPO sites!

By default, Modern SharePoint Online (SPO) Sites do not provide the “HTML Field Security” link in the site settings page. This link allows to add new external Urls on iFrames added to SPO pages:

image 

In order to enable this link in a modern SPO Site, you only need to execute the following PowerShell script:

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

$sModernSPOSite="https://<O365Domain>.sharepoint.com/sites/<ModernSPOSite>"
Set-SPOSite $sModernSPOSite -DenyAddAndCustomizePages $false 

Once you execute the script in the SharePoint Online Management Shell, you will see the HMTL Field security link in the site settings page.

image

Anuncios

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 )

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