When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
Yeah, the moonroof & power windows share a fuse that can be found in the power distribution box in the engine compartment.
I have only seen a couple of "failure" threads for the OEM moonroof. A couple were tracked to either a defective switch or worn wiring. The more rare cases were the motor/drive in the moonroof itself.
If you have the spare time, know-how, and a multimeter, you could spend a bit of time doing continuity tests through the switch, wiring, and motor. This would help pinpoint which was defective.