Desfarges led two battalions (636 soldiers) on board five warships, in the second French embassy to Siam. The embassy to King Narai, under the special envoys Simon de la Loubère and Claude Céberet du Boullay, left France for Siam in March 1687. Desfarges had instructions to establish French troops in Mergui and Bangkok, if necessary by force.
The disembarkment of Desfarges troops in Bangkok and the troops of his officer du Bruant in Mergui led to strong nationalistic movements in Siam directed by Phra Petratcha and ultimately resulted in the 1688 Siamese revolution in which King Narai died, Constantine Phaulkon was executed, and Phra Petratcha became king.
Desfarges, when he learned of the crisis, started to move his troops to the capital Lopburi at the request of Phaulkon, but then retreated back to Bangkok when he learned of the king's death on July 11, 1688. Phaulkon was arrested, tortured and executed by the insurgents. In June, the French troops in Mergui had to be evacuated, and in September, Desfarges, besieged in Bangkok, negotiated for his troops to be evacuated to Pondicherry after the four month Siege of Bangkok. He had, however, to leave his two sons and the Roman Catholic Bishops of the country as hostages.
Desfarges finally returned to Pondicherry with his men in February 1690. Part of his troops remained in Pondicherry to strengthen the French presence there.
Desfarges left in March 1690, but died of illness on his way back to France on board the Oriflamme. He was widely attacked for his role in the Siamese debacle. His own version of the events was published anonymously in 1691.
The French commander Abraham Duquesne-Guiton would be involved with Siam in 1691.
- Hall, Daniel George Edward (1955). A History of South-east Asia. New York: St. Martin's Press. p. 307. ISBN 978-0-312-38641-2.
- Smithies (2002)
- Smithies 2002 Revolution, p.95-96
- Thailand, the New Siam, p.182, by Virginia Thompson, Virginia McLean Thompson (1941) The Macmillan company 
- Tate, p.503
- Lach, p.426
- Lach, Donald F. (1998) Asia in the Making of Europe University of Chicago Press ISBN 0-226-46765-1
- Smithies, Michael (2002), Mission Made Impossible: The Second French Embassy to Siam, 1687 Silkworm Books, Thailand ISBN 974-7551-61-6
- Smithies, Michael (2002), Three Military Accounts of the 1688 "Revolution" in Siam, Itineria Asiatica, Orchid Press, Bangkok, ISBN 974-524-005-2
- Smithies, Michael (1999), A Siamese embassy lost in Africa 1686, Silkworm Books, Bangkok, ISBN 974-7100-95-9
- Tate, D. J. M. (1979) The Making of Modern South-East Asia, Oxford University Press