If the problem persists there may have been a drain you missed a faulty seal or faulty drain.
How do dealers clean sun roof drains.
Up top you can clean out the gutters and drains of the sunroof or moonroof assembly with a shop vac.
This video is of an old volvo b.
Though the sunroof is sealed to keep most moisture out some moisture and water does come in through the gap between the sunroof and the car itself.
Open your sunroof and look for the drain holes in both front corners.
You may be tempted to run a coat hanger down the tubes or blast them with compressed air.
These drains are normally feed through the roof pillars and exit.
The drain holes will be in the four corners of the sunroof.
The rear ones may vary from car to car but are generally located on either side of the rear bumper.
If you live in a treed area it can happen more often as there is larger particles floating around in the air which would eventually plug the drains.
Two in the front and two in the rear.
There will be four.
The moisture is then drained out of the vehicle through the sunroof drains.
The drain nipples will be on the front side of either door jam.
Leaves and other junk find their way into that area somehow and tend to stick around and get soggy creating a sort of compost that can cause you trouble if it gets into the drain tube.
Now test using a bottle of water gradually drain the water around the sunroof drain do not excessively dump as the drain is only able to remove a certain amount of water.
Those tubes run through the door pillars and drain through to the rocker panels.
As you can see the water is draining properly.
Video tutorial on how to unplug a sunroof drain.
Depending on where you live sunroof drains may become plugged sooner than later.
Water leaks caused by a clogged sunroof drain are very common and easy to cure.
Better to get it before that happens.
You might poke the wire right through the tubing or disconnect it from the drain hole.