Information Barriers · Prepare

Test barriers and get ready to apply them

Clean directory data, required tenant settings, a test of every way people communicate, a rollback plan and a go/no-go before policies apply.

Duration
3 to 6 weeks
Effort
About 10 to 15 person-days
Complexity
Medium
Beyond E5
Nothing beyond Microsoft 365 E5

Who's in the room: Purview admin, Teams admin, SharePoint admin, Exchange admin, owner of directory data, service desk lead, compliance lead

On this page

Overview

Applying barriers changes team membership and chats across the organization, and stopping an application doesn't undo what has already been applied. This playbook proves the barriers do what the rule requires, and nothing more, before anyone is removed from a team. Clean directory data, the right tenant settings, a tested matrix and a written rollback are what make the rollout a controlled step instead of a surprise for team owners and the service desk.

Technically, you fix the segment attribute for everyone in scope, turn on scoped directory search in Teams at least 24 hours before the first policy, confirm audit and address book prerequisites, and give admins the IB Compliance Management role. You then test the designed policies in a test tenant and with pilot segments in production, export the membership of affected teams, and write a rollback.

You'll end up with: Clean directory data, the required settings on, a completed test matrix, membership exports, a rehearsed rollback, briefed owners and a recorded go/no-go.

If you skip it: Untested barriers remove the wrong people from teams, hide address lists or block meeting attendees, and the fix takes as long as the original application.

Before you start

The path to this playbook

  1. Design your segments and barrier policies
  2. Test barriers and get ready to apply them (you are here)
  • Design your segments and barrier policies: The rules that justify each barrier, the attribute that defines segments, the organization's mode, and a signed matrix of who can't talk to whom.
  • Where do you test?
    Decision: Where do you test?

    Recommended default: A test tenant first, then pilot segments in production

    Policy application covers the whole tenant, so you can't scope it to a test group. A test tenant is safest for settings; in production, you can define pilot segments from membership of small pilot groups, so only those people are affected until you widen the definition.

    Other options: Production only, with real segments · Decided by: Purview admin

  • What's the rollback?
    Decision: What's the rollback?

    Recommended default: Write and rehearse the rollback before applying

    Stopping a policy application isn't instant and doesn't undo policies already applied. Rolling back means setting policies inactive and applying again, at roughly 5,000 accounts an hour, and SharePoint and OneDrive barriers can be suspended separately. Write down the steps, who decides, and how you'd restore team membership from an export taken beforehand.

    Other options: Work it out if something goes wrong · Decided by: Purview admin with the compliance lead

Test to sign-off

4 phases
  1. Prepare data and settings

    Attribute fixed, scoped search on, prerequisites confirmed.

    Who: Owner of directory data, Teams admin and Purview adminProduces: Clean data and prerequisites confirmed

    Move on when Data and settings are ready

    How to do it

    Fix the directory data. Correct every blank or unexpected value in the segment attribute for people in scope, and agree with HR or the system that feeds Microsoft Entra ID how moves will update it from now on. Segments include only people whose values match the filter, so Microsoft's guidance is to fill attributes before defining segments. A barrier is only as accurate as the attribute behind it.

    Turn on scoped directory search early. Teams must scope directory search before you define the first policy, and Learn asks you to wait at least 24 hours after turning it on. It also hides the team search box and the public team listing, and turns off joining a team with /join. Tell people before it changes, so it isn't mistaken for a fault.

    Check address books, audit and roles. Audit must be on to see the status of a policy application. Give administrators the IB Compliance Management role rather than Global Administrator. In Legacy mode, remove existing address book policies first. In the newer modes, Microsoft warns that enabling barriers where no address book policies exist can cost people address list visibility, so test what people see in Outlook as part of the matrix.

    Watch out for (1)
    • If you: Skip the wait after scoped directory search

      What tends to happen: Barriers behave inconsistently in Teams during the first applications.

      A better approach:

      Turn scoped search on early and wait at least 24 hours.

  2. Test in the test tenant

    Run the matrix against the designed policies.

    Who: Purview admin with the Teams and SharePoint adminsProduces: A completed matrix with results and fixes

    Move on when Every row has a result

    How to do it

    Run the test matrix. Test every way people connect: search, one-to-one and group chat, adding to a team, meeting invitations and joining, screen sharing, calls, file sharing and sharing links, Planner assignments, shared channels and guests. Include the known limits: channel meetings that non-members can't join, large meetings where the 1,000-person chat roster fills, and apps that use app-only access to SharePoint, which need a tenant setting to reach sites with barriers. Date each result, because service updates change behaviour and you'll retest. Run each scenario in both directions, since policies work one way, and with an unsegmented person, who should still reach both sides.

    Watch out for (2)
    • If you: Leave address books untested

      What tends to happen: People open Outlook and can't find colleagues they're allowed to email.

      A better approach:

      Test address list visibility in the matrix.

    • If you: Test chat and nothing else

      What tends to happen: Meetings, channel meetings or app-only apps fail on day one.

      A better approach:

      Cover every way people connect, including the documented limits.

  3. Pilot segments in production

    Apply barriers for small pilot groups only.

    Who: Purview admin with the Teams adminProduces: Pilot barriers verified and membership exported

    Move on when Pilot results match the test tenant

    How to do it

    Export what will change. Export the membership of every team and Microsoft 365 group on the impact list, and the owners of affected sites. It's your evidence of what changed, your rollback source, and the list of people to brief. Add recurring meetings with large or mixed audiences: anyone who joins once stays on the meeting chat roster for later occurrences, so the 1,000-person limit fills faster than attendance suggests. For large audiences, a town hall is the better fit.

    Watch out for (1)
    • If you: Plan no rollback

      What tends to happen: A wrong segment removes people from teams, and nobody knows how to restore them.

      A better approach:

      Export membership and write the rollback before applying.

  4. Go/no-go

    Owners review results, rollback and briefings.

    Who: Compliance lead with the service desk leadProduces: Owners, people and the service desk briefed

    Move on when No blocking issue is open

    How to do it

    Brief owners, people and the service desk. Tell each affected owner which members will be removed and why, and tell people in segments what they'll no longer see: blocked colleagues disappear from search, suggested contacts and the people picker, and org charts and people cards show an error instead, which people can mistake for someone having left. Give the service desk the troubleshooting steps Microsoft publishes, starting with checking whether a user is covered by a policy, so blocked contact isn't logged as a Teams fault.

    Hold the go/no-go. Review the matrix, data quality, rollback plan and briefings with the compliance lead and rule owners. Include the email decision: if mail flow rules are part of the design, they should be tested and ready to enforce with the first barrier. Go means no blocking issue is open and the data is clean; no-go means a dated list of what must change.

    Watch out for (1)
    • If you: Surprise team owners

      What tends to happen: Owners see members vanish and raise incidents.

      A better approach:

      Brief each affected owner with the names and the reason.

