It is not a problem for succeeding admin to contact foreign officials as long as they have good faith in doing that. I don't see Flynn had any conspiracy plot when he did it.

When you take the above action literally as against law, it is nothing but politics then. It is political attack.