Microsoft Purview - Paint By Numbers Series (Part 8a) - Information Barriers and Team Chat
Published Jun 20 2022 04:03 PM 1,652 Views
Microsoft

paint_by_numbers_splash_picture.jpg

 

 

Before we start, please not that if you want to see a table of contents for all the sections of this blog and their various Purview topics, you can locate the in the following link:

Microsoft Purview- Paint By Numbers Series (Part 0) - Overview - Microsoft Tech Community

 

 

Disclaimer

This document is not meant to replace any official documentation, including those found at docs.microsoft.com.  Those documents are continually updated and maintained by Microsoft Corporation.  If there is a discrepancy between this document and what you find in the Compliance User Interface (UI) or inside of a reference in docs.microsoft.com, you should always defer to that official documentation and contact your Microsoft Account team as needed.  Links to the docs.microsoft.com data will be referenced both in the document steps as well as in the appendix.

 

All of the following steps should be done with test data, and where possible, testing should be performed in a test environment.  Testing should never be performed against production data.

 

Target Audience

The Information Protection section of this blog series is aimed at Security and Compliance officers who need to properly label data, encrypt it where needed.

 

Document Scope

This document is meant to guide an administrator who is “net new” to Microsoft E5 Compliance through.

We will be setting up an Information Barrier between two groups of users.  Here are the primary steps we will be performing:

  • Create a segment
  • Create a policy
  • Publish the policy

This will be communications between teams (Teams chat and emai).

 

Out-of-Scope

This document does not cover any other aspect of Microsoft E5 Compliance, including:

  • Sensitive Information Types
  • Exact Data Matching
  • Sensitivity Labeling
  • Data Protection Loss (DLP) for Exchange, OneDrive, Devices
  • Microsoft Cloud App Security (MCAS)
  • Records Management (retention and disposal)
  • Advanced eDiscovery (AeD)
  • Insider Risk Management
  • Privacy Management
  • Information Barriers – blocking at a SharePoint or OneDrive level

It is presumed that you have a pre-existing of understanding of what Microsoft E5 Compliance does and how to navigate the User Interface (UI).

 

Overview of Document

This document will walk an administrator through setting up a basic Information Barrier between two groups of users.

 

Use Case

You need to prevent 2 groups within an organization from communicating. 

 

Definitions

  • Segment – This is a grouping of users based on a “filter”
  • Policy – making the metadata tag available to your tenant
  • Filter – this is an attribute found in the Azure AD identity for a users (ex. location, department, country, etc)

 

Notes

To do a block of 2 users/groups from communicating, you will Need to set up a minimum of 2 Polices. Each policy will block 1-way communication e direction.  Here is a not from the official documentation (also referenced in the Appendix links).

James_Havens_0-1655763956628.png

 

 

For Exchange and Information Barriers, please read the following.  This is also referenced in the Appendix below.

 

James_Havens_1-1655763956671.png

 

Pre-requisites

The full list of pre-requisites and can be found in the following link: 

Get started with information barriers - Microsoft Purview (compliance) | Microsoft Docs

 

 

Azure Active Directory

To start, you will need to understand which properties the users are associated with.

 

  1. Go to portal.azure.com

 

  1. Open Azure Active Directory

 

  1. Choose your test users and open their accounts   I will chose my test users Megan and Pradeep.

 

James_Havens_1-1655764263866.png

 

 

  1. Click Edit Properties and peruse what information is related to them.

 

James_Havens_2-1655764263869.png

 

 

  1. Once you know which properties the two users have, you can then create a segment associated with each user.   I will choose departments (Finance and Marketing) as my filters for my segments in the next section

 

 

 

 

 

Setting up a Segment

You will need to set up a minimum of 2 segments.

  1. Open Compliance.microsoft.com

 

  1. On the left, browse to Information Barriers and click on Segments

 

 

James_Havens_3-1655764263882.png

 

 

  1. Click New Segment

 

James_Havens_4-1655764263883.png

 

 

  1. Give the segment a name.  I recommend you name the segment after the user(s) property you will be using.  I will call mine Marketing and Finance respectively.  When you have a name, click Next.

 

James_Havens_5-1655764263884.png

 

 

  1. On the Filter pane, select Add

 

James_Havens_6-1655764263886.png

 

 

  1. Select the filter you want.  I will use Department

 

James_Havens_7-1655764263893.png

 

 

  1. You can choose Equal or Not Equal as your filter.  I will chose Equal and enter the name “Marketing”.
    1. Note – you can have more than one Filter per segment.  I will chose just one for this blog entry.

 

James_Havens_8-1655764263896.png

 

 

  1. Click Next.

 

  1. On the Summary page.  Review and click Submit.

 

James_Havens_9-1655764263900.png

 

 

  1. Once your two segments are created, you can now move to the Applying Policy section.

 

Setting up a Policy

You will need to set up a minimum of 2 Polices. Each policy will block communication one direction.

James_Havens_3-1655765262337.png

James_Havens_0-1655765211998.png

 

 

  1. On the left-side, click on Policies

