No they did not. Not one military adviser advised Obama to keep troops in Iraq if the Iraqis could not continue the immunity from Iraqi courts that they had until the final date of withdrawal.
As you know, that is a lie. Why did you ignore what was happening or did you intentionally chose sources you knew would protect you from the truth?
Obama vs. the generals

By
Marc A. Thiessen Columnist September 15, 2014
Pity poor Gen. Lloyd Austin, top commander of U.S. forces in the Middle East.
Rarely has a U.S. general given his commander in chief better military advice, only to see it repeatedly rejected.
In 2010, Gen. Austin advised President Obama against withdrawing all U.S. forces from Iraq, recommending that the president instead leave 24,000 U.S. troops (down from 45,000) to secure the military gains made in the surge and prevent a terrorist resurgence. Had Obama listened to Austin’s counsel, the rise of the Islamic State could have been stopped.
But
Obama rejected Austin’s advice and enthusiastically withdrew all U.S. all forces from the country, boasting that he was finally bringing an end to “the long war in Iraq.”
Now the “long war in Iraq” is back. And because Obama has not learned from his past mistakes, it is likely to get even longer.
Last week, Obama announced a strategy to re-defeat the terrorists in Iraq. But instead of listening to his commanders this time around, Obama once again rejected the advice of . . . you guessed it . . . Gen. Lloyd Austin.
The Post reports that, when asked for his recommendation for the best way to defeat the Islamic State in Iraq and Syria,
Austin told the president that “his best military advice was to send a modest contingent of American troops, principally Special Operations forces, to advise and assist Iraqi army units in fighting the militants.” Obama was having none of it. Austin’s recommendation, The Post reports, “was cast aside in favor of options that did not involve U.S. ground forces in a front-line role.”
Obama vs. the generals