{"id":9206,"date":"2024-12-07T09:02:58","date_gmt":"2024-12-07T00:02:58","guid":{"rendered":"https:\/\/m365jp.net\/?p=9206"},"modified":"2024-12-07T09:14:33","modified_gmt":"2024-12-07T00:14:33","slug":"mc950879-update-to-get-csdialplan-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet-in-the-teams-powershell-module","status":"publish","type":"post","link":"https:\/\/m365jp.net\/index.php\/2024-12-07-mc950879-update-to-get-csdialplan-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet-in-the-teams-powershell-module","title":{"rendered":"MC950879 | Update to Get-CsDialPlan, Get-CsOnlineUser, and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module"},"content":{"rendered":"<div class=\"postie-post\">\n<div>\n<hr>\n<table id=\"section\">\n<tbody>\n<tr>\n<th width=\"95%\">MC950879 | Update to Get-CsDialPlan, Get-CsOnlineUser, and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module<\/th>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<table id=\"data\">\n<tbody>\n<tr>\n<th>Classification<\/th>\n<td>planForChange<\/td>\n<\/tr>\n<tr>\n<th>Last Updated<\/th>\n<td>12\/06\/2024 23:38:47<\/td>\n<\/tr>\n<tr>\n<th>Start Time<\/th>\n<td>12\/06\/2024 23:38:00<\/td>\n<\/tr>\n<tr>\n<th>End Time<\/th>\n<td>03\/31\/2025 07:00:00<\/td>\n<\/tr>\n<tr>\n<th>Message Content<\/th>\n<td>\n<p>There are important changes coming to a few Teams PowerShell cmdlets. Starting January 2025, we will be deprecating  <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csdialplan?view=teams-ps\" target=\"_blank\">  Get-CsDialPlan<\/a> cmdlet. We will also be deprecating DialPlan attribute from <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/teams\/get-csonlineuser?view=teams-ps\" target=\"_blank\">  Get-CsOnlineUser<\/a> and LocationProfile attribute from <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/teams\/get-csuserpolicyassignment?view=teams-ps\" target=\"_blank\">  Get-CsUserPolicyAssignment<\/a> cmdlet. If you are using DialPlan or LocationProfile attribute found in these cmdlets, please stop using them.<\/p>\n<p>[How this will affect your organization:]  <\/p>\n<p>You are receiving this message because our reporting indicates your organization may be using Microsoft Teams Phone services. When this change is implemented,  <\/p>\n<ul>\n<li>Administrators will no longer be able to use <b>Get-CsDialPlan<\/b> cmdlet.  <\/li>\n<li>Administrators will no longer be able to get <b>DialPlan <\/b>from <b>Get-CsOnlineUser<\/b> cmdlets.  <\/li>\n<li>Administrators will no longer be able to get <b>LocationProfile <\/b>from <b>Get-CsUserPolicyAssignment<\/b> cmdlet.<\/li>\n<\/ul>\n<p>DialPlan and LocationProfile are Microsoft internal use only attributes and we believe Microsoft Teams Phone administrators do not have any direct usage for these. To understand the effective dial plan please use:  <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/teams\/get-cseffectivetenantdialplan?view=teams-ps\" target=\"_blank\">  Get-CsEffectiveTenantDialPlan<\/a>.<\/p>\n<p>  <\/p>\n<p>We will gradually roll out this change to customers in early January 2025, and we expect to complete by mid January 2025.<\/p>\n<p>  <\/p>\n<p>[What you need to do to prepare:]  <\/p>\n<p>This change will happen automatically, no admin action is required. Please notify your admins about this change, update relevant documentation and automations as appropriate.<\/p>\n<p>  <\/p>\n<p>Detailed instructions on these cmdlets are provided in <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csonlineuser?view=teams-ps\" target=\"_blank\">  Get-CsOnlineUser<\/a>, <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csuserpolicyassignment?view=teams-ps\" target=\"_blank\">  Get-CsUserPolicyAssignmen<\/a>t, <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-cseffectivetenantdialplan?view=teams-ps\" target=\"_blank\">  Get-CsEffectiveTenantDialPlan<\/a>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<th>Machine Translation<\/th>\n<td>\n<p>\u3044\u304f\u3064\u304b\u306e Teams PowerShell \u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306b\u306f\u91cd\u8981\u306a\u5909\u66f4\u304c\u52a0\u3048\u3089\u308c\u307e\u3059\u30022025 \u5e74 1 \u6708\u3088\u308a\u3001 <a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csdialplan?view=teams-ps\" target=\"_blank\">  Get-CsDialPlan<\/a> \u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306f\u5ec3\u6b62\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u3001 <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/teams\/get-csonlineuser?view=teams-ps\" target=\"_blank\">  Get-CsOnlineUser<\/a> \u306e DialPlan \u5c5e\u6027\u3068 <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/teams\/get-csuserpolicyassignment?view=teams-ps\" target=\"_blank\">  Get-CsUserPolicyAssignment<\/a> \u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306e LocationProfile \u5c5e\u6027\u3082\u975e\u63a8\u5968\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306b\u3042\u308b DialPlan \u5c5e\u6027\u307e\u305f\u306f LocationProfile \u5c5e\u6027\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4f7f\u7528\u3092\u4e2d\u6b62\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>[\u3053\u308c\u304c\u3042\u306a\u305f\u306e\u7d44\u7e54\u306b\u3069\u306e\u3088\u3046\u306b\u5f71\u97ff\u3057\u307e\u3059\u304b:]<\/p>\n<p>\u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u306f\u3001\u30ec\u30dd\u30fc\u30c8\u304c\u7d44\u7e54\u304c Microsoft Teams \u96fb\u8a71\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002\u3053\u306e\u5909\u66f4\u304c\u5b9f\u88c5\u3055\u308c\u308b\u3068\u3001<\/p>\n<ul>\n<li>\u7ba1\u7406\u8005\u306f <b>Get-CsDialPlan<\/b> \u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u4f7f\u7528\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u7ba1\u7406\u8005\u306f<b>\u3001Get-CsOnlineUser<\/b> \u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u304b\u3089 <b>DialPlan <\/b>\u3092\u53d6\u5f97\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<li>\u7ba1\u7406\u8005\u306f\u3001<b>Get-CsUserPolicyAssignment<\/b> \u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u304b\u3089 <b>LocationProfile <\/b>\u3092\u53d6\u5f97\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>DialPlan \u3068 LocationProfile \u306f Microsoft \u306e\u5185\u90e8\u4f7f\u7528\u306e\u307f\u306e\u5c5e\u6027\u3067\u3042\u308a\u3001Microsoft Teams \u96fb\u8a71\u7ba1\u7406\u8005\u306f\u3053\u308c\u3089\u3092\u76f4\u63a5\u4f7f\u7528\u3057\u306a\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002\u6709\u52b9\u306a\u30c0\u30a4\u30e4\u30eb \u30d7\u30e9\u30f3\u3092\u7406\u89e3\u3059\u308b\u306b\u306f\u3001  <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/teams\/get-cseffectivetenantdialplan?view=teams-ps\" target=\"_blank\">  Get-CsEffectiveTenantDialPlan<\/a> \u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>  <\/p>\n<p>\u3053\u306e\u5909\u66f4\u306f 2025 \u5e74 1 \u6708\u4e0a\u65ec\u306b\u6bb5\u968e\u7684\u306b\u304a\u5ba2\u69d8\u306b\u5c55\u958b\u3057\u30012025 \u5e74 1 \u6708\u4e2d\u65ec\u307e\u3067\u306b\u5b8c\u4e86\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<p>  <\/p>\n<p>\u3010\u6e96\u5099\u306b\u5fc5\u8981\u306a\u3053\u3068\u3011<\/p>\n<p>\u3053\u306e\u5909\u66f4\u306f\u81ea\u52d5\u7684\u306b\u884c\u308f\u308c\u308b\u305f\u3081\u3001\u7ba1\u7406\u8005\u306e\u64cd\u4f5c\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u5909\u66f4\u306b\u3064\u3044\u3066\u7ba1\u7406\u8005\u306b\u901a\u77e5\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u95a2\u9023\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u81ea\u52d5\u5316\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>  <\/p>\n<p>\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u306e\u8a73\u7d30\u306a\u624b\u9806\u306b\u3064\u3044\u3066\u306f\u3001\u300c<a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csonlineuser?view=teams-ps\" target=\"_blank\">Get-CsOnlineUser\u300d\u3001\u300c<\/a><a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csuserpolicyassignment?view=teams-ps\" target=\"_blank\">Get-CsUserPolicyAssignmen<\/a>\u300d\u3001\u300c<a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-cseffectivetenantdialplan?view=teams-ps\" target=\"_blank\">Get-CsEffectiveTenantDialPlan<\/a>\u300d\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>MC950879 | Update to Get-CsDialPlan, Get-CsOnlineUser, and Get-CsUserPolicyAssignment cmdlet in the Teams Powe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9206","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts\/9206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/comments?post=9206"}],"version-history":[{"count":0,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/posts\/9206\/revisions"}],"wp:attachment":[{"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/media?parent=9206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/categories?post=9206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/m365jp.net\/index.php\/wp-json\/wp\/v2\/tags?post=9206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}