The two clubs had agreed a deal but the work permit application for the Kenya international was turned down.
City tried to appeal the decision but it was turned down at an hearing at Wembley on Monday that club officials attended.
A reported £7million fee had been agreed on between City and Parma for the former Helsingborgs midfielder.