This will be East African guests Tanzanias second appearance at the COSAFA Cup after a previous visit to the tournament 16 years ago.
They played in the inaugural event in 1997, drawing three of their four games, including a 2-2 stalemate with eventual champions Zambia.
Their only defeat was a 3-0 loss to Mozambique, but it put them out of contention for the title.
They ere scheduled to compete in the 2009 competition held in Zimbabwe, but later declined the invitation.
The current side are coached by the Dane Kim Poulsen and have become a competitive unit in recent years.
Players like TP Mazembe forward Mbwana Samatta have helped improve results and remain in contention for World Cup qualification in Brazil at the halfway stage of the pool phase.
That includes a 3-1 win over fancied Morocco in March this year.
Tanzania have previously qualified for the Africa Cup of Nations on just one occasion, back in 1980, when they failed to get past the first round.
Tsoanelo Koetle of Lesotho challenged by Salmin Hoza of Tanzania during 2017 Cosafa Castle Cup match between Tanzania and Lesotho at Moruleng Stadium in Rustenburg on 07 July 2017 ©Samuel Shivambu/BackpagePix
Tumelo Khutlang of Lesotho ©Samuel Shivambu/BackpagePix
Sera Motebang of Lesotho challenged by Salim Mbonde of Tanzania during 2017 Cosafa Castle Cup match between Tanzania and Lesotho at Moruleng Stadium in Rustenburg on 07 July 2017 ©Samuel Shivambu/BackpagePix
Himid Mkami of Tanzania challenged by Tumelo Khutlang of Lesotho during 2017 Cosafa Castle Cup match between Tanzania and Lesotho at Moruleng Stadium in Rustenburg on 07 July 2017 ©Samuel Shivambu/BackpagePix
Himid Mkami of Tanzania challenged by Napo Matsoso of Lesotho during 2017 Cosafa Castle Cup match between Tanzania and Lesotho at Moruleng Stadium in Rustenburg on 07 July 2017 ©Samuel Shivambu/BackpagePix
Elias Maguri of Tanzania challenged by Donashano Malama of Zambia during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Brian Mwila of Zambia challenged by Banda Abdi of Tanzania during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Himid Mkami of Tanzania challenged by Diamond Chikwekwe of Zambia during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Jackson Chirwa of Zambia challenged by Mzamiru Said of Tanzania during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Mike Katiba of Zambia challenged by Himid Mkami of Tanzania during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Elias Maguri of Tanzania challenged by Issac Shamujompa of Zambia during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Himid Mkami of Tanzania challenged by Diamond Chikwekwe of Zambia during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Diamond Chikwekwe of Zambia challenged by Mzamiru Said of Tanzania during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Mzamiru Said of Tanzania challenged by Diamond Chikwekwe of Zambia during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Mzamiru Said of Tanzania challenged by Donashano Malama of Zambia during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Saimon Msuva of Tanzania challenged by Adrian Chama of Zambia during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Lawrence Chungu of Zambia challenged by Yahya Ramadhani of Tanzania during 2017 Cosafa Castle Cup match between Zambia and Tanzania at Moruleng Stadium in Rustenburg on 05 July 2017 ©Samuel Shivambu/BackpagePix
Cole Alexander of South African challenged by Raphael Loth of Tanzania during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Elias Maguri of Tanzania challenged by Riyaad Norodien of South African during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Sakhile Maela of South African challenged by Thomas Ulimwengu of Tanzania during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Raphael Loth of Tanzania tackled by Riyaad Norodien of South African during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Cole Alexander of South African challenged by Elias Maguri of Tanzania during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Elias Maguri of Tanzania challenged by Lorenzo Gordinho of South Africa during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Lehogonolo Masalesa of South African challenged by Raphael Loth of Tanzania during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Thendo Mukumela of South African challenged by Thomas Ulimwengu of Tanzania during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Yahaya Ramadan of Tanzania challenged Sakhile Maela of South Africa during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Yahaya Ramadan of Tanzania challenged Sakhile Maela of South Africa during 2017 Cosafa Castle Cup match between South Africa and Tanzania at Royal Bafokeng Stadium in Rustenburg on 02 July 2017 ©Samuel Shivambu/BackpagePix
Thomas Ulimwengu of Tanzania fouled by Walter Martin of Mauritius during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Laval Jesson Rungassamy of Mauritius challenges Erasto Edward Nyoni of Tanzania during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Francis Rosolofonirina of Mauritius clears ball from Thomas Ulimwengu of Tanzania during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Gadiel Michael Kamagi of Tanzania challenged by Louis Marco Dorza of Mauritius during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Louis Marco Dorza of Mauritius challenged by Gadiel Michael Kamagi of Tanzania during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Jean Adel Langue of Mauritius challenged by Elias Maguri of Tanzania during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Laval Jesson Rungassamy of Mauritius challenged by Erasto Edward Nyoni of Tanzania during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Erasto Edward Nyoni of Tanzania challenged by Peter Colin Bell of Mauritius during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Salim Hassan Mbonde of Tanzania challenges Jeremy Robert Villeneuve of Mauritius during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Aishi Salum Manula of Tanzania challenges Louis Marco Dorza of Mauritius during the 2017 Cosafa Castle Cup match between Tanzania and Mauritius at the Moruleng Stadium, Rustenburg South Africa on 29 June 2017 ©Muzi Ntombela/BackpagePix
Himid Mkami of Tanzania challenged by Joao Manha of Angola during the Cosafa Castle Cup match between Angola and Tanzania at the Royal Bafokeng Stadium in Rustenburg on 27 June 2017 ©Samuel Shivambu/BackpagePix
Antonio Justo of Angola challenged by Erasto Nyoni of Tanzania during the Cosafa Castle Cup match between Angola and Tanzania at the Royal Bafokeng Stadium in Rustenburg on 27 June 2017 ©Samuel Shivambu/BackpagePix
Mzamiru Said of Tanzania challenged by Eduardo Da Cruz Leite of Angola during the Cosafa Castle Cup match between Angola and Tanzania at the Royal Bafokeng Stadium in Rustenburg on 27 June 2017 ©Samuel Shivambu/BackpagePix
Himid Mkami of Tanzania challenged by Joao Manha of Angola during the Cosafa Castle Cup match between Angola and Tanzania at the Royal Bafokeng Stadium in Rustenburg on 27 June 2017 ©Samuel Shivambu/BackpagePix
Nelson Da Luz of Angola challenged by Yahya Ramadhani of Tanzania during the Cosafa Castle Cup match between Angola and Tanzania at the Royal Bafokeng Stadium in Rustenburg on 27 June 2017 ©Samuel Shivambu/BackpagePix
Himid Mkami of Tanzania challenged by Eduardo Da Cruz Leite of Angola during the Cosafa Castle Cup match between Angola and Tanzania at the Royal Bafokeng Stadium in Rustenburg on 27 June 2017 ©Samuel Shivambu/BackpagePix
Nelson Da Luz of Angola challenged by Himid Mkami of Tanzania during the Cosafa Castle Cup match between Angola and Tanzania at the Royal Bafokeng Stadium in Rustenburg on 27 June 2017 ©Samuel Shivambu/BackpagePix
Herenilson Carma of Angola challenged by Mzamiru Said of Tanzania during the Cosafa Castle Cup match between Angola and Tanzania at the Royal Bafokeng Stadium in Rustenburg on 27 June 2017 ©Samuel Shivambu/BackpagePix
Mbaraka Abed of Tanzania challenged by Lucky Malata of Malawi during the Cosafa Castle Cup match between Tanzania and Malawi at the Moruleng Stadium in Rustenburg on 25 June 2017 ©Samuel Shivambu/BackpagePix
Mbaraka Abed of Tanzania challenged by Stanley Sanudi of Malawi during the Cosafa Castle Cup match between Tanzania and Malawi at the Moruleng Stadium in Rustenburg on 25 June 2017 ©Samuel Shivambu/BackpagePix
Francis Mulimbika of Malawi challenged by Saimon Msuva of Tanzania during the Cosafa Castle Cup match between Tanzania and Malawi at the Moruleng Stadium in Rustenburg on 25 June 2017 ©Samuel Shivambu/BackpagePix