Troubleshooting Teams phone number assignment errors
Verified 2026-09-30 · 58 sources · tier 2–6 · 2 disputed
Phone number assignment errors in Microsoft Teams arise from mismatched user attributes, prerequisite licensing gaps, synchronization locks from on-premises directories, and emergency location rules 1392728. Successfully applying numbers requires adhering to specific administrative roles, cmdlet parameters, and connectivity constraints across Calling Plans, Direct Routing, and Operator Connect 43440.
Prerequisites, Roles, and Licensing
Assigning, modifying, or removing a user's phone number requires one of three roles: Teams Administrator, Teams Communications Administrator, or Teams Telephony Administrator 4. When assigning a number to a user, the phone number and the user's usage location must be of the same country/region 13.
Licensing requirements vary based on the target identity and connectivity type:
- A user assigned a Teams Calling Plan number must also hold a Teams Calling Plan license 9.
- Users assigned Operator Connect numbers require a Teams Phone (Phone System) license and must be in TeamsOnly mode 41.
- Each resource account requires a Microsoft Teams Phone Resource Account license to work with auto attendants and call queues 48.
- For a resource account requiring a phone number, Microsoft instructs administrators to verify that the "Select location" value on the account's Licenses and Apps tab in the Microsoft 365 admin center matches the intended country code 49.
- Editing a resource account currently requires either the Global Admin role or the Skype for Business Administrator role combined with the User Administrator role 47.
Microsoft documents that assigning a toll service number in the Teams admin center can fail with the error "You need a phone system license", which is resolved by assigning the toll service number using PowerShell cmdlets instead 56.
Assignment Methods and PowerShell Parameters
The primary cmdlet for assigning numbers is Set-CsPhoneNumberAssignment, available in Teams PowerShell module 3.0.0 or later within commercial, GCC, GCCH, and DoD cloud instances 3012. Its parameter -NumberType (alias -PhoneNumberType) is mandatory for an assignment and supports exactly three values: DirectRouting, CallingPlan, and OperatorConnect 34. Teams Phone Mobile numbers are also assigned using -NumberType OperatorConnect, as no dedicated Teams Phone Mobile value exists 57.
Assigning a phone number automatically sets the EnterpriseVoiceEnabled attribute of the target user or resource account to True 24. Conversely, unassigning a number with Remove-CsPhoneNumberAssignment automatically sets EnterpriseVoiceEnabled to False 54.
Set-CsPhoneNumberAssignment -Identity <user> -PhoneNumberType <DirectRouting|CallingPlan|OperatorConnect> -TelephoneNumber <number>
``` <cite data-claim="teams-number-assignment-errors-numbertype-values"><a href="#claim-teams-number-assignment-errors-numbertype-values">34</a></cite>
When specifying `-TelephoneNumber`, the parameter accepts E.164 format (such as +12065551234) or the same digits without the plus sign, but the string cannot carry a `tel:` prefix <cite data-claim="teams-number-assignment-errors-no-tel-prefix"><a href="#claim-teams-number-assignment-errors-no-tel-prefix">31</a></cite>. For Direct Routing extensions, the value takes the format `+1206555000;ext=1234` or `1206555000;ext=1234` <cite data-claim="teams-number-assignment-errors-dr-extension-format"><a href="#claim-teams-number-assignment-errors-dr-extension-format">16</a></cite>.
In the Teams admin center, assigning from Voice > Phone numbers functions for Direct Routing only if the numbers were uploaded to Teams <cite data-claim="teams-number-assignment-errors-number-list-dr-upload"><a href="#claim-teams-number-assignment-errors-number-list-dr-upload">32</a></cite>. When assigning directly from a user profile in the admin center, an unuploaded Direct Routing number must be typed in manually rather than selected from a drop-down menu <cite data-claim="teams-number-assignment-errors-dr-manual-entry"><a href="#claim-teams-number-assignment-errors-dr-manual-entry">19</a></cite>. For resource accounts, the Teams admin center can assign only Direct Routing numbers without extensions; any Direct Routing number with an extension requires assignment through `Set-CsPhoneNumberAssignment` <cite data-claim="teams-number-assignment-errors-ra-dr-extension-tac"><a href="#claim-teams-number-assignment-errors-ra-dr-extension-tac">46</a></cite>.
Direct Routing users must be homed online, which is verified by checking that the user's `RegistrarPool` value is in the `infra.lync.com` domain <cite data-claim="teams-number-assignment-errors-dr-homed-online"><a href="#claim-teams-number-assignment-errors-dr-homed-online">17</a></cite>. Uploading Direct Routing numbers to Microsoft's telephone number management inventory is optional, as assigning an unuploaded number to a user automatically uploads it <cite data-claim="teams-number-assignment-errors-dr-upload-optional"><a href="#claim-teams-number-assignment-errors-dr-upload-optional">23</a></cite>. However, before Direct Routing numbers can be ported to Teams under another PSTN connectivity option, they must be unassigned from users and released from inventory using `New-CsOnlineTelephoneNumberReleaseOrder` <cite data-claim="teams-number-assignment-errors-dr-release-before-port"><a href="#claim-teams-number-assignment-errors-dr-release-before-port">22</a></cite>.
## On-Premises Synchronization Conflicts
In hybrid deployments with on-premises Active Directory, `Set-CsPhoneNumberAssignment` cannot assign a phone number to a user or resource account whose phone number is set on-premises and synchronized into Microsoft 365 <cite data-claim="teams-number-assignment-errors-onprem-synced-blocked"><a href="#claim-teams-number-assignment-errors-onprem-synced-blocked">44</a></cite>. A Calling Plan or Operator Connect number can be applied only after any number in the on-premises `msRTCSIP-Line` attribute has been cleared and that synchronization completes to Microsoft 365 <cite data-claim="teams-number-assignment-errors-hybrid-msrtcsip-line"><a href="#claim-teams-number-assignment-errors-hybrid-msrtcsip-line">27</a></cite>.
If `Get-CsOnlineUser` shows `OnPremLineUri` populated with an E.164 number, it indicates the number was assigned on-premises <cite data-claim="teams-number-assignment-errors-dr-onpremlineuri"><a href="#claim-teams-number-assignment-errors-dr-onpremlineuri">21</a></cite>. To manage that Direct Routing user online, an administrator must clear the value on-premises using `Set-CsUser -LineUri $null` within the Skype for Business Management Shell, allow directory synchronization to finish, and then execute the assignment via Teams PowerShell <cite data-claim="teams-number-assignment-errors-dr-onpremlineuri"><a href="#claim-teams-number-assignment-errors-dr-onpremlineuri">21</a></cite>. If a Direct Routing user's number remains managed on-premises, the administrator does not assign the number online, but instead enables the user by running `Set-CsPhoneNumberAssignment -Identity <user> -EnterpriseVoiceEnabled $true` <cite data-claim="teams-number-assignment-errors-dr-onprem-managed-ev"><a href="#claim-teams-number-assignment-errors-dr-onprem-managed-ev">20</a></cite>.
Moving a user from Direct Routing to Operator Connect requires a specific order of operations: unassign the Direct Routing number (first clearing `LineURI` on-premises if `OnPremLineUri` is populated), remove the user's online voice routing policy, acquire numbers from the operator, and assign the Operator Connect number after the operator uploads it <cite data-claim="teams-number-assignment-errors-oc-dr-move-sequence"><a href="#claim-teams-number-assignment-errors-oc-dr-move-sequence">36</a></cite>.
## Operator Connect and Inventory Availability
Under Operator Connect, support responsibilities are split: the operator handles telephone number provisioning and porting, while Microsoft handles Teams admin center functionality and the integration between Teams and Operator Connect <cite data-claim="teams-number-assignment-errors-oc-support-boundary"><a href="#claim-teams-number-assignment-errors-oc-support-boundary">42</a></cite>. Operator Connect numbers are uploaded directly to the customer's tenant by the operator once an order completes, becoming visible under Voice > Phone numbers <cite data-claim="teams-number-assignment-errors-oc-operator-uploads"><a href="#claim-teams-number-assignment-errors-oc-operator-uploads">40</a></cite>. Attempting to use the "Add phone numbers" wizard in the Teams admin center for Operator Connect redirects the administrator away from the console to the operating partner <cite data-claim="teams-number-assignment-errors-oc-wizard-redirect"><a href="#claim-teams-number-assignment-errors-oc-wizard-redirect">43</a></cite>. WarmTransfer's reading of the sources is that when an expected Operator Connect number is missing from tenant inventory, the administrator has no documented way to add it directly and must contact the operator, since only the operator uploads those numbers <cite data-claim="teams-number-assignment-errors-oc-missing-number-path"><a href="#claim-teams-number-assignment-errors-oc-missing-number-path">39</a></cite>.
Available number types and capabilities govern target assignments:
* Acceptable numbers for resource accounts are Calling Plans service numbers, Direct Routing numbers, and Operator Connect numbers <cite data-claim="teams-number-assignment-errors-ra-number-types"><a href="#claim-teams-number-assignment-errors-ra-number-types">50</a></cite>.
* Toll-free numbers can only be assigned to voice applications (auto attendants and call queues) and audio conferencing bridges, not to individual users <cite data-claim="teams-number-assignment-errors-toll-free-voice-apps"><a href="#claim-teams-number-assignment-errors-toll-free-voice-apps">55</a></cite>.
* Teams Phone defines three number usages: User (users or devices), Voice app (auto attendant and call queue resource accounts), and Conference (conference bridges) <cite data-claim="teams-number-assignment-errors-usage-types"><a href="#claim-teams-number-assignment-errors-usage-types">58</a></cite>.
* The "Change usage" option in the Teams admin center is offered only when a number's assignment status is Unassigned and the tenant has more available usages than licensed usages <cite data-claim="teams-number-assignment-errors-change-usage-unassigned"><a href="#claim-teams-number-assignment-errors-change-usage-unassigned">11</a></cite>.
## Emergency Location Rules
Emergency locations must be in the same country as the user and the phone number <cite data-claim="teams-number-assignment-errors-location-same-country"><a href="#claim-teams-number-assignment-errors-location-same-country">28</a></cite>. In addition, emergency addresses must be marked as validated before they can be assigned to a user or network identifier; addresses created using the map search in the Teams admin center validate automatically <cite data-claim="teams-number-assignment-errors-address-validated"><a href="#claim-teams-number-assignment-errors-address-validated">3</a></cite>.
Additional geographic and connectivity rules include:
* In Belgium, France, Germany, Ireland, the Netherlands, and Spain, activating a number in Microsoft 365 requires the emergency location address to match the number's area code <cite data-claim="teams-number-assignment-errors-area-code-match"><a href="#claim-teams-number-assignment-errors-area-code-match">5</a></cite>.
* For Calling Plan numbers in the United States and Canada, an emergency location is mandatory at the time the number is assigned to a user <cite data-claim="teams-number-assignment-errors-cp-location-us-ca"><a href="#claim-teams-number-assignment-errors-cp-location-us-ca">15</a></cite>. Outside the United States and Canada (such as in EMEA), the emergency location is required when obtaining or porting the number, rather than at user assignment <cite data-claim="teams-number-assignment-errors-cp-location-elsewhere"><a href="#claim-teams-number-assignment-errors-cp-location-elsewhere">14</a></cite>.
* Direct Routing allows an administrator to assign the phone number first, with emergency location assignment being optional <cite data-claim="teams-number-assignment-errors-dr-location-optional"><a href="#claim-teams-number-assignment-errors-dr-location-optional">18</a></cite>.
* For Operator Connect and Operator Connect Mobile, tenant administrator permissions to set, modify, or delete an emergency location depend on the carrier-assigned capabilities uploaded with the number <cite data-claim="teams-number-assignment-errors-oc-location-operator"><a href="#claim-teams-number-assignment-errors-oc-location-operator">38</a></cite><cite data-claim="teams-number-assignment-errors-oc-location-capability"><a href="#claim-teams-number-assignment-errors-oc-location-capability">37</a></cite>. Operators implement one of three arrangements: they assign addresses and allow admin changes, assign none and allow admin assignment, or assign addresses and prohibit admin changes (requiring changes to go through the operator) <cite data-claim="teams-number-assignment-errors-oc-address-scenarios"><a href="#claim-teams-number-assignment-errors-oc-address-scenarios">35</a></cite>.
Removing an emergency location by supplying the string `null` for `-LocationId` in `Set-CsPhoneNumberAssignment` is supported only for Direct Routing numbers and Operator Connect numbers not managed by the Service Desk <cite data-claim="teams-number-assignment-errors-locationid-remove"><a href="#claim-teams-number-assignment-errors-locationid-remove">29</a></cite>.
## State Inspection, Latency, and Assignment Blocks
Inventory and activation details are evaluated with `Get-CsPhoneNumberAssignment`:
* `ActivationState` reports `Activated`, `AssignmentPending`, `AssignmentFailed`, `UpdatePending`, or `UpdateFailed` <cite data-claim="teams-number-assignment-errors-activation-states"><a href="#claim-teams-number-assignment-errors-activation-states">2</a></cite>.
* `PstnAssignmentStatus` reports `Unassigned`, `UserAssigned`, `ConferenceAssigned`, `VoiceApplicationAssigned`, `ThirdPartyAppAssigned`, or `PolicyAssigned` <cite data-claim="teams-number-assignment-errors-pstn-status-values"><a href="#claim-teams-number-assignment-errors-pstn-status-values">45</a></cite>.
* `NumberSource` outputs `Online` for numbers assigned in Microsoft 365 and `OnPremises` for numbers synced from Active Directory <cite data-claim="teams-number-assignment-errors-numbersource"><a href="#claim-teams-number-assignment-errors-numbersource">33</a></cite>.
* The `-CapabilitiesContain` filter tests assignable targets using `ConferenceAssignment`, `VoiceApplicationAssignment`, `UserAssignment`, and `TeamsPhoneMobile` <cite data-claim="teams-number-assignment-errors-capability-values"><a href="#claim-teams-number-assignment-errors-capability-values">10</a></cite>.
After assignment, latency between Microsoft 365 and Teams can require up to 24 hours for the user to be enabled; if the number is still not correctly assigned after 24 hours, Microsoft directs administrators to the Phone Number Service Center <cite data-claim="teams-number-assignment-errors-24h-latency"><a href="#claim-teams-number-assignment-errors-24h-latency">1</a></cite>. Unassigning a number via `Remove-CsPhoneNumberAssignment` can take up to 10 minutes, and in rare cases up to 24 hours <cite data-claim="teams-number-assignment-errors-removal-timing"><a href="#claim-teams-number-assignment-errors-removal-timing">51</a></cite>. From Teams PowerShell module 4.2.1-preview onward, `Remove-CsPhoneNumberAssignment` reports errors by raising exceptions appended to `$Error` and honours `ErrorAction`, replacing the older result object containing `Code` and `Message` strings <cite data-claim="teams-number-assignment-errors-remove-error-model"><a href="#claim-teams-number-assignment-errors-remove-error-model">53</a></cite>.
If a number has an `AssignmentBlockedState` of `BlockedForever` or `BlockedUntil`, it cannot be assigned until an administrator clears the restriction using `Remove-CsPhoneNumberAssignmentBlock -TelephoneNumber` <cite data-claim="teams-number-assignment-errors-assignment-block"><a href="#claim-teams-number-assignment-errors-assignment-block">6</a></cite><cite data-claim="teams-number-assignment-errors-remove-block-cmdlet"><a href="#claim-teams-number-assignment-errors-remove-block-cmdlet">52</a></cite>. Regarding time-limited blocks, sources disagree: the `Remove-CsPhoneNumberAssignment` documentation indicates administrators can set a temporary block via `-AssignmentBlockedDays` (1 to 365 days), whereas the `Get-CsPhoneNumberAssignment` documentation states that the time-limited block (`BlockedUntil`) is currently not available <cite data-claim="teams-number-assignment-errors-block-days-available"><a href="#claim-teams-number-assignment-errors-block-days-available">7</a></cite><cite data-claim="teams-number-assignment-errors-block-days-unavailable"><a href="#claim-teams-number-assignment-errors-block-days-unavailable">8</a></cite>.
## See also
* [Microsoft Teams Calling Plans](/knowledge/teams-calling-plans)
* [Teams Phone Direct Routing and SBC certification](/knowledge/teams-direct-routing)
* [Teams Operator Connect and Azure Communication routing](/knowledge/teams-operator-connect)
* [Microsoft Teams auto attendants and call queues](/knowledge/teams-auto-attendant-call-queue)
* [Teams voice administration with PowerShell](/knowledge/teams-powershell-voice-admin)
## Applicability
Applies to: Microsoft Teams Phone, Microsoft Teams Phone - Operator Connect, MicrosoftTeams PowerShell module, Microsoft Teams Phone - Direct Routing, and Microsoft Teams Phone - Calling Plans. Deployments: cloud, hybrid, and multi-tenant. Sources checked 2026-09-30. Set-CsPhoneNumberAssignment is available in Teams PowerShell module 3.0.0 or later, with the Notify parameter arriving in 7.3.0 and alternate number assignment in 7.6.0 <cite data-claim="teams-number-assignment-errors-module-versions"><a href="#claim-teams-number-assignment-errors-module-versions">30</a></cite>. Set-CsPhoneNumberAssignment operates solely within commercial, GCC, GCCH, and DoD cloud environments <cite data-claim="teams-number-assignment-errors-cloud-availability"><a href="#claim-teams-number-assignment-errors-cloud-availability">12</a></cite>. Region-specific area-code matching rules apply to Belgium, France, Germany, Ireland, the Netherlands, and Spain <cite data-claim="teams-number-assignment-errors-area-code-match"><a href="#claim-teams-number-assignment-errors-area-code-match">5</a></cite>.
## What remains uncertain
* Which licence SKUs permit each NumberType for users and resource accounts is not covered by the sources below.
* A catalogue of exact Set-CsPhoneNumberAssignment and Teams admin center assignment error strings with causes is not covered by the sources below.
* The effect of changing a user's usage location after a number is already assigned is not covered by the sources below.
* Operator Connect number upload latency and what operators commit to is not covered by the sources below.
* Multi-line alternate and private number assignment rules and errors are not covered by the sources below.
* What causes ActivationState AssignmentFailed or UpdateFailed and how to clear them is not covered by the sources below.
* The delay between licence assignment and a user becoming assignable is not covered by the sources below.
* Shared Calling policy numbers and the PolicyAssigned status are not covered by the sources below.
See also
Referenced by
- Troubleshooting a missing Teams dial pad and PSTN calling — Number assignment sets Enterprise Voice automatically; failed assignments leave EV false and the dial pad missing
Sources
- 1After a number is assigned, it can take up to 24 hours for the user to be enabled because of latency between Microsoft 365 and Teams; if the number is not correctly assigned after 24 hours, Microsoft directs admins to the Phone Number Service Center.Manage phone numbers for users · Use PowerShell to assign a phone number to a user, first Note · Checked 2026-09-30
- 2Get-CsPhoneNumberAssignment reports an ActivationState for each number whose supported values are Activated, AssignmentPending, AssignmentFailed, UpdatePending and UpdateFailed.Get-CsPhoneNumberAssignment (MicrosoftTeams) · Parameters, -ActivationState · Checked 2026-09-30
- 3An emergency address must be marked as validated before it can be assigned to a user or to a network identifier; addresses defined through the address map search in the Teams admin center are marked validated automatically.Plan and manage emergency calling · Emergency address validation · Checked 2026-09-30
- 4Assigning, modifying or removing a user's phone number requires one of the roles Teams Administrator, Teams Communications Administrator or Teams Telephony Administrator.Manage phone numbers for users · Prerequisites, role list · Checked 2026-09-30
- 5To activate a phone number in Microsoft 365 in Belgium, France, Germany, Ireland, the Netherlands and Spain, the address in the emergency location must match the phone number's area code.Manage emergency locations - Microsoft Teams · Add an emergency location, Note · Checked 2026-09-30
- 6A number that carries an assignment block (AssignmentBlockedState of BlockedForever or BlockedUntil) cannot be assigned to another user until the block is removed.Get-CsPhoneNumberAssignment (MicrosoftTeams) · Example 14 and Example 15; Outputs, AssignmentBlockedState; Notes (introduced in 7.5.0) · Checked 2026-09-30
- 7Remove-CsPhoneNumberAssignment can set a time-limited assignment block on the number it unassigns through AssignmentBlockedDays, an integer from 1 through 365, after which the number automatically becomes assignable again.disputedRemove-CsPhoneNumberAssignment (MicrosoftTeams) · Parameters, -AssignmentBlockedDays; Example 6; Notes · Checked 2026-09-30
- 9A user who is to be assigned a Teams Calling Plan number must also have a Teams Calling Plan license.Manage phone numbers for users · Prerequisites, paragraph after the role list · Checked 2026-09-30
- 10A number's assignable targets are expressed as capabilities; the capability filter of Get-CsPhoneNumberAssignment supports ConferenceAssignment, VoiceApplicationAssignment, UserAssignment and TeamsPhoneMobile.Get-CsPhoneNumberAssignment (MicrosoftTeams) · Parameters, -CapabilitiesContain · Checked 2026-09-30
- 11The 'Change usage' option in the Teams admin center is offered only for a number whose assignment status is Unassigned and which has more available usages than licensed usages.Manage the usage of a phone number - Microsoft Teams · How to manage the usage of a phone number, step 3 sub-bullets · Checked 2026-09-30
- 12Set-CsPhoneNumberAssignment is available only in the commercial, GCC, GCCH and DoD cloud instances.Set-CsPhoneNumberAssignment (MicrosoftTeams) · Notes, second paragraph · Checked 2026-09-30
- 13When a phone number is assigned to a Teams user, the phone number and the user's usage location must be of the same country/region.Manage phone numbers for users · Prerequisites, second paragraph · Checked 2026-09-30
- 14For Calling Plan numbers outside the United States and Canada, such as in EMEA, the emergency location is required when the number is obtained from Microsoft 365 or ported in from another provider, not at the point of user assignment.Considerations for Calling Plans · Emergency call enablement for Calling Plans, second bullet · Checked 2026-09-30
- 15For Calling Plan numbers in the United States and Canada, an emergency location is required at the moment a number is assigned to a user.Considerations for Calling Plans · Emergency call enablement for Calling Plans, first bullet · Checked 2026-09-30
- 16Direct Routing numbers with extensions are assigned to a user or resource account in the form +1206555000;ext=1234 or 1206555000;ext=1234.Set-CsPhoneNumberAssignment (MicrosoftTeams) · Parameters, -TelephoneNumber, second paragraph; Example 6 · Checked 2026-09-30
- 17Direct Routing requires the user to be homed online, which is checked by confirming that the user's RegistrarPool value is in the infra.lync.com domain.Enable users for Direct Routing · Ensure that the user is homed online, second paragraph · Checked 2026-09-30
- 18For Direct Routing users the admin assigns the Direct Routing phone number and then optionally an emergency location.Manage emergency locations - Microsoft Teams · Assign an emergency location, Use the Microsoft Teams admin center, Direct Routing · Checked 2026-09-30
- 19When assigning from the user profile in the Teams admin center, a Direct Routing number that has not been uploaded to Teams is typed in manually rather than picked from the drop-down.Manage phone numbers for users · Use Teams admin center to assign a phone number to a user, tab 'Assign a number to a user from the user profile', step 6 · Checked 2026-09-30
- 20When a Direct Routing user's phone number is managed on-premises, the admin does not assign the number online but runs Set-CsPhoneNumberAssignment -Identity <user> -EnterpriseVoiceEnabled $true to make the user Enterprise Voice enabled online.Enable users for Direct Routing · Configure the phone number and enable enterprise voice, Use PowerShell, step 2 first bullet · Checked 2026-09-30
- 21If Get-CsOnlineUser shows OnPremLineUri populated with an E.164 number, the number was assigned on-premises and synchronized; to manage it online the admin clears it with Set-CsUser -LineUri $null in the on-premises Skype for Business Management Shell and waits for the sync before assigning with Teams PowerShell.Enable users for Direct Routing · Ensure that the user is homed online, steps 2 and 3 · Checked 2026-09-30
- 22Before Direct Routing numbers are ported to Teams under another PSTN connectivity option, they must be unassigned from users and released from Microsoft's telephone number management inventory with New-CsOnlineTelephoneNumberReleaseOrder.Enable users for Direct Routing · Order history, Note · Checked 2026-09-30
- 23Uploading Direct Routing numbers to Microsoft's telephone number management inventory is optional; assigning a Direct Routing number to a user uploads it automatically if it is not already there.Enable users for Direct Routing · Upload Direct Routing numbers to your tenant, third paragraph · Checked 2026-09-30
- 24Assigning a phone number automatically sets the EnterpriseVoiceEnabled attribute of the user or resource account to True.Set-CsPhoneNumberAssignment (MicrosoftTeams) · Description, first paragraph; also parameter -TelephoneNumber · Checked 2026-09-30
- 25A community thread reports a newly provisioned, licensed user for whom assignment failed in the Teams admin center with 'We can't save changes for the number right now. Try again later' and in PowerShell with a 'Bad Request' user-not-found error; the poster says Microsoft support completed the assignment after two to three days without disclosing a root cause.field reportUnable to assign a Teams Phone number to a brand new user account (Error: we can't save changes) · Original post and Reply 1 by manojviduranga, marked as solution · Checked 2026-09-30
- 26A community reply marked as the solution reports that assigning a number from a different country than the user's usage location works only with Direct Routing, and that Operator Connect and Calling Plans require the usage location to match the number.field reportMS Teams Phone Number Assignment and Usage Location · Reply 1 by LinusCansby, marked as solution · Checked 2026-09-30
- 27In a hybrid deployment with on-premises Active Directory, a Calling Plan or Operator Connect number can be assigned to a user or resource account only after any phone number in the on-premises msRTCSIP-Line attribute has been removed and that change has synchronized to Microsoft 365.Manage phone numbers for users · Prerequisites, second Note (hybrid deployment) · Checked 2026-09-30
- 28An emergency location can be assigned only when the location, the users and the phone numbers are all in the same country.Manage emergency locations - Microsoft Teams · Assign an emergency location, second paragraph · Checked 2026-09-30
- 29Removing the emergency location from a phone number, by passing the string null as LocationId, is supported only for Direct Routing numbers and for Operator Connect numbers that are not managed by the Service Desk.Set-CsPhoneNumberAssignment (MicrosoftTeams) · Parameters, -LocationId, second paragraph; Example 4 · Checked 2026-09-30
- 30Set-CsPhoneNumberAssignment is available in Teams PowerShell module 3.0.0 or later; the Notify parameter arrived in 7.3.0 and alternate number assignment in 7.6.0.Set-CsPhoneNumberAssignment (MicrosoftTeams) · Notes, first paragraph · Checked 2026-09-30
- 31The TelephoneNumber parameter of Set-CsPhoneNumberAssignment accepts E.164 format (for example +12065551234) and the same digits without the plus sign, and the number cannot carry a 'tel:' prefix.Set-CsPhoneNumberAssignment (MicrosoftTeams) · Parameters, -TelephoneNumber · Checked 2026-09-30
- 32In the Teams admin center, assigning from the Voice > Phone numbers list works for Direct Routing numbers only if the Direct Routing numbers were uploaded to Teams.Manage phone numbers for users · Use Teams admin center to assign a phone number to a user, tab 'Assign a number to a user from the phone number list' · Checked 2026-09-30
- 33The 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.Get-CsPhoneNumberAssignment (MicrosoftTeams) · Outputs, NumberSource; Notes (introduced in 5.7.0) · Checked 2026-09-30
- 34The NumberType parameter of Set-CsPhoneNumberAssignment (alias PhoneNumberType) is mandatory for an assignment and supports exactly the values DirectRouting, CallingPlan and OperatorConnect.Set-CsPhoneNumberAssignment (MicrosoftTeams) · Parameters, -NumberType · Checked 2026-09-30
- 35For Operator Connect numbers the operator implements one of three emergency address arrangements: it assigns addresses and lets the admin change them, it assigns none and lets the admin assign them, or it assigns them and does not let the admin change them, in which case changes go through the operator.Configure Operator Connect - Microsoft Teams · Assign numbers to emergency addresses · Checked 2026-09-30
- 36Moving a user from Direct Routing to Operator Connect follows the order: unassign the Direct Routing number (clearing LineURI on-premises first if OnPremLineUri is populated), remove the user's online voice routing policy, acquire numbers from the operator, then assign the Operator Connect number once the operator has uploaded it.Configure Operator Connect - Microsoft Teams · Move numbers from Direct Routing to Operator Connect, Steps 1 to 4 · Checked 2026-09-30
- 37Whether a tenant admin is required or able to set, modify or delete the emergency location of an Operator Connect user depends on the capabilities assigned to the number when the carrier uploads it into the customer's inventory.Considerations for Operator Connect · Emergency call enablement for Operator Connect, second paragraph · Checked 2026-09-30
- 38For Operator Connect and Operator Connect Mobile numbers, whether the tenant admin can assign or change the associated emergency location depends on the operator.Manage phone numbers for users · Use Teams admin center to assign a phone number to a user, Note after the emergency location step (both tabs) · Checked 2026-09-30
- 39When an expected Operator Connect number is not listed in the tenant, the tenant admin has no documented way to add it and the remedy runs through the operator, because only the operator uploads Operator Connect numbers.inferredConfigure Operator Connect - Microsoft Teams · Acquire numbers for new Teams users, steps 3 and 4 · Checked 2026-09-30
- 40Operator Connect numbers are uploaded to the customer's tenant by the operator once the operator completes the order, after which they are visible in the Teams admin center under Voice > Phone numbers.Configure Operator Connect - Microsoft Teams · Acquire numbers for new Teams users, step 4 · Checked 2026-09-30
- 41Users who will be assigned Operator Connect numbers need a Teams Phone (Phone System) license and must be in TeamsOnly mode.Configure Operator Connect - Microsoft Teams · Acquire numbers for new Teams users, steps 1 and 2 · Checked 2026-09-30
- 42Under Operator Connect the operator is responsible for telephone number provisioning and porting, while Microsoft is responsible for Teams admin center functionality and the integration between Teams and Operator Connect.Plan for Operator Connect · Support boundaries · Checked 2026-09-30
- 43Trying to add Operator Connect numbers through the 'Add phone numbers' wizard in the Teams admin center redirects the admin away from the Teams admin center to the operating partner.Get Operator Connect telephone numbers for your organization - Microsoft Teams · Considerations for getting Operator Connect numbers in your tenant · Checked 2026-09-30
- 44Set-CsPhoneNumberAssignment cannot set a phone number on a user or resource account whose phone number is set in on-premises Active Directory and synchronized into Microsoft 365; the number must first be cleared on-premises and that change allowed to sync.Set-CsPhoneNumberAssignment (MicrosoftTeams) · Notes, third paragraph · Checked 2026-09-30
- 45The PstnAssignmentStatus of a number takes one of the values Unassigned, UserAssigned, ConferenceAssigned, VoiceApplicationAssigned, ThirdPartyAppAssigned or PolicyAssigned.Get-CsPhoneNumberAssignment (MicrosoftTeams) · Parameters, -PstnAssignmentStatus · Checked 2026-09-30
- 46The Teams admin center can assign only Direct Routing numbers without extensions to a resource account; a Direct Routing number with an extension must be assigned with Set-CsPhoneNumberAssignment.Manage - Resource accounts for voice applications · Obtain phone numbers, Note · Checked 2026-09-30
- 47Editing a resource account currently requires either the Global Admin role or the Skype for Business Administrator role together with the User Administrator role.Manage - Resource accounts for voice applications · Assign permissions for managing a resource account, Note beginning 'Currently, when editing'; repeated under Edit a resource account · Checked 2026-09-30
- 48Each resource account needs a Microsoft Teams Phone Resource Account license to work with auto attendants and call queues.Manage - Resource accounts for voice applications · Obtain Microsoft Teams Phone Resource Account licenses, first paragraph; Assign a license · Checked 2026-09-30
- 49For a resource account that needs a phone number, Microsoft tells admins to check that the 'Select location' value on the account's Licenses and Apps tab in the Microsoft 365 admin center matches the intended country code.Manage - Resource accounts for voice applications · Assign a license, Note · Checked 2026-09-30
- 50The phone numbers that can be applied to a resource account are Calling Plans service numbers, Direct Routing numbers and Operator Connect numbers.Manage - Resource accounts for voice applications · Obtain phone numbers, 'Acceptable phone numbers' list · Checked 2026-09-30
- 51Removing a phone number from a user with Remove-CsPhoneNumberAssignment may take up to 10 minutes and in rare cases up to 24 hours to take effect.Configure Operator Connect - Microsoft Teams · Move numbers from Direct Routing to Operator Connect, Step 1, paragraph after the Remove-CsPhoneNumberAssignment code block · Checked 2026-09-30
- 52An admin removes an assignment block from a number with Remove-CsPhoneNumberAssignmentBlock -TelephoneNumber.Remove-CsPhoneNumberAssignmentBlock (MicrosoftTeams) · Description; Example 1 · Checked 2026-09-30
- 53From Teams PowerShell module 4.2.1-preview onward, Remove-CsPhoneNumberAssignment reports a failure by raising an exception appended to $Error and honours ErrorAction, where earlier versions returned a result object with Code and Message strings.Remove-CsPhoneNumberAssignment (MicrosoftTeams) · Description, third paragraph and Note · Checked 2026-09-30
- 54Unassigning a phone number with Remove-CsPhoneNumberAssignment automatically sets EnterpriseVoiceEnabled to False on the user or resource account.Remove-CsPhoneNumberAssignment (MicrosoftTeams) · Description, second paragraph · Checked 2026-09-30
- 55Toll-free numbers can be assigned only to voice apps (auto attendants and call queues) and audio conferencing bridges, not to users.Manage the usage of a phone number - Microsoft Teams · Introduction, 'Before changing the usage of a number', second bullet · Checked 2026-09-30
- 56Microsoft documents that assigning a toll service number in the Teams admin center can fail with the error 'You need a phone system license', and that the resolution is to assign the toll service number with PowerShell cmdlets instead.You need a phone system license error when you assign a toll service number - Microsoft Teams · Symptoms; Resolution · Checked 2026-09-30
- 57Teams Phone Mobile numbers are assigned with Set-CsPhoneNumberAssignment using the number type OperatorConnect; there is no separate Teams Phone Mobile value.Manage phone numbers for users · Use PowerShell to assign a phone number to a user, 'For Teams Phone Mobile numbers' code block · Checked 2026-09-30
- 58Teams Phone defines three number usages: User for numbers assigned to users or devices, Voice app for numbers assigned to the resource accounts of auto attendants and call queues, and Conference for numbers assigned to conference bridges.Acquire phone numbers for your organization - Microsoft Teams · Number usage types, table · Checked 2026-09-30
Documents
Acquire phone numbers for your organization - Microsoft Teams
Configure Operator Connect - Microsoft Teams
Considerations for Calling Plans
Considerations for Operator Connect
Enable users for Direct Routing
Get Operator Connect telephone numbers for your organization - Microsoft Teams
Get-CsPhoneNumberAssignment (MicrosoftTeams)
Manage - Resource accounts for voice applications
Manage emergency locations - Microsoft Teams
Manage phone numbers for users
Manage the usage of a phone number - Microsoft Teams
Plan and manage emergency calling
Plan for Operator Connect
Remove-CsPhoneNumberAssignment (MicrosoftTeams)
Remove-CsPhoneNumberAssignmentBlock (MicrosoftTeams)
Set-CsPhoneNumberAssignment (MicrosoftTeams)
You need a phone system license error when you assign a toll service number - Microsoft Teams
MS Teams Phone Number Assignment and Usage Location
Unable to assign a Teams Phone number to a brand new user account (Error: we can't save changes)
Cite this page
APA
WarmTransfer. (2026, September 30). Troubleshooting Teams phone number assignment errors. WarmTransfer. https://warmtransfer.net/knowledge/teams-number-assignment-errors
BibTeX
@misc{warmtransfer-teams-number-assignment-errors,
title = {Troubleshooting Teams phone number assignment errors},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/teams-number-assignment-errors},
note = {Verified 2026-09-30}
}