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:
Be careful and download the preview version of the cmdlets that has, unexpectedly, a lower version than the general available one:
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="email@example.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="firstname.lastname@example.org" $sGroupClassification="General Usage" Set-UnifiedGroup $GroupEMail -Classification $sGroupClassification
Finally, just verify that the classification settings are shown in the update group.