Source note · Teams voice administration with PowerShell
To remove an emergency location from a phone number, pass the string 'null' to -LocationId; this is supported for Direct Routing numbers and for Operator Connect numbers not managed by the Service Desk.
Checked 2026-09-25
- Vendor
- Microsoft
- Product
- MicrosoftTeams PowerShell module
- Subsystem
- emergency-locations
- Deployment
- multi-tenant
- Region
- not restricted
- Release range
- current as of 2026-09-25
- Checked
- 2026-09-25
Sources
- Set-CsPhoneNumberAssignment (MicrosoftTeams) — Microsoft · tier 2 current vendor documentation · Parameters, -LocationId, second paragraph; Example 4
Cite this note
APA
WarmTransfer. (2026, September 25). Teams voice administration with PowerShell: source note teams-powershell-voice-admin-setpn-location-null. WarmTransfer. https://warmtransfer.net/knowledge/claims/teams-powershell-voice-admin-setpn-location-null
BibTeX
@misc{warmtransfer-claim-teams-powershell-voice-admin-setpn-location-null,
title = {Teams voice administration with PowerShell: source note teams-powershell-voice-admin-setpn-location-null},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/claims/teams-powershell-voice-admin-setpn-location-null},
note = {Source note teams-powershell-voice-admin-setpn-location-null, checked 2026-09-25}
}