DTC P1707 At AWD Solenoid Valve Circuit Malfunction: DTC Detecting Condition
WARNING: This page is about a different car, the 2013 Subaru Forester. However, it is still accessible from the selected car via links, so may be relevant.
Output signal circuit of transfer duty solenoid is open or shorted.