{"id":3006,"date":"2017-11-29T08:50:55","date_gmt":"2017-11-29T08:50:55","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=3006"},"modified":"2018-08-29T21:55:50","modified_gmt":"2018-08-29T21:55:50","slug":"enabling-skype-for-business-2015-for-enable-modern-authentication-adal-in-365","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/enabling-skype-for-business-2015-for-enable-modern-authentication-adal-in-365","title":{"rendered":"Enabling Skype for Business 2015\\2016 for\u00a0Enable modern authentication (2fa) ADAL in 365"},"content":{"rendered":"<h2>For Skype for Business 2015<\/h2><p style=\"padding-left: 30px;\">Make sure your version of Office 2013 is Greater than \u00a0<strong>15.0.4625.1000<\/strong><\/p><p style=\"padding-left: 30px;\">You have the following registry key\u00a0<\/p><table summary=\"table\"><tbody><tr><td><p>Registry Key<\/p><\/td><td><p>Type<\/p><\/td><td><p>Value<\/p><\/td><\/tr><tr><td><p>HKCU\\SOFTWARE\\Microsoft\\Office\\15.0\\Common\\Identity\\EnableADAL<\/p><\/td><td><p>REG_DWORD<\/p><\/td><td><p>1<\/p><\/td><\/tr><tr><td><p>HKCU\\SOFTWARE\\Microsoft\\Office\\15.0\\Common\\Identity\\Version<\/p><\/td><td><p>REG_DWORD<\/p><\/td><td><p>1<\/p><\/td><\/tr><\/tbody><\/table><p style=\"padding-left: 30px;\">Install Skype for Business Online, Windows PowerShell Module:<br \/><a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=39366\">https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=39366<\/a><\/p><p style=\"padding-left: 30px;\">After installing this I had trouble including the modules via :\u00a0Import-Module SkypeOnlineConnector with the error<\/p><p style=\"padding-left: 30px;\">Import-Module :<em><strong> The specified module &#8216;SkypeOnlineConnector&#8217; <\/strong><\/em>was not loaded because no<em><strong> valid<\/strong><\/em><\/p><p style=\"padding-left: 30px;\">Skype for Business management shell installs in this location :\u00a0<strong>C:\\Program Files\\Common Files\\Skype for Business Online\\Modules\\<\/strong><\/p><p style=\"padding-left: 30px;\">I used the below in Powershell to insert the .psd1 manually into my powershell<\/p><p>&nbsp;<\/p><p style=\"padding-left: 90px;\"><strong>Import-Module -Name &#8220;C:\\Program Files\\Common Files\\Skype for Business Online\\Modules\\SkypeOnlineConnector&#8221; -Verbose<\/strong><\/p><p style=\"padding-left: 90px;\"><strong>Import-Module -Name &#8220;C:\\Program Files\\Common Files\\Skype for Business Online\\Modules\\LyncOnlineConnector&#8221; -Verbose<\/strong><\/p><p style=\"padding-left: 120px;\">This will still give the error Get-CsOAuthConfiguration : The term &#8216;Get-CsOAuthConfiguration&#8217; is not recognized as the name of a cmdlet<\/p><p style=\"padding-left: 120px;\">Sign into 365 with your creds<\/p><p style=\"padding-left: 90px;\"><strong>$cred = Get-Credential<\/strong><\/p><p style=\"padding-left: 90px;\"><strong>$session = New-CsOnlineSession -Credential $cred -Verbose<\/strong><\/p><p style=\"padding-left: 90px;\"><strong>Import-PSSession -Session $session<\/strong><\/p><p style=\"padding-left: 120px;\">I was then able to run<\/p><p style=\"padding-left: 90px;\"><strong>Set-CsOAuthConfiguration -ClientAdalAuthOverride Allowed<\/strong><\/p><p>&nbsp;<\/p><h2>For Skype for Business 2016<\/h2><p>For Skype for Business or Lync 2013 clients 16.0*:<\/p><p>HKEY_CURRENT_USER\\Software\\Policies\\Microsoft\\Office\\16.0\\Lync<\/p><p>Then, apply the AllowAdalForNonLyncIndependentOfLync registry key setting:<\/p><p>\u201cAllowAdalForNonLyncIndependentOfLync\u201d=dword:00000001<\/p>","protected":false},"excerpt":{"rendered":"<p>For Skype for Business 2015Make sure your version of Office 2013 is Greater than \u00a015.0.4625.1000You have the following registry key\u00a0Registry KeyTypeValueHKCU\\SOFTWARE\\Microsoft\\Office\\15.0\\Common\\Identity\\EnableADALREG_DWORD1HKCU\\SOFTWARE\\Microsoft\\Office\\15.0\\Common\\Identity\\VersionREG_DWORD1Install Skype for Business Online, Windows PowerShell [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2225,2229,2230,2224,2227,2226,2228],"class_list":["post-3006","post","type-post","status-publish","format-standard","hentry","category-random","tag-psd1","tag-adal","tag-enableadal","tag-get-csoauthconfiguration-psd1","tag-lynconlineconnector","tag-skype-for-business-management-shell","tag-skypeonlineconnector"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3006"}],"version-history":[{"count":3,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3006\/revisions"}],"predecessor-version":[{"id":3600,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3006\/revisions\/3600"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}