It is actually James Duncan Halpert who is played by the actor John Krasinski in the US TV series ‘The Office’.