Bob Odenkirk was actually supposed to play Michael Scott on The Office because Steve Carell was already busy with another series.
Steve's series got canceled though, which freed him up to play Michael. Bob also made a cameo later on in the series.