End of Exchange Online Classic Authentication

As most of you admins are already aware that Microsoft is killing Basic authentication for Exchange Online services for PowerShell, EWS, POP, IMAP and EAS. SMTP authentication is still supported.(changes will not affect it)   Microsoft already released the Exchange online MFA Powershell  previously but it lacked the capability to be used in scripts. https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell…