Source record · tier 2 current vendor documentation
Get-CsPhoneNumberAssignment (MicrosoftTeams)
- Publisher
- Microsoft
- URL
- https://learn.microsoft.com/en-us/powershell/module/microsoftteams/get-csphonenumberassignment
- Published
- 2026-08-07
- Updated
- unknown
- Accessed
- 2026-09-25
- HTTP status
- 200
- License
- Microsoft Learn terms of use; no-redistribution; short excerpts and locators only
Source notes citing this source
- Get-CsPhoneNumberAssignment reports an ActivationState for each number whose supported values are Activated, AssignmentPending, AssignmentFailed, UpdatePending and UpdateFailed. in context
- A number that carries an assignment block (AssignmentBlockedState of BlockedForever or BlockedUntil) cannot be assigned to another user until the block is removed. in context
- The Get-CsPhoneNumberAssignment reference states that the limited-time assignment block (BlockedUntil) is currently not available. disputed in context
- A number's assignable targets are expressed as capabilities; the capability filter of Get-CsPhoneNumberAssignment supports ConferenceAssignment, VoiceApplicationAssignment, UserAssignment and TeamsPhoneMobile. in context
- The NumberSource output of Get-CsPhoneNumberAssignment is Online for numbers assigned in Microsoft 365 and OnPremises for numbers assigned in on-premises Active Directory and synchronized into Microsoft 365. in context
- The PstnAssignmentStatus of a number takes one of the values Unassigned, UserAssigned, ConferenceAssigned, VoiceApplicationAssigned, ThirdPartyAppAssigned or PolicyAssigned. in context
- A phone number's ActivationState is one of Activated, AssignmentPending, AssignmentFailed, UpdatePending or UpdateFailed. in context
- Get-CsPhoneNumberAssignment can filter numbers by capability (ConferenceAssignment, VoiceApplicationAssignment, UserAssignment, TeamsPhoneMobile), and Microsoft's example finds activated, unassigned numbers with VoiceApplicationAssignment. in context
- Get-CsPhoneNumberAssignment -AssignedPstnTargetId accepts a user or resource account and returns the assigned number's NumberType, ActivationState, PstnAssignmentStatus, PstnPartnerName, LocationId and LocationUpdateSupported. in context
- An Operator Connect number intended for a resource account probably needs the VoiceApplicationAssignment capability, and one uploaded only with UserAssignment probably cannot be assigned to an auto attendant or call queue account, so capability is what to check when a service number request goes wrong. inferred in context
- Phone number ActivationState values that can be filtered on are Activated, AssignmentPending, AssignmentFailed, UpdatePending and UpdateFailed. in context
- A phone number can carry an assignment block (AssignmentBlockedState BlockedForever or BlockedUntil) that stops it being assigned; an admin can clear it with Remove-CsPhoneNumberAssignmentBlock. in context
- Get-CsPhoneNumberAssignment reports a number's capabilities, and the supported values for filtering are ConferenceAssignment, VoiceApplicationAssignment, UserAssignment and TeamsPhoneMobile. in context
- The -Filter parameter of Get-CsPhoneNumberAssignment accepts IsOperatorConnect, PstnPartnerName, NumberType, Capability, ActivationState and PstnAssignmentStatus, among other attributes. in context
- Get-CsPhoneNumberAssignment returns at most 500 numbers by default and up to 1000 with -Top; larger inventories need -Skip and -Top paging, or Export-CsAcquiredPhoneNumber for a full list. in context
- Get-CsPhoneNumberAssignment -CapabilitiesContain accepts TeamsPhoneMobile as a capability value alongside ConferenceAssignment, VoiceApplicationAssignment and UserAssignment. in context
- The Get-CsPhoneNumberAssignment reference documents only DirectRouting, CallingPlan and OperatorConnect as supported -NumberType filter values, with no Teams Phone Mobile-specific value. in context
- An audit script that calls Get-CsPhoneNumberAssignment without -Top/-Skip paging or Export-CsAcquiredPhoneNumber will see at most 500 numbers, so in larger tenants it undercounts without raising an error. inferred in context
- When Get-CsPhoneNumberAssignment -CapabilitiesContain is given a comma-separated list, it returns only numbers that have all of the listed capabilities, not any of them. in context
- Get-CsPhoneNumberAssignment returns at most 500 results by default; -Top raises that to at most 1000, and larger sets must be paged with -Skip and -Top or exported with Export-CsAcquiredPhoneNumber. in context
- The NumberSource output of Get-CsPhoneNumberAssignment is Online for numbers assigned in Microsoft 365 and OnPremises for numbers assigned in on-premises AD and synced; it was introduced in module 5.7.0. in context
- Get-CsPhoneNumberAssignment -AssignedPstnTargetId finds the number assigned to a user or resource account and accepts a UPN, SIP address, ObjectId or Teams shared calling routing policy instance name. in context
- Get-CsPhoneNumberAssignment is available from module 4.0.0; the AssignmentBlockedState and AssignmentBlockedUntil outputs arrived in 7.5.0 and SmsActivationState in 7.7.0. in context
Cite this source record
APA
WarmTransfer. (2026, August 7). Get-CsPhoneNumberAssignment (MicrosoftTeams). WarmTransfer. https://warmtransfer.net/knowledge/sources/ms-ps-get-csphonenumberassignment
BibTeX
@misc{warmtransfer-ms-ps-get-csphonenumberassignment,
title = {Get-CsPhoneNumberAssignment (MicrosoftTeams)},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/sources/ms-ps-get-csphonenumberassignment},
note = {Microsoft, accessed 2026-09-25}
}