Skip to content

Want to filter, watch and bookmark items? Sign in to check out the full ChangePilot feature set.

Plan for change Admin Medium User Low Ask about this change Watch Bookmark Labels

MC950879 Update to Get-CsDialPlan, Get-CsOnlineUser, and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module

Primary service: Teams

ChangePilot summary

  • Starting January 2025, the Get-CsDialPlan cmdlet will be deprecated, along with the DialPlan attribute from Get-CsOnlineUser and LocationProfile attribute from Get-CsUserPolicyAssignment.
  • Administrators will no longer have access to DialPlan and LocationProfile attributes.
  • Suggested alternative for understanding the effective dial plan is the Get-CsEffectiveTenantDialPlan cmdlet.
  • No admin action but may necessitate updates to documentation and automations.

History

Recorded changes
  1. The rollout timeline has been updated from "late February 2025" to "mid-March 2025".
  2. The deprecation date for the cmdlets has been delayed from January 2025 to mid-February 2025, with completion expected by late February 2025.
  3. The deprecation date for the cmdlets has been delayed from January 2025 to mid-February 2025, with completion expected by late February 2025.

Microsoft message

Updated March 5, 2025: We have updated the rollout timeline below. Thank you for your patience.

Based on customer feedback, we have decided to delay the deprecation of Get-CsDialPlan, Get-CsOnlineUser, and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module. We will gradually roll out this change to customers in mid-February 2025 and we expect to complete by mid-March 2025 (previously late February)

Here are more details on the change:

There are important changes coming to a few Teams PowerShell cmdlets. Starting mid-February 2025, we will be deprecating https://learn.microsoft.com/powershell/module/teams/get-csdialplan?view=teams-ps cmdlet. We will also be deprecating DialPlan attribute from https://learn.microsoft.com/en-us/powershell/module/teams/get-csonlineuser?view=teams-ps and LocationProfile attribute from https://learn.microsoft.com/en-us/powershell/module/teams/get-csuserpolicyassignment?view=teams-ps cmdlet. If you are using DialPlan or LocationProfile attribute found in these cmdlets, please stop using them.

[How this will affect your organization:]

You are receiving this message because our reporting indicates your organization may be using Microsoft Teams Phone services. When this change is implemented,

Administrators will no longer be able to use Get-CsDialPlan cmdlet.

Administrators will no longer be able to get DialPlan from Get-CsOnlineUser cmdlets.

Administrators will no longer be able to get LocationProfile from Get-CsUserPolicyAssignment cmdlet.

To understand the effective dial plan please use: https://learn.microsoft.com/en-us/powershell/module/teams/get-cseffectivetenantdialplan?view=teams-ps

[What you need to do to prepare:]

This change will happen automatically, no admin action is required. Please notify your admins about this change, update relevant documentation and automations as appropriate.

Detailed instructions on these cmdlets are provided in:

Get-CsOnlineUser (MicrosoftTeamsPowerShell) | Microsoft Learn

Get-CsUserPolicyAssignment (MicrosoftTeamsPowerShell) | Microsoft Learn

Get-CsEffectiveTenantDialPlan (MicrosoftTeamsPowerShell) | Microsoft Learn


More information

Details

Preview start
Preview end
Release start
Release end
Published by Microsoft
Updated by Microsoft

Services

  • Teams

Category

  • Plan for change

Microsoft tags

  • Admin Action
  • Retirement
Open in the Microsoft 365 admin center