Closed
Description
Currently the getO365PSInitCommands
function uses the "about to be deprecated" method of auth via New-PSSession
powershell-command-executor/o365Utils.js
Line 25 in 5101c14
Two new functions should be added to o365Utils.js
- one for the existing way to return backwards compatibility
- a new one for the cert based auth
- existing contract of
getO365PSInitCommands
must remain and not break others using this, must be backwards compatible! - provide a new
getO365PSInitCommands<modern?>
version that will hit the cert based auth method
Also update the README w/ this info + docs/examples/comments
https://adamtheautomator.com/exchange-online-powershell-mfa/