BAGHDAD—French President Emmanuel Macron, on his initially formal go to to Iraq, pledged guidance to the country’s new authorities in its struggle in opposition to Islamic Condition, amid worries more than the militant group’s resurgence as the U.S. cuts its troops there.

“We remain fully commited since the struggle in opposition to terrorist Daesh proceeds,” Mr. Macron mentioned Wednesday in a information conference with Iraqi Key Minister Mustafa al-Kadhimi, referring to Islamic Condition by a different name. “But this must happen in the framework of agreements and protocols…