Congo Brazzaville's surprising loss against South Sudan handed South Africa and Uganda their 2025 Africa Cup of Nations tickets.
However, both Cranes and Bafana Bafana were keen on finishing top of the pool, explaining why the Friday clash at Namboole Stadium was important.
The first half was characterized by missed chances from either side, as attackers failed to compose themselves in the final third.
After the pause, Taddeo Lwanga's mistake allowed substitute Thapelo Morena to steal the ball and fire past hapless Ismail Watenga in the 49th minute to give his team a 1-0 lead.
Bafana got their second goal in stoppage time when Iqraam Rayners passed the ball to the advancing Patrick Maswanganyi who beautifully controlled the ball before finding the back of the net.
Bafana's 2-0 win took them top of the standings with 11 points ahead of the final fixture against South Sudan at home in Cape Town on Tuesday November 19.