NOTE:
The sunroof switch is together with the front map light.
1. Disconnect the negative battery cable..
2. Remove the map light from the headliner..
3. Inspect for continuity between the sunroof switch terminals using an ohmmeter.

If not as specified, replace the sunroof switch.

Sunroof Unit Removal/Installation
Sunroof Switch Removal/InstallationALL AUTO (ECO) control
In the Subaru Solterra, the ALL AUTO (ECO) control intelligently
manages interior comfort by automatically adjusting seat heaters/radiant heaters*,
seat ventilators*, and the heated steering wheel* based on the selected climate
settings, as well as real-time cabin and outside temperature condi ...
Outer Mirror Glass Installation
1. Connect the mirror heater connectors. (Vehicles with heated outer mirrors)
2. Connect the BSM indicator light connector. (Vehicles with BSM system)
3. Press part C on the outer mirror glass and install pin C.
4. Press part A on the outer mirror glass and install pins A.
5. Press part ...
Camshaft Position (CMP) Sensor Removal/Installation [Mzr 2.0, Mzr 2.5]
CAUTION:
When replacing the CMP sensor, make sure there is no foreign material on
it such as metal shavings. If it is installed with foreign material, the sensor
output signal will malfunction resulting from fluctuation in magnetic flux and
cause a deterioration in engine control.
...