Connect-MsolService when MFA is implemented causes error
Attempting to implement Connect-MsolService in Azure Automation using a stored credential throws a "bad username or password" error if MFA is enabled. Is there a workaround or a scheduled timeframe for this to be fixed? Why does none of the documentation provide any guidance to this fact even to note if it is not supported?
$credential = Get-AutomationPSCredential -Name '<credential>'
Connect-MsolService -Credential $credential