Setup Journaling for MFA enabled tenant
As of now we are setting up journaling for our customers via powershell by login with global admin's credentials. But with the MFA requirement we are unable to login to Exchange Online powershell module and setup journaling in an automated way.
I have checked the below Patner Center PowerShell document but it doesn't have anyway to connect to the Exchange Online powershell module.
In AzureAD and MsOnline powershell it doesn't have exchange related powershell commands like Get-JournalRule etc.
I have already tried Connect-EXOPSSession but it requried an interactive login via a popup and couldn't automated the flow.
Is there any available solution for this?