YES ,MAGNETIC INDUCTION DEPEND UPON LENGTH
BECAUSE IT DEPENDS ON GIVEN FACTORS
a) a current-carrying straight conductor. (b) current carrying solenoid depends. So, magnetic field depends on the current flowing and distance (d) of that point. So, the magnetic field depends on the current flowing, the number of turns in solenoid and length of the solenoid.
I HOPE IT IS HELPFUL
BE HAPPY