service light on 2004 GMC Sierra 2500 HD

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
my 4wd service light came on this morning but is now off could you tell me why?
(3) Answers
We just added this article last week, hopefully it will help you with your 4wd issue:
The service 4wd light is like a "check engine" light for your 4wd system. When the light comes on a fault code will be set in the transfer case control module. This fault code can be read with a scan tool. The stored codes should help isolate the portion of the 4wd system that is causing the fault.
I had the same issue. There is a sensor located on the front diff. I disconnected and cleaned the connection. Quick fix...