1st thing to check is the condition of the sunroof motor fuse , this should be number 4 in the fusebox in the glove compartment
check that the connections for the fuse are also bright and clean and if thats all fine then use a voltmeter across the terminals to measure for 12V whilst your assistant operates the switch with the ignition on
if you have power but still no action then its possible that the motor is burnt out? this can be checked by removing the headlining to expose the motor and there's a screwdriver slot in the end of the motor so you can manually open and close the roof
this would show if the mechanism is the issue
do you still need help?
Bear in mind that the site takes a deposit from you at the beginning and this is held by the site until you rate my answer at which point the cash is split between the site and the expert. I am only paid for my work on this question if you rate my answer, using the star system at the top of the screen. Please do not forget! Thank you