WASHINGTON — Last Saturday afternoon, President Barack Obama got a jarring update from his national security team: With restive crowds of young Egyptians demanding President Hosni Mubarak's immediate resignation, Frank G. Wisner, Obama's envoy to Cairo, had just told a Munich conference that Mubarak was indispensable to Egypt's democratic transition.

Obama was furious, and it did not help that his secretary of state, Hillary Rodham Clinton, Wisner's key backer, was publicly warning that any credible transition would take time — even as Obama was demanding that change in Egypt begin right away.

Seething about coverage that made it look as if the administration were protecting a dictator and ignoring the pleas of the youths of Cairo, the president "made it clear that this was not the message we should be delivering," said one official who was present. He told Vice President Joe Biden to take a hard line with his Egyptian counterpart, and he pushed Sen. John Kerry to counter the message from Clinton and Wisner when he appeared on a Sunday talk show the next day.

The trouble in sending a clear message was another example of how divided Obama's foreign policy team remains. A president who himself is often torn between idealism and pragmatism was navigating the counsel of a traditional foreign policy establishment led by Clinton, Biden and Defense Secretary Robert M. Gates, against that of a next-generation White House staff who worried that the American preoccupation with stability could put a historic president on the wrong side of history.

In interviews, participants described those tensions, as well as offering the first descriptions of Obama's two difficult phone calls imploring Mubarak to take the protesters' demands seriously. In those conversations, as Obama pressed Mubarak without demanding that he resign, the embattled Egyptian leader pushed back hard, arguing that the protests were the work of the Muslim Brotherhood and agents of Iran, a contention the Americans dismissed.

The officials said the hardest of those conversations came on Feb. 1, barely an hour after Mubarak announced he would not run for president again. In Obama's view, Mubarak still had not gone far enough. Describing the conversation, one senior official quoted Obama as telling the Egyptian president, "It is time to present to the people of Egypt its next government." He added, "The future of your country is at stake."

Mubarak replied, "Let's talk in the next three or four days." He added, "And when we talk, you will find that I was right." The two men never talked again.

However direct the conversations between the presidents, the public stance taken by the United States fed the perception that there was confusion on the Potomac. Time and again, the administration appeared to tack back and forth, alternately describing Mubarak as a stalwart ally and then a foe of meaningful political change. Twelve days ago, Obama was announcing that Mubarak had to begin the transition "now"; last weekend his chief diplomat was telling reporters that removing Mubarak too hastily could undermine Egypt's transition to democracy.

Inside the White House, the same aides who during his campaign pushed Obama to challenge the assumptions of the foreign policy establishment were now arguing that his failure to side with the protesters could be remembered with bitterness by a rising generation.

Those onetime campaign aides included Denis McDonough, the sharp-tongued deputy national security adviser; Benjamin J. Rhodes, who wrote the president's seminal address to the Islamic world in Cairo in June 2009; and Samantha Power, the outspoken Pulitzer Prize winner and human rights advocate who was once drummed out of the campaign for describing Clinton as a monster.

All agreed that Egypt, facing a historic popular revolt, needed to begin a genuine transition to democracy. The debate was how to deploy American influence on a volatile and fast-changing situation — to at least temporarily shore up a faltering ally proposing a gradual transition in the interests of stability, or to signal more support for a new generation of Egyptians demanding faster and more decisive change.

Despite the fervor on the streets of Cairo, and Obama's occasional tough language, the president always took a pragmatic view of how to use America's limited influence over change in Egypt. He was not in disagreement with the positions of Wisner and Clinton about how long transition would take. But he apparently feared that saying so openly would reveal that the United States was not in total sync with the protesters, and was indeed putting its strategic interests first. Making that too clear would not only anger the crowds, it could give Mubarak a reason to cling to power and a pretext to crush the revolution.

It was not only Wisner's and Clinton's comments that threw the administration off message. Biden told an interviewer that he did not believe Mubarak was a dictator — words he quickly regretted, officials say.

As the administration struggled to craft a message, it was playing to multiple audiences — the crowds in Tahrir Square, neighboring allies who feared the instability would spread and home audiences on the left and the right.

