{"id":2057,"date":"2020-12-10T20:41:19","date_gmt":"2020-12-10T20:41:19","guid":{"rendered":"https:\/\/modern-workplace.uk\/?p=2057"},"modified":"2020-12-10T20:41:19","modified_gmt":"2020-12-10T20:41:19","slug":"teams-hybrid-deployment-with-sfb-organization-cannot-be-upgraded-to-teamsonly","status":"publish","type":"post","link":"https:\/\/modern-workplace.uk\/?p=2057","title":{"rendered":"Teams (Hybrid Deployment with SfB) &#8211; Organization Cannot be Upgraded to TeamsOnly"},"content":{"rendered":"\n<p>A few days ago, I was trying to change the Teams Upgrade policy of a tenant from &#8220;<strong>Skype for Business with Teams collaboration<\/strong>&#8221; to &#8220;<strong>Teams Only<\/strong>&#8220;.<\/p>\n\n\n\n<p>The company still had an (empty) Skype for Business on-premises deployment, but all the users were already migrated to Teams and had user lever upgrade policies<\/p>\n\n\n\n<p>My assumption was that the user policy was (eventually) going to have a priority over the tenant level (which is exactly the scenario I had already, but with a large part of the users having &#8220;<strong>Skype for Business with Teams collaboration<\/strong>&#8221; replaced by &#8220;<strong>Teams Only<\/strong>&#8221; at the user level as in the screenshot below)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/User.jpg\" alt=\"\" class=\"wp-image-2060\" width=\"240\" height=\"203\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/User.jpg 709w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/User-300x253.jpg 300w\" sizes=\"auto, (max-width: 240px) 100vw, 240px\" \/><figcaption>Teams Upgrade Policy &#8211; User Level<\/figcaption><\/figure>\n\n\n\n<p>Next step, I have gone to the tenant <strong>Teams Upgrade<\/strong> tab and selected &#8220;<strong>Teams Only<\/strong>&#8221; a a coexistence mode<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-09-162617-1024x531.jpg\" alt=\"\" class=\"wp-image-2059\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-09-162617-1024x531.jpg 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-09-162617-300x155.jpg 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-09-162617-768x398.jpg 768w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-09-162617-1536x796.jpg 1536w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-09-162617-2048x1061.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Teams Upgrade &#8211; Tenant Level<\/figcaption><\/figure>\n\n\n\n<p>Hitting the Save button, the result was the one you can see below. Not much of an hint about the motivation<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"302\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-09-162712-1024x302.jpg\" alt=\"\" class=\"wp-image-2058\"\/><figcaption>Teams Upgrade &#8211; Error<\/figcaption><\/figure>\n\n\n\n<p>Usually using the Skype for Business Online PowerShell Module gives a bit more information. Looking at <em><span class=\"has-inline-color has-luminous-vivid-amber-color\">Get-CsTeamsUpgradePolicy<\/span><\/em> I had a list of policies. Global was the one I was interested in modifying<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"343\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Get-CSTeamsUpgradepolicy-1.jpg\" alt=\"\" class=\"wp-image-2062\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Get-CSTeamsUpgradepolicy-1.jpg 906w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Get-CSTeamsUpgradepolicy-1-300x114.jpg 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Get-CSTeamsUpgradepolicy-1-768x291.jpg 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><figcaption>Get-CsTeamsUpgradePolicy<\/figcaption><\/figure>\n\n\n\n<p>Ok, looks like I could get the work done using <em><span class=\"has-inline-color has-luminous-vivid-amber-color\">Set-CsTeamsUpgradePolicy<\/span><\/em> (I should be able to change the mode for the Global policy). What I obtained was another error. The command is not available, even if there is still a Doc.Microsoft.Com page for it <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/skype\/set-csteamsupgradepolicy?view=skype-ps\" data-type=\"URL\" data-id=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/skype\/set-csteamsupgradepolicy?view=skype-ps\">https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/skype\/set-csteamsupgradepolicy?view=skype-ps<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"205\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Set-CSTeamsUpgradepolicy-1024x205.jpg\" alt=\"\" class=\"wp-image-2069\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Set-CSTeamsUpgradepolicy-1024x205.jpg 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Set-CSTeamsUpgradepolicy-300x60.jpg 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Set-CSTeamsUpgradepolicy-768x154.jpg 768w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/Set-CSTeamsUpgradepolicy.jpg 1231w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Set-CsTeamsUpgradePolicy &#8211; Error<\/figcaption><\/figure>\n\n\n\n<p>So, what next? Trying <em><span class=\"has-inline-color has-luminous-vivid-amber-color\">Grant-CsTeamsUpgradePolicy -PolicyName UpgradeToTeams -Global<\/span><\/em> that should give the expected result anyway (leaving users with a user-level policy with their existing settings and setting the others to Teams Only).<\/p>\n\n\n\n<p>What I got was another error, but finally with an explanation about where the issue was.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"303\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/PowerShell-1-1024x303.jpg\" alt=\"\" class=\"wp-image-2064\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/PowerShell-1-1024x303.jpg 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/PowerShell-1-300x89.jpg 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/PowerShell-1-768x227.jpg 768w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2020\/12\/PowerShell-1.jpg 1230w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>This organization cannot be upgraded to TeamsOnly at the tenant level because there is an on-premise deployment of Skype for  Business detected in 1 or more of it sip domains, xxxx.yyy. Users can be individually upgraded to TeamsOnly using either Move-CsUser (if the user has an on-premises Skype for Business account) or Grant-CsTeamsUpgradePolicy (if the user is homed in Skype for Business online).<\/code><\/pre>\n\n\n\n<p>So, finally closing the loop: the <strong>Teams Only <\/strong>policy cannot be applied at the tenant level (unless all the on-premises deployments of Skype for Business for the relevant SIP domains have been removed).<\/p>\n\n\n\n<p>As I said before, it is still possible to apply policies to the users in a batch, using a script like<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$userlist = Get-CSOnlineUser\r\nforeach($User in $userlist)\r\n{\r\n Grant-CsTeamsUpgradePolicy -PolicyName UpgradeToTeams -Identity $User.SipAddress\r\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few days ago, I was trying to change the Teams Upgrade policy of a tenant from &#8220;Skype for Business with Teams collaboration&#8221; to &#8220;Teams Only&#8220;. The company still had an (empty) Skype for Business on-premises deployment, but all the users were already migrated to Teams and had user lever upgrade policies My assumption was [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2067,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","twitterCardType":"","cardImageID":0,"cardImage":"","cardTitle":"","cardDesc":"","cardImageAlt":"","cardPlayer":"","cardPlayerWidth":0,"cardPlayerHeight":0,"cardPlayerStream":"","cardPlayerCodec":"","footnotes":""},"categories":[758,753,752,757],"tags":[759,751,77,755],"class_list":["post-2057","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-758","category-microsoft365","category-microsoft-teams","category-office-365","tag-microsoft-365","tag-microsoft-teams","tag-office-365","tag-teams"],"_links":{"self":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2057"}],"version-history":[{"count":3,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2057\/revisions"}],"predecessor-version":[{"id":2070,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2057\/revisions\/2070"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/media\/2067"}],"wp:attachment":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}