I was getting a legacy password prompt with the command Connect-MsolService As per some suggestions…