There's a helluva lot of information on this and it's a real mess of a job.
In a nut-shell, the UN Council can deem the invasion illegal, however in order to do so, a complaint must be made by a UN member. No complaint has been made, so no UN investigation has taken place.
With regards to...