{"id":2367,"date":"2021-09-30T15:44:50","date_gmt":"2021-09-30T15:44:50","guid":{"rendered":"https:\/\/modern-workplace.uk\/?p=2367"},"modified":"2021-09-30T15:49:16","modified_gmt":"2021-09-30T15:49:16","slug":"teams-virtual-sbc-closing-azure-network-ports-warnings-for-azureloadbalancer-and-virtualnetwork-2-2-2-2-3-2-3-2-2-2","status":"publish","type":"post","link":"https:\/\/modern-workplace.uk\/?p=2367","title":{"rendered":"Microsoft Teams (Admin Center)- Directory Status &#8211; Online, Unlicensed and Unknown"},"content":{"rendered":"\n<p class=\"has-vivid-purple-color has-text-color has-medium-font-size\"><strong><em>Directory Status<\/em><\/strong> is a piece of information shown in the Teams Admin Center.<\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-medium-font-size\">The different statuses are not explained in a clear way in the Microsoft documentation.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">I will try to give a bit more context to the different values (Online, Unlicensed and Unknown) and to the fact that <span class=\"has-inline-color has-vivid-red-color\">some users are not shown at all<\/span>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">From the Microsoft Teams Admin Center, opening Users and selecting Manage Users we have a view of all the Teams users <\/p>\n\n\n\n<p class=\"has-medium-font-size\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"97\" class=\"wp-image-2369\" style=\"width: 150px;\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-160951.jpg\" alt=\"\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-160951.jpg 388w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-160951-300x193.jpg 300w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Untitled.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"280\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Untitled-1024x280.png\" alt=\"\" class=\"wp-image-2368\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Untitled-1024x280.png 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Untitled-300x82.png 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Untitled-768x210.png 768w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Untitled-1536x421.png 1536w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Untitled.png 1767w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">To understand what the statuses mean, we have to use PowerShell, and look at two parameters &#8220;<strong>InterpretedUserType<\/strong>&#8221; and &#8220;<strong>HostingProvider<\/strong>&#8220;.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">The two parameters together will give the different statuses as shown in the table below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-163004.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"697\" src=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-163004-1024x697.jpg\" alt=\"\" class=\"wp-image-2379\" srcset=\"https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-163004-1024x697.jpg 1024w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-163004-300x204.jpg 300w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-163004-768x523.jpg 768w, https:\/\/modern-workplace.uk\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-30-163004.jpg 1324w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-medium-font-size\">In a nutshell, <strong>Directory Status<\/strong> depends on the different values inside the <strong>InterpretedUserType<\/strong> parameter:<\/p>\n\n\n\n<ul class=\"has-medium-font-size wp-block-list\"><li>&#8220;<strong>Disabled<\/strong>&#8221; are disabled, <strong><em>are not shown<\/em><\/strong> in the Teams Admin Center<\/li><li>&#8220;<strong>PendingDeletionFromAD<\/strong>&#8221; have been deleted from AD, <strong><em>are not shown <\/em><\/strong>in the Teams Admin Center<\/li><li>&#8220;<strong>NotLicensedForService<\/strong>&#8221; are missing Office 365 licenses, are shown as &#8220;<em><strong>Unlicensed<\/strong><\/em>&#8220;<\/li><li>&#8220;<strong>AADConnect<\/strong>&#8221; created in on-premises Active Directory, have Teams, are shown as <em><strong>Unknown<\/strong><\/em><\/li><li>&#8220;<strong>HybridOnline<\/strong>&#8221; SKype for Business (SfB) hybrid, have SfB Online, are shown as <strong><em>Unknown<\/em><\/strong><\/li><li>&#8220;<strong>HybridOnprem<\/strong>&#8221; SfB hybrid, have SfB on-premises, are shown as <strong><em>Unknown<\/em><\/strong><\/li><li>&#8220;PureOnline&#8221;created in online Active Directory, have Teams, are shown as <strong><em>Online<\/em><\/strong><\/li><\/ul>\n\n\n\n<p class=\"has-medium-font-size\">The Official Documentation about InterpretedUserType is available here:<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><a href=\"https:\/\/gist.github.com\/get-itips\/469e47b3afe7982269fe329515c213f5#file-interpretedusertypes-md\">https:\/\/gist.github.com\/get-itips\/469e47b3afe7982269fe329515c213f5#file-interpretedusertypes-md<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Directory Status is a piece of information shown in the Teams Admin Center.<br \/>\nThe different statuses are not explained in a clear way in the Microsoft documentation.<br \/>\nUnlicensed and Unknown) and to the fact that some users are not shown at all.<br \/>\nIn a nutshell, Directory Status depends on the different values inside the InterpretedUserType parameter<\/p>\n","protected":false},"author":1,"featured_media":2368,"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":[765,753,752,757],"tags":[762,759,751,77,755],"class_list":["post-2367","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-765","category-microsoft365","category-microsoft-teams","category-office-365","tag-microsoftteams","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\/2367","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=2367"}],"version-history":[{"count":6,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2367\/revisions"}],"predecessor-version":[{"id":2384,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/posts\/2367\/revisions\/2384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=\/wp\/v2\/media\/2368"}],"wp:attachment":[{"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/modern-workplace.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}