Israel has told the United Kingdom that it must close its consulate in East Jerusalem within 30 days, two Israeli officials and two sources familiar with the matter said on Wednesday.