Admin account executing this script has MFA enabled, the script fails to authenticate with Exchange. Is there an updated script we can download? Thanks.
Below script allows you to connect Exchange Online with MFA enabled account. https://gallery.technet.micros oft.com/Connect -to-Exchange-On line-7d7365e0 By using above script's code, you can update the script by your own.
Probably best to mention you need to run Unrestricted. Thank you Nick
Unable to connect to Exchange Online due to MFA using the script. Have to use Exchange Online PS Module for EXOPSessions