Classifications for Office365 Groups and Microsoft Teams

These commands are a part of the Azure Active Directory Powershell V2 module.

Install the AzureAD or the AzureADPreview Module

Connect to Azure AD

Verify if the Directory Settings exists

If no result, the settings are not created and you will need to create it first.

Creating the Classifications if no Directory Settings exists

Creating the Classifications if Directory Settings exists

Configuring the Default Classification for Office365 Groups

Manually assign Classifications to Office365 Groups.

This will require Exchange Online Powershell Module.
I recommend to install the latest Exchange Online Powershell Module that support Modern Authentication.

If you try to configure a Classification that is not defined in the “ClassificationList”

DataClassification provided is not supported. Valid values are “Internal,External,Confidential”.

Creating a new Office365 Group / Microsoft Teams

Now you will see a new option when creating Office365 Groups/Microsoft Teams and you can now select Classifications

Office365 Group for this Microsoft Team is classified as External.

Disclaimer: All scripts and references on this blog are offered “as is” with no warranty.  These scripts are tested in my environment, it is recommended that it is tested in a test environment before using in production.

3 comments on “Classifications for Office365 Groups and Microsoft Teams”

  1. Hi,

    Thanks a lot for these Infos. Was extremely Helpful! Somehow when I Use your Script pieces to update my Classification List, it didn’t work and I always got an “Empty Array” error.

    There is a Typo in the Script to Update the Current Classification Values -> in Section “Creating the Classifications if Directory Settings exists”
    Line 2, the Parameter “$Direc_orySettings”, the t is missing, which causes it to be considered as another variable, abviously 😉

    Thanks Again!

Leave a Reply

Your email address will not be published. Required fields are marked *