03 · PowerShell and admin

Grant, set, and new

New creates, set changes, grant assigns. Mixing them up is how a policy is edited and never reaches the user.

Room HTMLAll downloads

Learn it in 5 minutes

New-CsOnlineVoiceRoute creates a route. Set-CsOnlinePstnUsage maintains the usage list. Grant-CsOnlineVoiceRoutingPolicy assigns a policy to a user. Grant-CsTeamsComplianceRecordingPolicy assigns a recorder policy. None of those verbs is a synonym.

Read with Get- before you Set- or Grant-. Then read again. The second read is the evidence pack, not a personality trait.

New creates, set changes, grant assigns. Read the user after you grant.

Room HTML

Visual

Location-based routing gateLocation-based routingSite 1 subnetTrusted IP and siteLocal SBC allowedSite 2 subnetTrusted IP and siteLocal SBC allowed
A site map for Grant, set, and new. LBR is toll-bypass control, not emergency location by itself.
VerbsGet · BeforeChange · New or SetGrant · AssignGet · After
Do not skip the last read. Counts in this drawing are teaching order, not customers.

SVGPNGHTML

Worked example

Grant assigns to a user. Set changes an object. I read both times.

  1. Get Current
  2. New or Set The object
  3. Grant The user
  4. Get Again

If it fails: The policy text is correct and the user still has Global.

Checklist HTML

Quiz

Which description of Group policy assignment is accurate?

A colleague reports: Recording starts for people who were only added to a mail group. Where do you start?

Which description of Connect-MicrosoftTeams 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

The policy text is correct and the user still has Global.

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