{"id":255146,"date":"2024-07-25T17:13:32","date_gmt":"2024-07-26T00:13:32","guid":{"rendered":"https:\/\/www.quixtec.com\/?p=255146"},"modified":"2024-08-02T11:19:39","modified_gmt":"2024-08-02T18:19:39","slug":"mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet","status":"publish","type":"post","link":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/","title":{"rendered":"Update to Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">MC720181 Microsoft Teams, Microsoft 365 Experts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">From Microsoft Corporation<br>Technical Bulletin MC720181 Published Feb 28, 2024<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Summary<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The message announces an update to the Teams PowerShell Module. The LocationPolicy, OptionFlags, and VoicePolicy attributes will be retired from Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlets. This change will be implemented in March 2024. Administrators will need to use the Teams PowerShell Module cmdlets to get LocationPolicy and VoicePolicy information. Detailed instructions are provided in the message.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Details<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ufeffWe will be retiring&nbsp;LocationPolicy, OptionFlags and VoicePolicy attributes from&nbsp;<code>Get-CsOnlineUser<\/code>&nbsp;and&nbsp;<code>Get-CsUserPolicyAssignment<\/code>&nbsp;cmdlets in the Teams PowerShell Module, If you are using these cmdlets to get&nbsp;<code>LocationPolicy<\/code>,&nbsp;<code>VoicePolicy<\/code>, or&nbsp;<code>OptionFlags<\/code>&nbsp;review the information below for additional details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>When will this happen:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The retirement is planned to happen in March 2024.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How this will affect your organization:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When this change is implemented:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Administrators will no longer see\u00a0<code>LocationPolicy<\/code>\u00a0attribute in the output of the\u00a0<code>Get-CsOnlineUser<\/code>\u00a0cmdlet in Teams PowerShell Module version 6.1.0 (planned to be released on 15th March 2024) and any later versions. Whereas for older Teams PowerShell Module versions (&lt;6.1.0)\u00a0<code>LocationPolicy<\/code>\u00a0will no longer be populated starting from 20th March 2024.<\/li>\n\n\n\n<li>Administrators will no longer see\u00a0<code>LocationPolicy<\/code>\u00a0and\u00a0<code>VoicePolicy<\/code>\u00a0attributes in the output of the\u00a0<code>Get-CsUserPolicyAssignment<\/code>\u00a0cmdlet in Teams PowerShell Module version 6.1.0 (planned to be released on 15th March 2024) and any later versions. Whereas for older Teams PowerShell Module versions (&lt;6.1.0)\u00a0<code>LocationPolicy<\/code>\u00a0and\u00a0<code>VoicePolicy<\/code>\u00a0will no longer be populated starting from 20th March 2024.<\/li>\n\n\n\n<li>Administrators will see\u00a0<code>OptionFlags<\/code>\u00a0attribute as empty in the output of the\u00a0<code>Get-CsOnlineUser<\/code>\u00a0cmdlet in all existing Teams PowerShell Module versions (&lt;=6.1.0) and any new versions (>6.1.0) that releases after March 20th, 2024.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What you need to do to prepare:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When this change is implemented,<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Administrators will no longer be able to get the LocationPolicy and\u00a0<code>OptionFlags<\/code>\u00a0from\u00a0<code>Get-CsOnlineUser<\/code>\u00a0cmdlet. Instead, administrators will need to use the Teams PowerShell Module cmdlets:\u00a0<code>Get-CsPhoneNumberAssignment -IsoCountryCode<\/code>\u00a0to get the\u00a0<code>LocationPolicy<\/code>\u00a0information. It&#8217;s important to note that other details besides\u00a0<code>EnterpriseVoiceEnabled<\/code>, previously found in\u00a0<code>OptionFlags<\/code>, are no longer relevant for Teams. Administrators can still utilize the\u00a0<code>EnterpriseVoiceEnabled<\/code>\u00a0attribute in the output of the\u00a0<code>Get-CsOnlineUser<\/code>\u00a0cmdlet to get this information.<\/li>\n\n\n\n<li>Administrators will no longer be able to get the\u00a0<code>LocationPolicy<\/code>\u00a0and\u00a0<code>VoicePolicy<\/code>\u00a0from\u00a0<code>Get-CsUserPolicyAssignment<\/code>\u00a0cmdlet. Instead, administrators will need to use the Teams PowerShell Module cmdlets:\u00a0<code>Get-CsPhoneNumberAssignment -IsoCountryCode<\/code>\u00a0to get the\u00a0<code>LocationPolicy<\/code>\u00a0information.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Detailed instructions on how to use these cmdlets are provided in&nbsp;<a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csphonenumberassignment\" target=\"_blank\" rel=\"noreferrer noopener\">Get-CsPhoneNumberAssignment<\/a>,&nbsp;<a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/skype\/get-csonlineuser\" target=\"_blank\" rel=\"noreferrer noopener\">Get-CsOnlineUser<\/a>,&nbsp;<a href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csuserpolicyassignment\" target=\"_blank\" rel=\"noreferrer noopener\">Get-CsUserPolicyAssignment<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a target=\"_blank\" href=\"https:\/\/learn.microsoft.com\/powershell\/module\/teams\/get-csphonenumberassignment\" rel=\"noreferrer noopener\">Additional information<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MC720181 Microsoft Teams, Microsoft 365 Experts From Microsoft CorporationTechnical Bulletin MC720181 Published Feb 28, 2024 Summary The message announces an update to the Teams PowerShell Module. The LocationPolicy, OptionFlags, and VoicePolicy attributes will be retired from Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlets. This change will be implemented in March 2024. Administrators will need to use the Teams [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":241511,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[32],"tags":[12,27,5],"class_list":["post-255146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-teams","tag-admin-impact","tag-major-update","tag-retirement"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Update to Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module - QuixTec, LLC<\/title>\n<meta name=\"description\" content=\"MC720181 Microsoft Teams, RETIREMENT: retiring LocationPolicy, OptionFlags and VoicePolicy attributes from Get-CsOnlineUser and Get-CsUserPolicyAssignment\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Update to Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module - QuixTec, LLC\" \/>\n<meta property=\"og:description\" content=\"MC720181 Microsoft Teams, RETIREMENT: retiring LocationPolicy, OptionFlags and VoicePolicy attributes from Get-CsOnlineUser and Get-CsUserPolicyAssignment\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/\" \/>\n<meta property=\"og:site_name\" content=\"QuixTec, LLC\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/quixtec\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-26T00:13:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-02T18:19:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.quixtec.com\/blog\/wp-content\/uploads\/2021\/08\/22007852_CurtainReveal-NewTEAMSFeature_m.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1100\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Richard\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Richard\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Update to Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module - QuixTec, LLC","description":"MC720181 Microsoft Teams, RETIREMENT: retiring LocationPolicy, OptionFlags and VoicePolicy attributes from Get-CsOnlineUser and Get-CsUserPolicyAssignment","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/","og_locale":"en_US","og_type":"article","og_title":"Update to Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module - QuixTec, LLC","og_description":"MC720181 Microsoft Teams, RETIREMENT: retiring LocationPolicy, OptionFlags and VoicePolicy attributes from Get-CsOnlineUser and Get-CsUserPolicyAssignment","og_url":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/","og_site_name":"QuixTec, LLC","article_publisher":"https:\/\/www.facebook.com\/quixtec\/","article_published_time":"2024-07-26T00:13:32+00:00","article_modified_time":"2024-08-02T18:19:39+00:00","og_image":[{"width":1920,"height":1100,"url":"https:\/\/www.quixtec.com\/blog\/wp-content\/uploads\/2021\/08\/22007852_CurtainReveal-NewTEAMSFeature_m.jpg","type":"image\/jpeg"}],"author":"Richard","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Richard","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/#article","isPartOf":{"@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/"},"author":{"name":"Richard","@id":"\/#\/schema\/person\/6ec8cda267efc92e5b03031e9dedd4d9"},"headline":"Update to Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module","datePublished":"2024-07-26T00:13:32+00:00","dateModified":"2024-08-02T18:19:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/"},"wordCount":385,"publisher":{"@id":"\/#organization"},"image":{"@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.quixtec.com\/blog\/wp-content\/uploads\/2021\/08\/22007852_CurtainReveal-NewTEAMSFeature_m.jpg","keywords":["Admin Impact","Major Update","Retirement"],"articleSection":["Microsoft Teams"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/","url":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/","name":"Update to Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module - QuixTec, LLC","isPartOf":{"@id":"\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/#primaryimage"},"image":{"@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/#primaryimage"},"thumbnailUrl":"https:\/\/www.quixtec.com\/blog\/wp-content\/uploads\/2021\/08\/22007852_CurtainReveal-NewTEAMSFeature_m.jpg","datePublished":"2024-07-26T00:13:32+00:00","dateModified":"2024-08-02T18:19:39+00:00","description":"MC720181 Microsoft Teams, RETIREMENT: retiring LocationPolicy, OptionFlags and VoicePolicy attributes from Get-CsOnlineUser and Get-CsUserPolicyAssignment","breadcrumb":{"@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/#primaryimage","url":"https:\/\/www.quixtec.com\/blog\/wp-content\/uploads\/2021\/08\/22007852_CurtainReveal-NewTEAMSFeature_m.jpg","contentUrl":"https:\/\/www.quixtec.com\/blog\/wp-content\/uploads\/2021\/08\/22007852_CurtainReveal-NewTEAMSFeature_m.jpg","width":1920,"height":1100,"caption":"Microsoft Teams Technical Bulletin"},{"@type":"BreadcrumbList","@id":"https:\/\/www.quixtec.com\/blog\/mc720181-update-to-get-csonlineuser-and-get-csuserpolicyassignment-cmdlet\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.quixtec.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Update to Get-CsOnlineUser and Get-CsUserPolicyAssignment cmdlet in the Teams PowerShell Module"}]},{"@type":"WebSite","@id":"\/#website","url":"\/","name":"QuixTec, LLC","description":"Software Development, Training and Support for your Business","publisher":{"@id":"\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"\/#organization","name":"QuixTec, LLC","url":"\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"\/#\/schema\/logo\/image\/","url":"https:\/\/www.quixtec.com\/blog\/blog\/wp-content\/uploads\/2021\/05\/logo-high-res.png","contentUrl":"https:\/\/www.quixtec.com\/blog\/blog\/wp-content\/uploads\/2021\/05\/logo-high-res.png","width":1920,"height":494,"caption":"QuixTec, LLC"},"image":{"@id":"\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/quixtec\/"]},{"@type":"Person","@id":"\/#\/schema\/person\/6ec8cda267efc92e5b03031e9dedd4d9","name":"Richard","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c06361ece30855d72bb3edccc0e8824ab4ab227f7c5dcd92b5413a6f883cc9f4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c06361ece30855d72bb3edccc0e8824ab4ab227f7c5dcd92b5413a6f883cc9f4?s=96&d=mm&r=g","caption":"Richard"},"description":"In a world where information technology has become complex and untenable we remove all your frustrations dealing with the overwhelming complications by simplifying technology decisions, budget management and implementation.","sameAs":["http:\/\/https\/\/www.quixtec.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/posts\/255146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/comments?post=255146"}],"version-history":[{"count":1,"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/posts\/255146\/revisions"}],"predecessor-version":[{"id":255147,"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/posts\/255146\/revisions\/255147"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/media\/241511"}],"wp:attachment":[{"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/media?parent=255146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/categories?post=255146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quixtec.com\/blog\/wp-json\/wp\/v2\/tags?post=255146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}