Clinton and some of her State Department subordinates wanted to move cautiously, and reassure allies they were not being abandoned, in part influenced by daily calls from Israel, Saudi Arabia and others who feared an Egypt without Mubarak would destabilize the entire region. Some were nervous because they perceived that the United States had been a cheerleader for the protesters in Tunisia.

In fact, some of the differences in approach stemmed from the institutional biases of the State Department versus those of the White House. The diplomats at the State Department view the Egyptian crisis through the lens of American strategic interests in the region, its threat to the 1979 peace accord between Egypt and Israel and its effects on the Middle East peace process.

The White House shared those concerns, officials said, but workers in the West Wing also worried that if Obama did not encourage the young people in the streets with forceful, even inspiring language, he would be accused of abandoning the ideals he expressed in his 2009 speech in Cairo.

For her part, Clinton, too, has called for radical change in the Arab world. In January, on a trip to Qatar, she issued a scathing critique of Arab leaders, saying their countries risked "sinking into the sand" if they did not undertake swift political reforms. She said that stagnant economies and the bulge in the youth population was a recipe for the kind of unrest that later convulsed Tunisia and Egypt. And during a meeting at the White House on Jan. 29, officials said, Clinton pushed for the administration to adopt language that would clearly lay the groundwork for Mubarak's departure.

But she also expressed concern later that a hasty exit of Mubarak could complicate Egypt's transition to democracy given the lack of a political culture there. Added to that, many foreign policy experts still worry that Egyptians are ultimately faced with a choice between the military on one side and the Muslim Brotherhood, an Islamist group, on the other.

For Obama, the turning point came on Feb. 1, when he watched Mubarak give a defiant speech on television and then called him to make the point that if the Egyptian leader thought he could avoid reform, he was mistaken. The next morning, he instructed his press secretary, Robert Gibbs, not to shy away from his demand that day that meaningful reform must begin "now."

''I want you to be clear that I meant what I said when I said 'now,' " Obama told his aides, according to a senior administration official. The result was Gibbs' line that "now started yesterday," which appeared to harden the administration's position even more.

But it also angered the administration's allies, who made their displeasure clear in a flood of calls. It was in that tense atmosphere that Clinton left on Feb. 4 for a security conference in Munich without Thomas E. Donilon, the national security adviser, who was initially supposed to attend, too.

The surprise speaker was Wisner, who addressed the group by video link just days after returning from Cairo, where he had gone to deliver Obama's message in person to Mubarak.

Wisner, a former ambassador to Egypt, comes from the old school of nurturing American relationships around the world. And he warned the audience in Munich that "you need to get a national consensus around the preconditions of the next step forward," and that, in the remarks that so angered Obama, Mubarak "must stay in office in order to steer those changes through."

In Munich, Clinton and other Western officials put their emphasis on the "orderly" part of an "orderly transition" in Egypt. Clinton ticked off the list of hurdles that had to be surmounted: Political parties had to be created, leaders had to emerge from an opposition that had been suppressed for 30 years, the constitution needed to be amended and voter rolls assembled. That process, she added, "takes time."

5 comments on this story

Clinton's message, officials said, was conflated later with Wisner's. Administration officials insist that Obama was angered by Wisner's remarks, not by Clinton's. But speaking to reporters on the flight home from Munich, Clinton echoed at least part of Wisner's argument, warning that Mubarak's abrupt resignation could prompt a chain of events, stipulated by the Egyptian Constitution, which would lead to elections in two months — far too short a time.

A spokesman for Clinton, Philippe Reines, said, "The secretary sees the need for profound transformation in the Middle East — and sees it as consistent with both our values and long-term interests." But, he added, "She is also very mindful of the challenges and seeks to ensure it proceeds in a way where people's aspirations are realized and not thwarted, where lives are valued and not lost."

Back in Washington, though, Obama was moving quickly to counteract the comments in Munich. The White House recruited Kerry, the chairman of the Foreign Relations Committee, who appeared on the NBC News program "Meet the Press" and declared that Wisner's comments "just don't reflect where the administration has been from day one."

In an interview on Friday, Kerry played down the administration's mixed messages. "A little confusion came out of Munich," he said. "Apart from that, they calibrated it appropriately, to try to give the process room without making it an American process."