In Microsoft Office 365 gibt es die Groups Klassifizierung (Engl. „Classification“), das im wesentlichen ein neues Feld ist. Dieses ist standardmäßig erstmal leer. Auch in den Teams wird die Klassifizierung angezeigt (die Teams ja eine Group erstellt).
Es handelt sich dabei um reine Metadaten, die gesetzt werden können. Die Idee ist es, dies mit DLP Regeln zu integrieren. Außerdem ist es für den Benutzer schon mal ein optischer Hinweis, welche Art von Daten sich in dieser Website befinden (z.B. Confidential/Restricted/Internal use/Public):

Zum Zeitpunkt der Erstellung des Artikels, gab es noch Verwirrung mit den verschiedenen PowerShell Modulen. Die alte Welt „MSOnline / MSol“ (Get-MsolAllSettings) hatte die Befehle nicht mehr, und die neue Welt „AzureAD“ (Get-AzureADDirectorySetting) auch nicht, obwohl offiziell dokumentiert.
Die Lösung, die AzureADPreview (2.0.0.154) enthält die entsprechenden cmdlets, die ich hier verwende.
Tenant Konfiguration
Um die Groups Klassifizierung im Mandanten zu aktivieren, müssen als erstes die verfügbaren Werte der Klassifizierung gesetzt werden. Diese steht dann global im Tenant zur Verfügung und muss alle Werte beinhalten.
AzureAD Modul installieren
Als erstes das richtige Modul installieren. Im Zweifelsfall noch die Preview Version in der Version 2.0.0.154 (Kommentar entfernen bzw. Befehl anpassen):
#Worked for me Install-Module -Name AzureADPreview -AllowClobber #Preview -MaximumVersion 2.0.0.154 #Later this will be the final version #install-module azuread -AllowClobber # In both cases, connect and login Connect-AzureAD
Über „Connect-AzureAD“ erfolgt die Anmeldung.
Tenant Einstellungen abrufen
Als erstes sollten wir überprüfen, ob bereits Einstellungen getroffen sind. Die aktuellen Einstellungen können hier abgerufen werden:
Get-AzureADDirectorySetting
#More Details
(Get-AzureADDirectorySetting | ? {$_.Displayname -eq 'Group.Unified'}).ValuesWenn kein Ergebnis zurückkommt, ist nichts konfiguriert (Standard), bitte gehen Sie dann zum nächsten Punkt „Tenant Einstellungen Erstkonfiguration„:

Sind bereits Einstellungen gesetzt und Sie möchten diese ändern, gehen Sie bitte unter „Tenant Einstellungen ändern“ vor:

Tenant Einstellungen Erstkonfiguration
Die initiale Konfiguration erfolgt mithilfe einer Vorlage. Es ist Ihnen überlassen, wie viele Parameter bereits an der Stelle gesetzt werden.
$Template = Get-AzureADDirectorySettingTemplate | ? {$_.Displayname -eq "Group.Unified"}
$TemplateSettings = $Template.CreateDirectorySetting()
$TemplateSettings["ClassificationList"] = "Confidential,Restricted,Internal Use,Public"
$TemplateSettings["ClassificationDescriptions"] = "Confidential:High business impact. Normally accessible only to specified members,Restricted:Normally accessible only to specified and/or relevant members,Internal Use:Normally accessible to all employees,Public:Accessible to all members of the public"
$TemplateSettings["DefaultClassification"] = "Internal Use"
New-AzureADDirectorySetting -DirectorySetting $TemplateSettings
Tenant Einstellungen ändern
$settings = Get-AzureADDirectorySetting | where-object {$_.displayname -eq “Group.Unified”}
$settings["ClassificationDescriptions"] = "Confidential:High business impact. Normally accessible only to specified members,Restricted:Normally accessible only to specified and/or relevant members,Internal Use:Normally accessible to all employees,Public:Accessible to all members of the public"
$settings["DefaultClassification"] = "Internal Use"
Set-AzureADDirectorySetting -Id $settings.Id -DirectorySetting $settings
Eigenschaften
Hier eine Übersicht der Eigenschaften, u.a. lässt sich damit Groups auch komplett abschalten:
- EnableGroupCreation
- Type: Boolean
- Default: True
The flag indicating whether Office 365 group creation is allowed in the directory by non-admin users. This setting does not require an Azure Active Directory Premium P1 license. - GroupCreationAllowedGroupId
- Type: String
- Default: “”
GUID of the security group for which the members are allowed to create Office 365 groups even when EnableGroupCreation == false. - UsageGuidelinesUrl
- Type: String
- Default: “”
A link to the Group Usage Guidelines. - ClassificationDescriptions
- Type: String
- Default: “”
A comma-delimited list of classification descriptions. - DefaultClassification
- Type: String
- Default: “”
The classification that is to be used as the default classification for a group if none was specified. - PrefixSuffixNamingRequirement
- Type: String
- Default: “”
String of a maximum length of 64 characters that defines the naming convention configured for Office 365 groups. For more information, see Enforce a naming policy for Office 365 groups (preview). - CustomBlockedWordsList
- Type: String
- Default: “”
Comma-separated string of phrases that users will not be permitted to use in group names or aliases. For more information, see Enforce a naming policy for Office 365 groups (preview). - EnableMSStandardBlockedWords
- Type: Boolean
- Default: “False”
Do not use - AllowGuestsToBeGroupOwner
- Type: Boolean
- Default: False
Boolean indicating whether or not a guest user can be an owner of groups. - AllowGuestsToAccessGroups
- Type: Boolean
- Default: True
Boolean indicating whether or not a guest user can have access to Office 365 groups content. This setting does not require an Azure Active Directory Premium P1 license. - GuestUsageGuidelinesUrl
- Type: String
- Default: “”
The url of a link to the guest usage guidelines. - AllowToAddGuests
- Type: Boolean
- Default: True
A boolean indicating whether or not is allowed to add guests to this directory. - ClassificationList
- Type: String
- Default: “”
A comma-delimited list of valid classification values that can be applied to Office 365 Groups.
Teams Integration
Da ja auch Teams im Hintergrund auf Groups zurückgreift, wird es auch hier 1:1 angezeigt – dem Client inklusive (hier Windows 10 Client):

Und natürlich auch der Status:

Referenz
- Azure Active Directory cmdlets for configuring group settings https://docs.microsoft.com/en-us/azure/active-directory/active-directory-accessmanagement-groups-settings-cmdlets
- GitHub Skript: https://github.com/Hobmaier/Scripts/blob/master/Set-SPOGroupsClassification.ps1




