Disconnect the negative (-) battery terminal.
Open the sunglass case cover from the overhead console then remove the 2 screws holding the overhead console (A).
Disconnect the connector. Check for continuity between the terminals. If the continuity is not as specified, replace the panoramaroof switch.