03 · PowerShell and admin

Reading a user before you change one

The pilot user is often not the user you think. Group assignment hides the policy you just edited.

Room HTMLAll downloads

Learn it in 5 minutes

Get-CsOnlineUser shows voice policy, dial plan, and number fields. Look at the effective values. A group grant can beat the direct assignment you remember from last quarter.

Test the call as that user, from the client they actually use. A browser join and a certified phone do not take the same media path, and QoS will not treat them the same either.

Read the effective voice policy, dial plan, and number before you change them.

Room HTML

Visual

Dynamics unified routingWorkstreamClassificationFrench billingcap 1English billingcap 0Overflowcap 2
Language, intent, and capacity for Reading a user before you change one. Overflow is a rule.
Read listIdentity · UserPolicy · EffectiveNumber · AssignedClient · Real device
Four reads before a change. Counts in this drawing are teaching order, not customers.

SVGPNGHTML

Worked example

I read the effective policy with Get-CsOnlineUser before I edit anything.

  1. Identity Who
  2. Effective Policy and plan
  3. Number Assigned
  4. Client The real one

If it fails: You update a policy object that this user does not have.

Checklist HTML

Quiz

A colleague reports: The portal shows a success toast and the shell shows the old policy still assigned. Where do you start?

Which description of Get-CsOnlineUser is accurate?

Which description of New-CsOnlinePSTNGateway is accurate?

Flashcards

Ecosystem

Glossary

  • Effective policy The policy the user actually has after direct assignment and group assignment are resolved. The one you edited may not be it. Config: Read the effective value before and after the change. Fault: You update a policy that is not assigned.
  • Lab tenant A tenant that is not production. Pair a lab SBC there. Do not discover certificate behavior on the company trunk. Config: Keep lab domains and lab certificates obvious. Fault: A lab FQDN is the production FQDN.
  • Get-Help before Set Cmdlet parameters move between MicrosoftTeams module versions. Read help in the version you are about to run. Config: Get-Help cmdlet -Parameter * in the lab. Fault: A script from last year removes a number.
  • Group policy assignment Many Teams policies, including compliance recording, can target a group. Membership changes the effective policy without a click on the user. Config: Read the effective policy after group changes. Fault: Recording starts for people who were only added to a mail group.

Sister technologies

Around the call: compliance recording, workforce management, emergency location, analytics, CRM screen pop, and an agent with a human escape. Each one has its own failure.

Config and troubleshooting

You update a policy object that this user does not have.

Cross-platform bridges

CUCM

Cisco CUBE is one of the SBC families named in this lab’s certification lesson. A certified release can be the Direct Routing SBC between Unified CM and Teams.

The tenant still needs a verified domain on the SBC FQDN, and the user still needs Teams Phone. The studio translator does not open a live AXL session. Confirm the current certified release before you build.

Webex

Teams Phone and Webex Calling are separate clouds. This lab does not describe a feature that registers a Webex Calling user into a Teams tenant.

A number move is usually a carrier port, a certified SBC, or a meetings interop product. Confirm before relying.

UCCE

Unified CCE stays the ACD until you migrate it. Microsoft’s contact-center articles name Connect, Extend, and Unify. They do not name a UCCE connector in the notes this lab cites.

Voice into Teams is still Direct Routing or Operator Connect. The routing script stays on the contact-center product you bought. Confirm the vendor’s current model. Source: https://learn.microsoft.com/en-us/microsoftteams/teams-contact-center.

Future hooks

Copilot Studio, Azure Communication Services, and Graph are later tracks in this lab. Treat any uncited limit as confirm before relying.

BridgesEcosystem

Sources and go deeper

Opened 2026-10. A row marked confirm did not open. Wikipedia is background. The Teams blog row is the community index.

  • Manage voice routing policies — Microsoft Learn — last checked 2026-10.
  • Use Teams admin roles — Microsoft Learn — last checked 2026-10.
  • PowerShell — Wikipedia — last checked 2026-10. Wikipedia fallback for background. Confirm the vendor page before you change a tenant
  • Microsoft Teams blog index — Community — last checked 2026-10. Community index for the Microsoft Teams blog. This is the index, not a claim that a post discusses this room

sources.json