Israel’s new prime minister, Naftali Bennett, heads to Washington promising better relations and seeking support for covert attacks on Iran’s nuclear program.WASHINGTON — The cable sent this year by the outgoing C.I.A. officer in charge of building spy networks in Iran reverberated throughout the intelligence agency’s Langley headquarters, officials say: America’s network of informers had largely been lost to Tehran’s brutally efficient counterintelligence operations, which has stymied efforts to rebuild it.Israel has helped fill the breach, officials say, its robust operations in Iran providing the United States with streams of reliable intelligence on Iran’s nuclear activities, missile programs and on its support for militias around the region.The two countries’ intelligence services have a long history of cooperation and operated in virtual lock step during the Trump administration, which approved or was party to many Israeli operations in its shadow war against Iran.That changed after the election of President Biden, who promised to restore the nuclear agreement with Iran that Israel so vigorously opposed. In the spring, Benjamin Netanyahu, then Israel’s prime minister, even curtailed intelligence sharing with the United States because he did not trust the Biden administration.The challenge for the two countries — as Israel’s new prime minister, Naftali Bennett, meets with Mr. Biden at the White House on Thursday — will be whether they can rebuild that trust even as they pursue contradictory agendas on Iran. The Biden administration favors a diplomatic approach, reviving and building on the 2015 nuclear agreement, while Israeli officials say that only force can stop Iran from building an atomic bomb.A key goal for Mr. Bennett will be to determine whether the Biden administration will continue to support Israel’s covert operations against Iran’s nuclear program, senior Israeli officials said.Israeli officials hope that any new deal with Iran will not limit such operations, which in the past have included sabotage of Iranian nuclear facilities and the assassination of Iranian nuclear scientists.The White House meeting comes just weeks after William J. Burns, the C.I.A. director, traveled to Israel to meet his counterpart, David Barnea, as well as Mr. Bennett, a sign of the importance of intelligence cooperation to the bilateral relationship.“The sharing of intelligence and operational activity between Israel and the United States is one of the most important subjects on the agenda for the meeting,” said Maj. Gen. Aharon Zeevi Farkash, a former director of Israeli military intelligence. “Israel has developed unique capabilities for intelligence collection in a number of enemy countries, capabilities that the United States was not able to grow on its own and without which its national security would be vulnerable. ”William J. Burns, the C.I.A. director, second from left, recently met with his counterpart in Israel. The two agencies are trying to rebuild trust as their countries pursue contradictory agendas on Iran.Stefani Reynolds for The New York TimesIn his meeting with Mr. Biden, Mr. Bennett’s hand will be strengthened by the fact that the United States has become more dependent on Israel for information on Iran. The United States has other sources of information, including electronic eavesdropping by the National Security Agency, but it lacks the in-country spy network Israel has..css-1xzcza9{list-style-type:disc;padding-inline-start:1em;}.css-3btd0c{font-family:nyt-franklin,helvetica,arial,sans-serif;font-size:1rem;line-height:1.375rem;color:#333;margin-bottom:0.78125rem;}@media (min-width:740px){.css-3btd0c{font-size:1.0625rem;line-height:1.5rem;margin-bottom:0.9375rem;}}.css-3btd0c strong{font-weight:600;}.css-3btd0c em{font-style:italic;}.css-w739ur{margin:0 auto 5px;font-family:nyt-franklin,helvetica,arial,sans-serif;font-weight:700;font-size:1.125rem;line-height:1.3125rem;color:#121212;}#NYT_BELOW_MAIN_CONTENT_REGION .css-w739ur{font-family:nyt-cheltenham,georgia,’times new roman’,times,serif;font-weight:700;font-size:1.375rem;line-height:1.625rem;}@media (min-width:740px){#NYT_BELOW_MAIN_CONTENT_REGION .css-w739ur{font-size:1.6875rem;line-height:1.875rem;}}@media (min-width:740px){.css-w739ur{font-size:1.25rem;line-height:1.4375rem;}}.css-9s9ecg{margin-bottom:15px;}.css-uf1ume{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}.css-wxi1cx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end;}.css-12vbvwq{background-color:white;border:1px solid #e2e2e2;width:calc(100% – 40px);max-width:600px;margin:1.5rem auto 1.9rem;padding:15px;box-sizing:border-box;}@media (min-width:740px){.css-12vbvwq{padding:20px;width:100%;}}.css-12vbvwq:focus{outline:1px solid #e2e2e2;}#NYT_BELOW_MAIN_CONTENT_REGION .css-12vbvwq{border:none;padding:10px 0 0;border-top:2px solid #121212;}.css-12vbvwq[data-truncated] .css-rdoyk0{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}.css-12vbvwq[data-truncated] .css-eb027h{max-height:300px;overflow:hidden;-webkit-transition:none;transition:none;}.css-12vbvwq[data-truncated] .css-5gimkt:after{content:’See more’;}.css-12vbvwq[data-truncated] .css-6mllg9{opacity:1;}.css-qjk116{margin:0 auto;overflow:hidden;}.css-qjk116 strong{font-weight:700;}.css-qjk116 em{font-style:italic;}.css-qjk116 a{color:#326891;-webkit-text-decoration:underline;text-decoration:underline;text-underline-offset:1px;-webkit-text-decoration-thickness:1px;text-decoration-thickness:1px;-webkit-text-decoration-color:#326891;text-decoration-color:#326891;}.css-qjk116 a:visited{color:#326891;-webkit-text-decoration-color:#326891;text-decoration-color:#326891;}.css-qjk116 a:hover{-webkit-text-decoration:none;text-decoration:none;}The risk of such dependence became clear in April when Israel set off explosives at Iran’s Natanz nuclear plant.Mr. Netanyahu had ordered his national security officials to reduce the information that they conveyed to the United States about planned operations in Iran, American and Israeli officials said.And on the day of the attack, Israel’s foreign intelligence agency, the Mossad, gave the United States less than two hours’ notice, according to American and Israeli officials, far too short a time for the United States to assess the operation or ask Israel to call it off.Israeli and American officials interviewed for this article spoke on the condition of anonymity to discuss classified operations.Israeli officials said they took the precautions because Americans had leaked information about some Israeli operations, a charge U.S. officials deny. Other Israeli officials say the Biden administration had been inattentive to their security concerns, too focused on reviving the Iran nuclear agreement that President Donald J. Trump had pulled out of.A satellite photo showing the Natanz nuclear facility in April 2021. Days earlier, Israeli operatives set off a large explosion inside the plant. Planet Labs Inc., via Associated PressIn Washington, many American officials said they believed that Mr. Netanyahu was just resuming the grudge he had held against the Obama administration, which negotiated the nuclear deal with Iran.The last-minute notification of the Natanz operation was the starkest example that Israel had changed its procedures since the Trump presidency.Senior Biden administration officials said that the Israelis, at least in spirit, had violated a longstanding, unwritten agreement to at least advise the United States of covert operations, giving Washington a chance to object.Mr. Burns called his counterpart, Yossi Cohen, the Mossad chief, expressing concern over the snub, according to people briefed on the call.Mr. Cohen said that the belated notification was the result of operational constraints and uncertainty about when the Natanz operation would take place.For the American-Israeli intelligence relationship, it was another a sharp turnabout.Relations had soured during the Obama era.The Obama White House, concerned that Israel was leaking information, kept the existence of the negotiations with Iran secret from Israel, a former Obama administration official said. Israeli intelligence learned of the meetings from its own sources.Mr. Netanyahu was also convinced that American spy agencies were keeping him under surveillance, according to a former Israeli official.During the Trump administration, cooperation reached new highs.In the spring, Benjamin Netanyahu, then Israel’s prime minister, curtailed intelligence sharing with the United States because he did not trust the Biden administration.Dan Balilty for The New York TimesWhen the Mossad stole Iran’s nuclear archive in 2018, the only foreign officials briefed in advance were Mr. Trump and his C.I.A. director, Mike Pompeo.Israeli officials used the documents to convince Mr. Trump that Iran had an active nuclear weapons program, and Mr. Trump cited them when he withdrew from the nuclear agreement months later, a major victory for Mr. Netanyahu.“This was clever use of intelligence,” Mr. Netanyahu told The New York Times in 2019.Iran has denied that it seeks a nuclear weapon, but the archives showed that Iran had a nuclear weapons program as recently as 2003. According to American intelligence officials, no evidence has emerged that the program continued.During meetings with senior Trump administration officials in late 2019 and early 2020, Mr. Cohen presented a new Iran strategy, arguing for aggressive covert operations to sabotage Iran’s nuclear facilities and killing key personnel to force Iran to accept a stricter agreement.Israel began a wave of covert operations, keeping the Trump administration in the loop on a series of cyber and bombing attacks on Iranian nuclear facilities and on the assassination of Iran’s chief nuclear scientist, Mohsen Fakhrizadeh, in November 2020, after the American election but before Mr. Biden took office.The two countries also cooperated on two operations in 2020: a U.S. operation to kill the leader of Iran’s paramilitary Quds Force, Maj. Gen. Qassim Suleimani, and an Israeli operation to kill a Qaeda leader who had taken refuge in Tehran.Mr. Pompeo, who later served as secretary of state, said that there was no relationship more important during his four years in the Trump administration than the one that the C.I.A. had with the Mossad.“The two organizations really had a moment, an important moment in history,” he said in an interview in June.In January 2020, an American drone strike killed Maj. Gen. Qassim Suleimani as he was leaving the Baghdad airport. The strike was aided by Israeli intelligence.Sergey Ponomarev for The New York TimesBut the warmth of the Trump years quickly gave way to chillier relations this year. The Biden administration’s announcement of its plan to return to the Iran nuclear deal and repeated delays of visits by Israeli intelligence officials to Washington deepened skepticism of the new administration in Israel.Mr. Cohen sought to repair the relationship with the United States during his final months as Mossad chief, a senior Israeli official said.On his final visit to Washington in April, a little more than two weeks after the Natanz bombing, he met with C.I.A. officials and Mr. Biden, promising a more transparent intelligence relationship. Mr. Burns gave him a warm reception, and an award for fostering the close partnership between the Mossad and the C.I.A.“You have people within both intelligence organizations that have had relationships for a very long time,” said Will Hurd, a former C.I.A. officer and former member of the House Intelligence Committee. “There is a closeness and an ability to potentially smooth out some of the problems that may manifest from the leaders.”Arguably as important in rebooting the relations between the two spy shops was the departure of Mr. Netanyahu from the prime minister’s office.Prime Minister Naftali Bennett, who meets with President Biden on Thursday, said he would use the meeting with Mr. Biden to try to reset the tone of Israel’s relationship with the United States.Amit Elkayam for The New York TimesMr. Bennett says he wants to open a new chapter in relations with the White House, and has promised a more constructive approach.But the Mossad is already planning more secret operations in Iran. The question for the Biden administration is which are acceptable and when, General Zeevi Farkash said.“The U.S. and Israel must jointly identify the red lines so that if Iran crosses them, Israel can act to prevent it from achieving military nuclear capacity,” he said.Julian E. Barnes and Adam Goldman reported from Washington, and Ronen Bergman from Tel Aviv. Eric Schmitt contributed reporting from Washington. More