01-06-2020 07:44 PM
01-06-2020 07:44 PM
It seems this question can go to many different forums or targets, but I figured it should really be focused here. Exchange after all was the first real resource to utilize Powershell, and as Powershell gets more and more modern, we are not reaping the benefits. In order to connect to Exchange Online we are required to stick with Powershell in Windows -- version 5.1.
With Powershell 7 basically released (supportable version out now in RC form), there's still no way to utilize PS7 features with Exchange Online, at least when using MFA. They're great features, I really would like to use them...
Is there a supported path or process to using PS7 with ExO with MFA?
01-07-2020 12:03 AM
Support is coming, there's already a compatible version of the ExO cmdlets available in ACS, and they've demoed some of the features with the new REST-based cmdlets. Don't have any timelines to share though.
01-07-2020 01:23 AM
@Vasil Michev That's the irony here -- ACS only supports the active tenant you're working with and only supports PS 6.2 with no way to modify, while also requiring cloud storage commitments (no purist O365 management). I admit the costs are small but that's not really the point.
The REST commands are useful but are so limited as to be not relevant here; it's really about connectivity and viability to a tenant.
I would consider ACS a moderate step to the end goal if I could use a personal ACS to remote into others, but that is not possible in any ways I can find.
I appreciate the work that MS is doing in this area but it seems like there's no conversation in this space - you simply can't authenticate into EXO from PS 6 or 7 on Windows (Modern auth). I believe I could probably get this to work without using modern auth but that seems like a horrible step backward, which is why I'm trying to shake this tree.
01-07-2020 08:54 AM
I was just giving it as an example of work that's done to support "core" installs and the corresponding dependencies. But now that we have ADAL/MSAL support for .NET Core, you can establish a remote session even in ACS instance, and of course it's just a matter of time to get official support for the ExO cmdlets on PS7/Core.