AT&T’s top Washington exec was forced out of his lucrative gig after he authorized paying $600,000 to President Trump’s longtime lawyer and fixer Michael Cohen, a new report said Friday.

The telecommunications giant told employees in a memo that Bob Quinn was retiring — but an insider said Quinn was booted after the embarrassing revelation about the payment, the Wall Street Journal reported.

”There is no other way to say it — AT&T hiring Michael Cohen as a political consultant was a big mistake,” company CEO Randall Stephenson said in the message to employees.

Stephenson said in the memo that the company’s general counsel, David McAtee, would take over the company’s DC operations.

“David’s number one priority is to ensure every one of the individuals and firms we use in the political arena are people who share our high standards and who we would be proud to have associated with AT&T,“ Stephenson wrote, the paper reported.

AT&T said earlier this week that it hired Essential Consultants, a shell company created by Cohen that was also used to pay $130,000 in hush money to porn queen Stormy Daniels, for “insights” into the Trump administration shortly before the president’s inauguration, at the same time it needed government approval for an $85 billion takeover of Time Warner.

AT&T also said that investigators from special counsel Robert Mueller’s team contacted the company in late 2017 and that the company had cooperated with the probe.

The payments, along with others by pharma big Novartis, a US company linked to a Kremlin-connected Russian oligarch and a Korean aerospace company, were revealed earlier this week by Michael Avenatti, Daniels’ pugnacious lawyer.

Avenatti also said he had more information about Trump’s fixer than he had released.

Cohen — who promised access to Trump and his inner circle in exchange for the payoffs — performed no legal or lobbying work for the company, AT&T said.

Novartis, the Swiss pharma company, paid Cohen $1.2 million from February 2017 until the same month this year — and also called the payments a mistake, with company officials concluding after a single meeting with the lawyer that he had nothing of value to offer them.

They kept paying him anyway to avoid angering the volatile president, company officials said.

Mueller’s team also contacted Novartis, which said the company fully cooperated with his probe.

The Justice Department is seeking to block AT&T’s purchase of Time Warner on the grounds that it would stifle competition.

AT&T disagreed, sending the battle into a federal trial. US District Judge Richard Leon is expected to issue a ruling next month.

Daniels was paid to clam up about a one-night stand she said she had with Trump in 2006, a few months after his third wife, Melania, gave birth to their son, Barron.

Trump has denied the fling but offered conflicting accounts about whether he knew about the hush-money payoff.