In April 1932, Agranat was certified as a lawyer in Palestine. After completing an internship in Jerusalem, he worked as a private lawyer. In 1940, he was appointed a judge on the Haifa Magistrate's Court.