1. Disconnect the negative battery cable..
2. Remove the front map light..
3. Verify that the continuity between the sunroof switch terminals is as indicated in the table.

If not as indicated in the table, replace the sunroof switch.

Sunroof Switch Removal/InstallationFuel Distributor [Skyactiv G 2.0]
Purpose, Function
Distributes fuel pumped from the high pressure fuel pump to each fuel injector.
Construction
The fuel distributor is installed to the cylinder head.
The fuel distributor is integrated with the fuel pressure sensor.
...
Front Fog Light
Purpose
By shining light in a wider area in front of the vehicle than the light from
the headlights, visibility during poor weather conditions, such as rain and
fog, has been improved. In addition, the visibility of the vehicle from on-coming
vehicles, pedestrians, and other people h ...
Keyless Antenna [Advanced Keyless Entry System]
Purpose
Outputs a request signal and specifies the remote transmitter location.
Function
The keyless antenna outputs request signals to the inside and outside of
the vehicle based on the signals from the LF control unit.
Construction, Operation
The antennas for re ...