Hillary Clinton made an unexpected cameo at the Grammy Awards on Sunday, delighting many in the audience but turning off some high-profile viewers at home.

James Corden, the show’s host, introduced the bit on the premise of interviewing candidates to record the audio version of “Fire and Fury,” the political book by Michael Wolff about chaos inside the Trump administration. After a list of celebrities — John Legend, Cher, Snoop Dogg, Cardi B and DJ Khaled — gave it their farcical bests, Mrs. Clinton got big applause as she appeared.