WASHINGTON _ Rex Tillerson's most urgent task at the State Department isn't necessarily to manage the threat from Iran and North Korea, to recast relations with Russia and China, or to calm nervous allies in Europe and the Far East.
It will be to quell what some describe as a near mutiny among the State Department's vast staff and to counter a growing sense of demoralization among the nation's diplomats.
In a largely partisan vote, the former Exxon Mobil chief executive won his Senate approval Wednesday as secretary of state by a vote of 56-43. Only three Democrats and one independent crossed party lines to join Senate Republicans, a sign of how divisive Tillerson's nomination has been.
Tillerson, 64, takes over a normally staid department that has been singularly roiled by President Donald Trump's efforts to shake up the U.S. foreign policy and national security establishment in pursuit of what Trump calls an "America First" policy.
Trump's critics describe confusion and concern at the State Department as career diplomats and civil servants struggle with what they see as baffling overtures to Russia and seeming snubs of NATO allies, dissing of Mexico and an executive order temporarily barring entry to visitors and immigrants from seven Muslim-majority countries.
"It has been head-spinning," said the U.S. ambassador to one of the nations caught up in the Trump tumult. The envoy did not want to be identified given the uncertain transition.
Most of the State Department's top political appointees have departed, as often happens when a new administration arrives. But so many Republican foreign policy veterans criticized Trump during the campaign, and now are essentially barred from joining his administration, that dozens of senior positions may remain empty for months.
Choosing them may put the former Texas oil man at odds with the White House, which already has shown it is more than willing to write sweeping executive orders without getting any buy-in from the departments that must implement them.
Like Trump, Tillerson has no government or military experience. During a rocky Senate confirmation hearing last month, he faced sharp questions from Democrats about his personal friendship with Russian President Vladimir Putin, his refusal to condemn Saudi Arabia and the Philippines for human rights abuses, and his views on efforts to ease global warming.
"There's a new level of consternation," said Antony Blinken, who was deputy secretary of state under President Barack Obama. He commented after the chaotic start of Trump's travel suspension Friday, which saw hundreds of people with valid U.S. visas and green cards suddenly detained at U.S. airports or stranded around the globe.
The State Department was not consulted before the order was issued, sources said, even though it is responsible for issuing visas and vetting refugees.
The concerns boiled over Tuesday, when more than 800 U.S. diplomats, consular officers and other Foreign Service employees formally submitted a signed cable of dissent to Trump's order to temporarily suspend all travel from seven Muslim-majority countries in an effort to prevent terrorism.
The dissent channel is a rarely used but time-honored system that allows State Department officials to offer opinions on foreign policy that diverge from the White House. The dissents are usually confidential, but this one _ the largest ever _ was circulated to U.S. embassies and consulates around the world.
"A policy which closes our doors to over 200 million legitimate travelers in the hopes of preventing a small number of travelers who intend to harm Americans ... will not achieve its aim of making our country safer," it states. "Such a policy runs counter to core American values of nondiscrimination, fair play and extending a warm welcome to foreign visitors and immigrants."
When reports of the diplomats' mass dissent first emerged, Trump's team reacted sharply. White House press secretary Sean Spicer said Monday that "career bureaucrats" should "either get with the program or they can go."
Trump's critics viewed that as a veiled threat, noting that the dissent channel is designed to protect from retribution those employees who use it.
"This is antithetical to the culture of the State Department and the whole purpose of the dissent channel," said Rep. Adam B. Schiff, D-Calif. Those who signed, he said, may now fear they are "blacklisted," their careers damaged.
Angst at the State Department was exacerbated by the abrupt ouster last week of several senior officials, including the undersecretary for management, Patrick Kennedy, and four members of his team.
Kennedy's departure was not unexpected. He was a staunch defender of former Secretary of State Hillary Clinton, Trump's presidential rival, especially over her handling of the attacks that killed four Americans in Benghazi, Libya, in 2012.
But the abrupt removals left the State Department rudderless in several essential areas of operations and security. "As a career diplomat, I experienced many transitions and never saw anything like this dangerous purge of public servants now underway at State," Laura Kennedy, a former deputy secretary of State for Eurasia, said via Twitter.
Among those who resigned was Victoria Nuland, a career ambassador, assistant secretary of state and highly regarded hawk on Russia. Trump has openly praised Putin and has vowed to seek a friendlier relationship with Moscow.
Jon Finer, who served as chief of staff to former Secretary of State John F. Kerry, said it could take months to fill so many high-level positions, leaving a "gaping hole" in diplomacy as the new administration is tested around the globe.
Department veterans also decried what they described as a "no need to know" approach by Trump's aides, who they said had declined briefings by outgoing diplomats and had ignored policy papers prepared for the transition team.
Consultation with State Department officials might have spared the Trump administration its latest dust-up with Mexico.
As Mexican officials worked with the White House to prepare for President Enrique Pena Nieto's planned visit to Washington, Trump ordered construction to start on a border wall and repeated his campaign promise to force Mexico to pay for it. His aides proposed slapping a 20 percent tariff on Mexican imports.
Pena Nieto, who has repeatedly said Mexico will not pay for the barrier, canceled his trip in response.
The two leaders have since spoken on the telephone. Afterward they issued nearly identical statements, but Pena Nieto's said the two leaders agreed not to publicly discuss the wall, a detail not included in Trump's version.
Mexican sources said the U.S. president continued to insist that Mexico pay for building the wall, a nonstarter for Pena Nieto.