What keeps it in place:

Policies stay inactive, and pilot segments contain only pilot groups, until the go/no-go is signed. Policy state is the mechanism; the signed checklist is the gate.

How you'll know it's working

3 measures

Capture a baseline before you start, or you won't be able to show the change.

Measures, where you see them, and the direction that means success
MeasureWhere you see itGood direction
Test cases passedTest matrix Up
In-scope people with a missing or wrong attribute valueMicrosoft Entra user export Down
Open blocking issuesTest matrix Down

Take it with you

plan, decisions, gate checks, 2 templates

Plan outline: phases and when to move on

  1. Prepare data and settings. Move on when: Data and settings are ready
  2. Test in the test tenant. Move on when: Every row has a result
  3. Pilot segments in production. Move on when: Pilot results match the test tenant
  4. Go/no-go. Move on when: No blocking issue is open

Decisions to record, with the recommended answer

DecisionRecommended defaultOur choice
Where do you test?A test tenant first, then pilot segments in production
What's the rollback?Write and rehearse the rollback before applying

Gate checks: questions to answer before each phase ends

Before leaving Prepare data and settings

  • Is the segment attribute complete and correct for everyone in scope?
  • Has scoped directory search been on for at least 24 hours?

Before leaving Test in the test tenant

  • Did the matrix include meetings, address lists and app-only apps?

Before leaving Go/no-go

  • Is the rollback written and owned?
  • Are affected owners and the service desk briefed?
  • Is the go/no-go recorded?

Test matrix (copy into a spreadsheet)

Columns: Scenario | Segments | Expected | Result | Fix | Blocking (Y/N) | Owner.
Rows to start with: People search | One-to-one chat | Group chat | Add to a team | Meeting invitation and join | Channel meeting as a non-member | Large meeting near the chat roster limit | Screen share | Call | Share a file and open a sharing link | SharePoint site access by mode | OneDrive sharing | Planner assignment | Shared channel | Guest | Outlook address list | App-only app reaching a site.

Go/no-go checklist

1. Attribute complete and correct. 2. Scoped directory search on for 24 hours or more. 3. No blocking issue open. 4. Membership exported. 5. Rollback written with a decision owner. 6. Owners, people and service desk briefed.

Microsoft Learn

6 links

Contributor

Compare notes or suggest an improvement

Your message goes straight to Sev Derghazarian.

What would you like to do?

Subject:

The send button is enabled once the spam check below completes.

Changelog

Changelog (2 versions)
Published versions of this playbook
VersionDateByChange
2Sev DerghazarianRestructured into phases: decisions, how-to and pitfalls now sit with the phase they belong to. No change to the guidance.
1Sev DerghazarianFirst version. Facts checked against Microsoft Learn on 2026-10-16.