Why does my 4-wheel drive indicator light not work? on 1997 GMC 1500 Pickup

My transfer case has the floor shift, while my 4-wheel drive does engage when I shift it the indicator light does not light up (the bulb is good) is the switch on the front axle or in the transfer case ?

Asked by for the 1997 GMC 1500 Pickup