MSBA-229 · Lesson 8 of 12 · 20 min
Policy precedence questions
▶ Video coming soon A video version of this lesson is on the way.
During the relaunch, Teodor had once spent an afternoon working out why a branch manager could still record clinical case conferences after the Clinical-Meetings policy was assigned to the clinical leads group. The answer turned out to be a direct assignment someone had made two years earlier, which beat the group assignment. Ines used that story to open the session on policy precedence. “The exam loves this,” she said, “because it's the kind of thing you only understand after it bites you. So let's make it bite you here.”
This lesson explains how Teams decides which policy a user receives, how policy packages fit in, which policy applies when several people in a meeting have different policies, and how to answer the question styles that test it.
Three ways to get a policy
Every Teams policy type, such as meeting, messaging, calling, app setup or events policies, has a Global (org-wide default) policy. A user can also receive a policy in two other ways: by direct assignment to that user, or by group assignment through a security group, distribution list or Microsoft 365 group the user belongs to.
| Assignment | How it is made | Typical use |
|---|---|---|
| Direct | Teams admin center on the user, Grant- cmdlets, or batch assignment | Exceptions for individuals |
| Group | Teams admin center group policy assignment, or New-CsGroupPolicyAssignment, with a rank | Roles and departments |
| Global (org-wide default) | Edit the Global policy itself | Everyone who has nothing else |
The precedence rule
For each policy type, Teams applies one effective policy per user, chosen in this order:
| Step | Rule |
|---|---|
| 1 | If the user has a direct assignment of that policy type, it applies |
| 2 | Otherwise, if the user belongs to one or more groups with an assignment of that type, the assignment with the highest rank applies; rank 1 is the highest |
| 3 | Otherwise, the Global (org-wide default) policy applies |
Two consequences catch people out. First, a direct assignment beats every group assignment, regardless of rank. If a group assignment seems to be ignored, look for a direct assignment on the user. Second, ranks only compare group assignments of the same policy type. A rank 1 meeting policy assignment does not compete with a rank 2 messaging policy assignment; they are different policy types and both apply.
Group membership changes take time to flow through, and group assignments are recalculated as members join and leave. Microsoft documents limits on group assignment, such as the size of groups that work best and the number of policy types per group; treat those as details to check rather than things to memorize. For very large audiences, Microsoft recommends batch assignment or assigning to the Global policy.
To see the result, use Get-CsUserPolicyAssignment in PowerShell, or open the user in the Teams admin center and look at the policies tab, which shows each effective policy and whether it is direct or inherited from a group.
Removing a direct assignment
Because a direct assignment wins, the usual fix for “the group policy isn't working” is to remove the direct assignment. In PowerShell, you grant a null policy, for example by running Grant-CsTeamsMeetingPolicy with the PolicyName parameter set to PowerShell's null value, as in the listing below, which removes the direct assignment so that group and Global policies can apply. In the Teams admin center, you set the user's policy back to the default.
# Remove a direct meeting policy assignment so group or Global policy applies
Grant-CsTeamsMeetingPolicy -Identity "branch.manager@corvallincare.example" -PolicyName $null
# Confirm the effective policy and its source
Get-CsUserPolicyAssignment -Identity "branch.manager@corvallincare.example" -PolicyType TeamsMeetingPolicyPolicy packages
A policy package is a named set of policies of different types, such as a meeting policy, a messaging policy, an app setup policy and a calling policy, that together suit a role. Microsoft provides packages for roles such as frontline workers, education users and healthcare workers, and administrators can create custom packages. Assigning a package assigns each policy in it. Corvallin's Corvallin-Frontline package bundles Frontline-Messaging, Frontline-Setup and the meeting policy home-care staff use.
Packages do not create a new layer of precedence. Assigning a package to a user is the same as assigning each of its policies directly to that user; assigning it to a group is the same as group assignments of each policy, with a rank. The precedence rules above still decide the result. If a package is later updated, the change flows to users who received it.
Whose policy applies in a meeting
Meetings add a second question: when several people with different meeting policies are in one meeting, whose policy controls a feature? The general principle is that settings about how the meeting itself behaves follow the organizer's policy, while settings about what an individual participant can do often follow that participant's own policy. The lobby, who can bypass it and whether the meeting can be recorded at all are organizer-level decisions. Some per-person capabilities, such as whether a participant can use certain features on their own client, depend on the participant's policy.
Microsoft documents, setting by setting, whether a meeting policy setting is per-organizer, per-user or both. For the exam, apply the principle and read the scenario carefully. If a question says an external presenter's organization allows recording but your organizer's policy does not, the meeting is not recorded, because the organizer's policy governs the meeting. If a question says a participant with a restrictive policy joins a meeting whose organizer allows everything, check whether the setting is per-user before deciding.
| Setting (simplified) | Usually decided by |
|---|---|
| Who waits in the lobby; who can bypass it | Organizer's meeting policy and the meeting options |
| Whether the meeting can be recorded or transcribed | Organizer's policy, combined with each user's permission to start recording |
| Copilot availability in the meeting | Organizer's Copilot setting, plus the user's Copilot licence |
| Webinars and town halls the user can create | The user's events policy |
Answering precedence questions
Precedence questions give you a user, the groups they belong to, the ranks, and sometimes a direct assignment, and ask which policy applies or why a change had no effect. Draw it. Write the user's name, list each policy source with its rank, cross out every group assignment if there is a direct one, then pick the lowest rank number among those left.
Worked problem
Three sources, one answer
Teresa is a clinical lead and a branch manager. The meeting policy assignments are: Clinical-Leads group, Clinical-Meetings, rank 1; Branch-Managers group, Standard-Meetings, rank 2; Global policy allows recording. Teresa also has a direct assignment of Standard-Meetings made last year. Which meeting policy applies to her, and what must change for Clinical-Meetings to apply?
Show solution
- Check for a direct assignment: yes, Standard-Meetings is assigned directly.
- A direct assignment beats every group assignment, so Standard-Meetings applies, even though Clinical-Meetings has rank 1.
- To let the group assignment apply, remove the direct assignment by granting the null policy or resetting it in the admin center.
- After removal, the highest-ranked group assignment is Clinical-Meetings (rank 1), so it applies.
Answer: Standard-Meetings applies now because of the direct assignment. Remove the direct assignment, and Clinical-Meetings applies through the rank 1 group assignment.
A practice set
Teodor answered these six original questions in six minutes, drawing a quick ladder for each.
| # | Scenario | Effective policy |
|---|---|---|
| 1 | Group A rank 2 gives Policy-X; group B rank 1 gives Policy-Y; no direct assignment | Policy-Y |
| 2 | Group A rank 1 gives Policy-X; direct assignment of Policy-Z | Policy-Z |
| 3 | No group or direct assignment for messaging; Global allows deletion | Global |
| 4 | Rank 1 meeting policy from group A; rank 1 messaging policy from group B | Both apply; different policy types |
| 5 | A package assigned to a user directly; group rank 1 gives a different meeting policy | The package's meeting policy, because the package assignment is direct |
| 6 | The user is removed from group B (rank 1) and remains in group A (rank 3) | Group A's policy, after the change is processed |
Five precedence traps
When Teodor reviewed his precedence errors, they fell into five patterns. Each one is a scenario detail that is easy to read past.
| Trap | What the scenario says | What actually applies |
|---|---|---|
| A leftover direct assignment | A user was moved into a group with a new policy, but nothing changed | An older direct assignment still beats the group |
| Equal-looking ranks | The user is in two groups with policies of rank 2 and rank 1 | Rank 1, the lower number, wins |
| A package seen as special | A policy package was applied to a user | A package just creates direct assignments, one per policy type |
| Global seen as a floor | The Global policy allows a feature that the user's policy blocks | The user's policy applies in full; Global is only a fallback |
| Mixing policy types | A messaging policy and a meeting policy seem to conflict | Precedence works per policy type; different types never compete |
The last trap is the subtlest. Each policy type is resolved on its own. A user can have a directly assigned meeting policy, a group-assigned messaging policy and the Global calling policy at the same time, and each is correct for its type. A question that asks which policy applies always concerns one policy type, even if the scenario mentions several.
Drawing a precedence diagram
Ines asked Teodor to draw every precedence question before answering it. The drawing takes less than a minute and removes most mistakes.
| Step | What to draw |
|---|---|
| 1 | Write the user's name and the policy type the question is about |
| 2 | Write any direct assignment, including one from a package; if there is one, stop |
| 3 | List each group the user belongs to that has a policy of that type, with its rank |
| 4 | Circle the lowest rank number |
| 5 | If there is no direct assignment and no group assignment, write Global |
Step 2 says stop for a reason. Once a direct assignment exists, nothing about groups matters, however many groups or ranks the scenario describes. Many distractors are built from the group details, so stopping early protects you from them.
Changing ranks safely
Ranks can be changed after assignments exist. When a new group assignment is added at a rank already in use, the existing assignments at that rank and below move down by one. That means adding a new rank 1 assignment can quietly change which policy applies to users who are in several groups. Before Corvallin added a new group assignment for the Corvallin-Frontline staff, Teodor listed every existing group assignment for that policy type and wrote down the expected outcome for three test users in different combinations of groups. Then he checked them with Get-CsUserPolicyAssignment after the change.
Worked problem
A precedence drawing in practice
Ama is in the IT-Staff group, which has the Staff-Messaging policy at rank 2, and in the Support-Desk group, which has the Support-Messaging policy at rank 1. Last spring she was given the Restricted-Messaging policy directly during a trial that has since ended. Which messaging policy applies to her, and what should be done if she should have Support-Messaging?
Show solution
- Policy type: messaging.
- Direct assignment: Restricted-Messaging, from the old trial. Stop here: it applies.
- To let the groups decide, remove the direct assignment by granting a null messaging policy to Ama.
- After removal, the lowest rank wins: Support-Desk at rank 1, so Support-Messaging applies.
Answer: Restricted-Messaging applies now. Remove Ama's direct assignment, and Support-Messaging will apply through the rank 1 group assignment.
When the admin center and PowerShell disagree
A user's page in the Teams admin center shows the effective policy for each type, and Get-CsUserPolicyAssignment shows the same thing with its source. If the two seem to disagree, the usual reason is timing. Group policy assignments can take time to reach every member, especially in large groups, and the admin center may show the new value before the client applies it. A question that describes a correct configuration with a recent change and a user who has not yet seen it is often testing whether you know to wait, not whether you can find a mistake.
Common mistakes
MistakeExpecting a rank 1 group assignment to override a direct assignment.
InsteadDirect assignments always win; ranks only order group assignments.
MistakeComparing ranks across different policy types.
InsteadRanks compare assignments of the same policy type only.
MistakeTreating a policy package as a separate precedence layer.
InsteadA package assigns each of its policies; normal precedence decides the result.
MistakeEditing the Global policy to fix one person's exception.
InsteadChange Global only for everyone; use direct or group assignment for exceptions.
MistakeAssuming a participant's permissive policy overrides the organizer's meeting settings.
InsteadMeeting behaviour follows the organizer; check per-user settings individually.
Summary and key terms
- Each user gets one effective policy per policy type: direct assignment, then the highest-ranked group assignment (rank 1), then Global.
- Direct assignments beat group assignments regardless of rank; remove them by granting the null policy.
- Ranks only compare group assignments of the same policy type.
- Policy packages assign several policy types at once and follow the same precedence rules.
- In meetings, meeting-level behaviour follows the organizer's policy; some settings are per participant.
- Get-CsUserPolicyAssignment and the user's policies tab show the effective policy and its source.
- Direct assignment
- A policy assigned to one user, which takes precedence over group assignments.
- Group assignment
- A policy assigned to a group, with a rank used to resolve conflicts between groups.
- Rank
- The number that orders group assignments of the same policy type; 1 is highest.
- Global (org-wide default)
- The policy that applies to users with no direct or group assignment of that type.
- Policy package
- A named bundle of policies of different types assigned together for a role.
- Effective policy
- The policy that actually applies to a user after precedence is resolved.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Which wins: a rank 1 group assignment or a direct assignment?
Show answer
The direct assignment.
How do you remove a direct policy assignment in PowerShell?
Show answer
Run the Grant cmdlet for that policy type with a null policy name.
Does a policy package add its own precedence layer?
Show answer
No; it assigns each policy, and normal precedence applies.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.