In a statement, Macron also praised the "effective mobilisation" of the Burkina security forces in ending the assault, which left at least 18 people dead, including at least one French national, according to Paris prosecutors.
Macron and his counterpart in the former French colony, Roch Marc Christian Kabore, will discuss the situation, his office said in a statement.
France remains committed to pursuing the fight against terrorist groups in west Africa and accelerating work to set up a planned Sahel force to fight jihadists, the statement said.