James_Havens_4-1655765272899.png

James_Havens_1-1655765224021.png

 

 

  1. Click Create Policy

James_Havens_2-1655765244271.png

 

  1. Give the Policy a name and then click Next.

James_Havens_7-1655765449754.png

 

  1. On the next part of the wizard, click Choose segment.
 

James_Havens_8-1655765462936.png

 

 

 

  1. Select your segment that will blocked from sending data (ex. Marketing) and click Add.  Then click Next.
 

James_Havens_11-1655765555822.png

 

 

  1. On the net page, under Communication and collaboration, from the drop down, select Blocked.

James_Havens_10-1655765512512.png

 

  1. Then choose your target to be blocked (ex. Finance) by clicking Choose Segment and selecting your other segment.  Then click Add.

James_Havens_9-1655765497564.png

 

 

  1. Set your Status to On.  Then click Next.

James_Havens_6-1655765377762.png

 

 

  1. Review the Summary and then click Submit.
 

James_Havens_5-1655765350605.png

 

 

  1. Now setup a second policy, blocking communication going the other direction.  Once created, proceed to the Policy Application section.



Applying a Policy

Now that your two 1-way policies are created and activated, you have to Apply them to your tenant.

 

  1. On the left-side, click on Apply Policies

 

James_Havens_0-1655765635981.png

 

  1. Click Apply All Policies to start your policies

James_Havens_1-1655765644979.png

 

  1. You will then see a Creation time for the application of your two 1-way policies.

James_Havens_2-1655765665508.png

 

 

  1. You can now test your policy in Teams chat and Exchange

 

 

Troubleshooting with Powershell commands

If you are having issues with your policies not being applied to Teams or your tenant, you can try the following steps from an elevated PowerShell command.

 

  • Note – the Details are pulled from the PowerShell link in the Appendix of this blog section.

 

 

  1. To connect to your Tenant from a Windows 10/11 device, you can run this Connect-IPPSSession cmdlt

a. Here is the raw cmdlet:  Connect-IPPSSession -UserPrincipalName <UPN> [-ConnectionUri <URL>] [-AzureADAuthorizationEndpointUri <URL>] [-PSSessionOption $ProxyOptions]

 

 

b. Note – “-UserPrincipalNameUPN.  <UPN> is your account in user principal name format (ex admin@companyx.com )

 

 

c. Here is a sample of how this cmdlet:   Connect-IPPSSession -UserPrincipalName admin@companyx.com

 

 

  1. Once connected, first, be sure you have imported and installed the ExchangeOnlineModule

a. Here is the 1st cmdlet:   Import-Module ExchangeOnlineManagement

b. Here is the 2nd cmdlet:  Install-Module -Name ExchangeOnlineManagement

 

  1. Second, be sure you have enabled remote sign in

a. Here is the cmdlet:  Set-ExecutionPolicy RemoteSigned

 

  1. Third, to start your Information Barrier policies via PowerShell,

a. Use is the cmdlet:  Start-InformationBarrierPoliciesApplication

 

  1. You will see this message indicating the PowerShell script is running.

James_Havens_1-1655764855713.png

 

 

List of your Information Barriers policies

 

  1. To get a list of all Information Barriers policies created, use this PowerShell script.

a. Here is the cmdlet:  Get-InformationBarrierPolicy

b. Example results:

 

James_Havens_0-1655764833852.png

 

 

 

 

 

 

Testing in Teams Chat

 

  1. Open you Teams Chat between your two test users.

 

James_Havens_0-1655764169986.png

 

  1. You will not be able to type in the Team Chat field but will see the statement Administrator has disabled chat for this user.

 

 

 

 

 

Appendix and Links

 

Get started with information barriers - Microsoft Purview (compliance) | Microsoft Docs

 

Manage information barriers policies - Microsoft Purview (compliance) | Microsoft Docs

 

Use information barriers with SharePoint - SharePoint in Microsoft 365 | Microsoft Docs

 

Connect to Security & Compliance PowerShell using the EXO V2 module | Microsoft Docs

 

Get started with information barriers - Microsoft Purview (compliance) | Microsoft Docs

 

Learn about information barriers - Microsoft Purview (compliance) | Microsoft Docs

 

 

Note: This solution is a sample and may be used with Microsoft Compliance tools for dissemination of reference information only. This solution is not intended or made available for use as a replacement for professional and individualized technical advice from Microsoft or a Microsoft certified partner when it comes to the implementation of a compliance and/or advanced eDiscovery solution and no license or right is granted by Microsoft to use this solution for such purposes. This solution is not designed or intended to be a substitute for professional technical advice from Microsoft or a Microsoft certified partner when it comes to the design or implementation of a compliance and/or advanced eDiscovery solution and should not be used as such.  Customer bears the sole risk and responsibility for any use. Microsoft does not warrant that the solution or any materials provided in connection therewith will be sufficient for any business purposes or meet the business requirements of any person or organization.

 

 

 

 

 

 

Co-Authors
Version history
Last update:
‎Nov 03 2022 10:11 AM
Updated by: