M104 T0 Sxxx doe not change the extruder! Here T0 only says for which extruder to change temperature.
I'm not familar with the duet firmware whcih is I think the part saying "temparature set, no tool selected". Maybe duet firmware does not support the T0 in M104 and you would need to send T0 at first.