Lower the headliner, remove the tie strap that retains the white connector to the drive cable tube
Sunroof Motor wiring harness, disconnect the sunroof motor/actuator wiring harness electrical connector, remove the screws which retain the sunroof motor/actuator to the sunroof module assembly, and remove the sunroof motor/actuator from the sunroof module assembly.