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/InstallationSuspension Abbreviations
AAS
Active Adaptive Shift
ABS
Antilock Brake System
ABDC
After Bottom Dead Center
ACC
Accessories
AFS
Adaptive Front Lighting System
ALC
...
Fuses
Your vehicle's electrical system is protected by fuses.
If any lights, accessories, or controls do not work, inspect the appropriate
circuit protector. If a fuse has blown, the inside element will be melted.
If the same fuse blows again, avoid using that system and consult an Authorized
Ma ...
Oil Pressure Inspection
WARNING:
Hot engines and engine oil can cause severe burns. Turn off the engine and
wait until it and the engine oil have cooled.
A vehicle that is lifted but not securely supported on safety stands is dangerous.
It can slip or fall, causing death or serious injury. Never work ...