Office 365 multiple connections

Hello,

So i’ve been working on automating a bunch of tasks that we do daily in Office 365 via PowerShell. The issue I’ve run into is that we need to use Connect-ExchangeOnline, Connect-AzureAD, and ConnectMSOLService.

They all seem to trigger separate logins and of course separate MFA codes. Is there a way to authenticate to all 3 sessions with just 1 login and MFA code?

Thanks for the help.