Nicki Minaj also joined Grande onstage for their joint singles, "Bang Bang" and "Side to Side", but suffered technical difficulties during the latter's performance.
"I've been rehearsing my whole f--ing life for this moment", Grande said as she brought the band out.
Ariana and the four members of the ex-boy band performed Tearin' Up My Heart.
Durant, Beverley tossed; Curry, Warriors take Game 1
The Warriors finished the regular season with a 57-25 record and earned the top seed in the Western Conference playoffs. We look at a lot of that stuff with our team. "We never thought he'd play again", Kerr said.
Despite some audio issues, Minaj powered through songs "Side to Side" and "Bang Bang" with Grande.
Grande's Coachella performance comes after what has been a series of professional triumphs and personal trials.
In October, Grande broke off her engagement to SNL performer Pete Davidson.
Luckily, Grande is the biggest pop star in the world at the moment, so her powerful fan base ensured that #ARICHELLA was trending worldwide on Twitter in the lead-up to her set, which was live-streamed on YouTube. Grande said frantically as she pointed to her earpiece. "She started with hit singles from her fifth and latest 2019 album, thank u, next, including 'God Is a Woman" and 'Bad Idea'.