Disconnect the negative (-) battery terminal.
Open the sunglass case cover from the overhead console then remove the 2 screws holding the overhead console. Disconnect the connector then remove the overhead console lamp assembly from the headliner.
Remove the head lining.
(Refer to the BD group - "Sunroof")
Remove the sunroof motor (A) after removing 3 screws and disconnect.
Installation is the reverse of removal.