The selectors kept faith in him. In July 2016 he made his first-class debut for Afghanistan in an ICC Intercontinental Cup fixture against the Netherlands. His One Day International debut followed in February 2017, when Afghanistan played Zimbabwe in Harare. Later that year he appeared in domestic cricket, making his List A debut for Boost Region at the 2017 Ghazi Amanullah Khan Regional One Day Tournament in August. On 12 September 2017 he played his first Twenty20 match, turning out for Mis Ainak in the 2017 Shpageeza Cricket League.
His most notable performance came in November 2017 in an Intercontinental Cup game against the UAE. Batting with Rahmat Shah Zurmatai, he shared a second-wicket stand of 197 runs, which set a new mark as the highest partnership in Afghanistan's short first-class history. In the same innings he reached his first century in first-class cricket.
Known for attractive strokeplay, Janat had played only a small number of international matches as of March 2018, when he was 20 years old, and had yet to make a major impact at that level.