Hello! Welcome to justanswer!
Thats usually from a bad transfer case actuator. GM sells a kit with a new actuator and plunger for the transfercase. The actuator is very easy to spot and is on the side of the transfer case.
ASE Certified Technician
ASE Master Automobile Technician since 2000 17 Years + Exp.