The former Downing Street chief of staff has been awarded a top government job, sparking fury.