Bharara was invited to address students and faculty at the prestigious law school on its 2014 Class Day ceremony last week.
The top US attorney in Manhattan spoke about the criticism he faces from all quarters as well as from various governments because of his work.
He added that he has even "been banned from Russia".
Raising the Khobragade case, Bharara said he got the most flak for prosecuting the former Indian deputy Consul General even though the case was initiated and investigated by the US State Department and seasoned law enforcements officials.
"You may have heard about the case we brought last year in which the State Department arrested a mid-level Indian female diplomat Devyani Khobragade for visa fraud in connection with lies about what she would ultimately pay her domestic worker (also an Indian).
"(It was) not the crime of the century but a serious crime nonetheless, that is why the State Department opened the case, that is why the State Department investigated it. That is why career agents in the State Department asked career prosecutors in my office to approve criminal charges. That case basically caused an international incident," he said.
Bharara said he became "personally aware" that Khobragade would be arrested only a couple of days before the arrest was scheduled.
He became bothered by the "line of attack" made by the Indian government and media that he brought the case to "serve his white masters, presumably (US Attorney General) Eric Holder and (President) Barack Obama", both of whom are black.
"That was tough because it bothered them," he said.
He was also concerned when he had to explain the accusations made against him to his young daughter, he said.
"That was not so pleasant. I'll admit that I was upset as I think a normal human being might be. But as the accusations got more and more absurd, they became downright comical and I got some of my perspective back," he said.
"Indian critics were angry because even though I hailed from India, I appeared to be going out of my way to act American and serve the interests of America, which was odd because I am American and the words US are in my title," he said.
He said, "Putting aside disputes about the merits of the case," the Indian government and media decided that the case was brought by an Indian-American "for all manner of bad personal reasons, never mind that the case was initiated and investigated by career law enforcement officials."
Election Results for Lok Sabha Election 2019 will be out on May 23. Get the latest election news and live updates on ndtv.com/elections. Catch all the action on NDTV Live. Like us on Facebook or follow us on Twitter and Instagram for news updates from each of the 543 parliamentary seats for the election 2019