Forum Discussion
Petri-X
Dec 13, 2018Bronze Contributor
PowersHell and Basic authentication
Hi there, I have been trying to get the PowersHell connections to work to Office 365 and current results are: (AD) Connect-AzureAD: Working (Exchange) Connect-EXOPSSession: Not working (Basic auth...
VasilMichev
Dec 13, 2018MVP
Because Exchange and SfBO use "hacks" to connect. They are basically fetching the token via the ADAL controls, but still passing it using Basic authentication. I have some examples on how you can do this on my blog: https://www.michev.info/Blog/Post/1771/hacking-your-way-around-modern-authentication-and-the-powershell-modules-for-office-365
Bottom line is, they do need Basic authentication enabled in WinRM settings.
Tony Richards
May 16, 2019Brass Contributor
VasilMichev"They are basically fetching the token via the ADAL controls, but still passing it using Basic authentication." Is this based on your own investigation or do you have a document that spells this out?