Former deputy national security adviser Dina Powell is no longer under consideration to replace outgoing Ambassador to the U.N. Nikki Haley, a senior administration official confirmed to the Washington Examiner.

Reuters was the first to report Thursday evening that Powell was no longer on the short list of candidates to replace Haley.

President Trump spoke with Powell Wednesday about the possibility of becoming the public face of the Trump administration at the world body. It was widely speculated that Powell was among the top candidates for the position, although other candidates are still in the mix. The Washington Examiner reported that U.S. Ambassador to Germany Richard Grenell is a "family favorite," and is a name to watch as the administration considers Haley's replacement.

Powell has a number of close relationships within the administration, which made her a likely favorite for the position. Powell is close to Haley, who Trump praised publicly in the Oval Office earlier this week in front of television cameras and reporters, and the president's daughter, Ivanka Trump, and son-in-law, Jared Kushner.

[Read: The top 10 contenders to replace Nikki Haley at the UN]

While close relationships within the West Wing and the Trump orbit certainly didn't hurt her chances, one relationship that could have changed the president's mind is her particularly close relationship with her former boss, H.R. McMaster.

"She is really close with H.R. McMaster," a former President George W. Bush administration official who worked with Powell in Bush's administration and remains close to her today told the Washington Examiner. "McMaster said Dina really helped him understand the White House process and how to run a national security strategy. What he did was rely on Dina to troubleshoot."

White House chief of staff John Kelly was reportedly ready to see McMaster go when he was ousted from the administration. Kelly was also not a fan of Powell's style, which one source described to the Washington Examiner as tenacious, intense, and tireless. Kelly, who spent decades serving in the highest ranks of the military, did not like that Powell would not directly follow his orders.

McMaster was also replaced by notable foreign policy hawk John Bolton, a man Powell disagrees with on a number of foreign policy issues. The president and McMaster never developed a great rapport and that, along with reported inside tribulations with Kelly and Secretary of Defense Jim Mattis, did him no favors in keeping his position in the administration.

Powell was considered attractive because she would be a more moderate voice within the Trump administration and is close to many within the administration, two sources close to Powell told the Washington Examiner. One of her closest relationships is with Secretary of State Mike Pompeo, which one source cited, along with her fiance Dave McCormick's relationship with Pompeo, as a likely reason she was under consideration.

Powell's two children are another reason that she left the administration and might not consider a return, even though the U.N. ambassador is based in New York and not in Washington.

"It was definitely something that bothered her that she was in D.C. a lot," the source said. At the time, "the Trump administration was totally chaotic ... it wasn't like joining a well-oiled machine

Powell returned to Goldman Sachs earlier this year as a member of the investment bank’s management committee.