In 2013, he was cast in a recurring role on theĀ FOXĀ romantic comedy,Ā Us & Them. Beginning in June 2015, he portrayed Rafiq Massoud in the HBO comedy seriesĀ The Brink. He also served as a writer and co-producer on the series. Also in 2015, he was the lead actor, co-writer and producer of the web seriesĀ Halal in the Family, which premiered onĀ Funny or Die. In 2016, he joined the climate change documentary showĀ Years of Living DangerouslyĀ as one of its celebrity correspondents.
Beginning in 2017, he had a short recurring role on Netflix's Ā A Series of Unfortunate EventsĀ as Montgomery "Uncle Monty" Montgomery, a herpetologist and distant relative of the Baudelaire children. In 2019, he starredĀ in CBS' supernatural drama seriesĀ EvilĀ as Ben Shakir, a carpenter who works as a technical expert, equipment handler and debunker of supernatural phenomena. His other recurring roles include Oz, CSI, Tanner on Tanner, The Bedford Diaries, Jericho, Blue Bloods, Younger, and This Way Up. He hosted the game show Would I Lie to You? (2022).
He played minor roles in the filmsĀ The SiegeĀ andĀ Die Hard with a Vengeance. He played the doctor who diagnosed Paul Vitti's (Robert De Niro) panic attacks in Analyze This,Ā and had a role as Mr. Aziz of "Joe's Pizza" inĀ Spider-Man 2. He played theĀ tone deafĀ doorman Khan inĀ Music and Lyrics, a dentist alongsideĀ Ricky Gervais in Ghost Town, Bob Spaulding inĀ The Proposal, and appeared inĀ It's Kind of a Funny Story.
InĀ M. Night Shyamalan'sĀ The Last AirbenderĀ (released in 2010) he played a major role asĀ Commander Zhao. He played the role of Mr. Chetty in The InternshipĀ andĀ Ash VasudevanĀ inĀ Million Dollar Arm. He has appeared in other films including Random Hearts, Margin Call, Dark Horse, The Dictator, Ruby Sparks, Premium Rush, Movie 43, Mother's Day, Drunk Parents, and more.