Enabling Skype for Business 2015\2016 for Enable modern authentication (2fa) ADAL in 365
For Skype for Business 2015
Make sure your version of Office 2013 is Greater than 15.0.4625.1000
You have the following registry key
Registry Key | Type | Value |
HKCU\SOFTWARE\Microsoft\Office\15.0\Common\Identity\EnableADAL | REG_DWORD | 1 |
HKCU\SOFTWARE\Microsoft\Office\15.0\Common\Identity\Version | REG_DWORD | 1 |
Install Skype for Business Online, Windows PowerShell Module:
https://www.microsoft.com/en-us/download/details.aspx?id=39366
After installing this I had trouble including the modules via : Import-Module SkypeOnlineConnector with the error
Import-Module : The specified module ‘SkypeOnlineConnector’ was not loaded because no valid
Skype for Business management shell installs in this location : C:\Program Files\Common Files\Skype for Business Online\Modules\
I used the below in Powershell to insert the .psd1 manually into my powershell
Import-Module -Name “C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector” -Verbose
Import-Module -Name “C:\Program Files\Common Files\Skype for Business Online\Modules\LyncOnlineConnector” -Verbose
This will still give the error Get-CsOAuthConfiguration : The term ‘Get-CsOAuthConfiguration’ is not recognized as the name of a cmdlet
Sign into 365 with your creds
$cred = Get-Credential
$session = New-CsOnlineSession -Credential $cred -Verbose
Import-PSSession -Session $session
I was then able to run
Set-CsOAuthConfiguration -ClientAdalAuthOverride Allowed
For Skype for Business 2016
For Skype for Business or Lync 2013 clients 16.0*:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Lync
Then, apply the AllowAdalForNonLyncIndependentOfLync registry key setting:
“AllowAdalForNonLyncIndependentOfLync”=dword:00000001
loading...
loading...
Tags: .psd1, ADAL, EnableADAL, Get-CsOAuthConfiguration .psd1, LyncOnlineConnector, skype for business management shell, SkypeOnlineConnector
Trackback from your site.