03 · PowerShell and admin

Objects you will actually get

Voice routing is a handful of objects. If you can draw them, the cmdlets are spelling.

Room HTMLAll downloads

Learn it in 5 minutes

A dial plan holds normalization rules. A voice route holds a pattern and gateways. A PSTN usage is a name that ties routes to a policy. A voice routing policy is the ordered list of usages you grant to a user. A PSTN gateway is the paired SBC.

Application instances show up twice in real designs: resource accounts for voice apps, and bots for compliance recording. Confirm which object you are creating before you run New-CsOnlineApplicationInstance.

Remember gateway, route, usage, and policy. The user only sees the policy you granted.

Room HTML

Visual

Survivable branch timelineBranch clientsSBA and SBCMicrosoft 365WAN up. Cloud is the path.Meetings and presence are not the survivable set.
What remains when the path to Microsoft 365 drops. Lesson: Objects you will actually get.
Object count in a small designGateway · PairRoute · PatternsUsage · NamesPolicy · Assigned
How many objects, not how many users. Counts in this drawing are teaching order, not customers.

SVGPNGHTML

Worked example

Usage, route, policy, gateway. The policy is what the user has. The route is what the pattern does.

  1. Gateway SBC
  2. Route Pattern
  3. Usage Permission name
  4. Policy Ordered usages
  5. User Grant

If it fails: A route exists and no policy grants a usage that contains it.

Checklist HTML

Quiz

A colleague reports: A lab FQDN is the production FQDN. Where do you start?

Which description of Get-Help before Set is accurate?

A colleague reports: A script from last year removes a number. Where do you start?

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

A route exists and no policy grants a usage that contains it.

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.

sources.json