Office 365: How to add classification settings to Office 365 Groups!

As you surely know, it’s currently possible to add classification settings to Office 365 Groups by using a classification list. To add this classification list, you will need to execute some PowerShell cmdlets as I will show you in this article:

  • You will have to download the preview version of the Azure Active Directory Module for Windows PowerShell from the following URL:

http://connect.microsoft.com/site1164/Downloads/DownloadDetails.aspx?DownloadID=59185

  • Be careful and download the preview version of the cmdlets that has, unexpectedly, a lower version than the general available one:

image

  • Once you have installed the cmdlets, execute the following PowerShell script that allows to create a classification list for Office 365 Groups in your tenant:
$sUserName="jcgonzalez@nuberosnet.onmicrosoft.com"
$sMessage="Introduce your O365 Credentials"
$Cred=Get-Credential -UserName $sUserName -Message $sMessage

#Classification List
$GroupsSettingsID = (Get-MsolAllSettings -TargetType Groups).ObjectID 
$GroupsExistingSettings = Get-MsolSettings -SettingId $GroupsSettingsID 
$GroupsConfigurationValues = $GroupsExistingSettings.GetSettingsValue()
$GroupsConfigurationValues["UsageGuidelinesUrl"] = "http://office365exchange.com/GroupGuidelines.html"
$GroupsConfigurationValues["ClassificationList"] = "General Usage, External Access, Internal Only, Confidential"
Set-MsolSettings -SettingId $GroupsSettingsID  -SettingsValue $GroupsConfigurationValues
  • Once the list is created, you are almost done and only need to configure an existing Group to use the classification list you have just created. To do this, simply execute the following PowerShell script that updates an existing group with the classification list using the Set-UnifiedGroup cmdlet:
$PSSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $Cred -Authentication Basic -AllowRedirection
Import-PSSession $PSSession
$GroupEMail="nubclassificationgroup@nuberos.es"
$sGroupClassification="General Usage"
Set-UnifiedGroup $GroupEMail -Classification $sGroupClassification
  • Finally, just verify that the classification settings are shown in the update group.

image

References:

Anuncios

Un pensamiento en “Office 365: How to add classification settings to Office 365 Groups!

  1. Pingback: SharePoint & Office 365: Resumen de posts (XVI)! | 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 )

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