In the 2017 season, Ilham helped them win the 2017 Liga 1 title, the first trophy of his career.
Selangor FA
On 2 December 2017, Ilham signed a one-year contract with Malaysia Super League club Selangor on a free transfer, along with his national teammates Evan Dimas.[6] He made his first-team debut for Selangor after starting the 2018 Malaysia Super League match against Kuala Lumpur F.A. on 4 February 2018, in which Selangor won 0-2. But, in the 66th minute, Ilham was tackled from behind by one of the opposition's players. He was then unable to continue the match and eventually replaced in the 71st minute.[7]
In 2019, it was confirmed that Armaiyn would re-join Liga 1 club Bhayangkara, signing a year contract.[9] He made his league debut on 16 May 2019 by starting in a 1–1 draw against Borneo at the Segiri Stadium, Samarinda.[10] On 21 June, he give assists an opening goal by Flávio Beck Júnior in Bhayangkara's 1–1 away draw over PSS Sleman.[11] During the 2019 season, he only made 14 league appearances and without scoring.
On 4 June 2021, Ilham signed for Indonesian Liga 1 club, PSM Makassar.[14] He made his league debut on 5 September by starting in a 1–1 draw against Arema at the Pakansari Stadium, and he also scored his first goal for PSM in the 21st minute.[15] a week later, Ilham scored the opening goal in a 1–1 draw against Madura United.[16] On 23 September, Ilham scored the winning goal in a 2–3 win over Persik Kediri.[17] On 22 October, Ilham give assists a opening goal by Yakob Sayuri in PSM's 2–1 lose over Borneo at Manahan Stadium.[18]
On 28 January 2022, Ilham give another assists a opening goal by Yakob Sayuri in PSM's 2–1 win over PS Barito Putera at Kompyang Sujana Stadium.[19] Ilham had his best performance in the 2021–22 season where he scored 3 goals and 28 league appearances.
Arema
He was signed for Arema and announced to join the squad on 11 April 2022 with his partner from PSM, Hasyim Kipuw.[20] He also brought Arema back to win the Indonesia President's Cup for the third time.[21] He made his league debut in a 0–3 lost against Borneo Samarinda on 24 July 2022 as a substitute in the 46th minute.[22] Six days later, he scored his first league goal for the club on a 2–1 win over PSIS Semarang, coming on as a substitute, Ilham sparked the momentum of Arema's victory. scored in the 79th minute in a chaotic situation after a corner.[23] On 24 August, Ilham scored the opening goal in a 4–2 win against RANS Nusantara.[24]
On 18 February 2023, coming on as a substitute of second half, Ilham sparked another the momentum of Arema's victory, scoring the winning goal in a 1–0 win against PS Barito Putera.[25]