SALT LAKE CITY — The disaster unfolded as predicted,

The Knicks were missing their two top scorers, forwards Julius Randle (personal) and Marcus Morris (neck), and were on the second leg of a back-to-back to conclude a four-game Western Conference swing.

The Jazz were riding a six-game winning streak and playing on their home floor at Vivint Smart Home Arena, known for its altitude.

Utah rolled up 72 first-half points and even ex-Knick Emmanuel Mudiay inflicted revenge coming off the bench with a team-high 20 points in a 128-104 whitewashing Wednesday night.

“They were getting too many easy everything,’’ RJ Barrett said. “Layups, 3s, everything was just easy.”

The Knicks (10-28) finished their road trip 0-4 with interim coach Mike Miller facing his first mini-crisis as they return home to face the Pelicans, without Zion Williamson, on Friday. Miller’s record fell to 6-10, and he has yet to beat a team that currently has a .500 or better record.

This was not a trip in which Miller’s defense came together. In the four games against the Suns, Clippers, Lakers and Jazz, the Knicks allowed an average of 125 points.

It’s tough to blame Miller, however, because his team was so clearly overmatched by the Jazz (25-12). Randle had to go home because of a serious family issue. On this trip, Elfrid Payton was traveling back and forth to Louisiana after his first child was born.

With 8:42 left in third quarter, Westchester County product Donovan Mitchell (16 points) blew by Payton as if he were stationary. Nobody helped and Mitchell soared in for an uncontested jam. Miller called for a timeout, as his team had fallen behind by 29 points.

The Knicks signed Payton as a free agent and ignored Mudiay, who settled for a minimum deal with Utah. He’s glad he did.

Looking in the best shape of his NBA career, Mudiay came off the bench and made some dazzling passes and scored 20 points with four assists, shooting 8-of-12.

“He played well,’’ Miller said.

Jazz coach Quin Snyder gave him extended minutes, likely because it was against the Knicks.

“I really appreciate that, and it shows what kind of guy he is,’’ Mudiay said. “I thought I was a pretty smart player until I came here. (Quinn) took it to another level, and I bought in.’’

Mudiay was the Knicks’ leading scorer last season as David Fizdale’s pet project, but team brass surprisingly didn’t call him.

Miller started Bobby Portis in Randle’s slot, and he came out misfiring. He shot 3-for-10 in the first half and 5-for-17 overall. After getting fined $25,000 for flagrant 2 ejection foul Tuesday against the Lakers, Portis picked up another flagrant Wednesday, hammering Bojan Bogdanovic.

“I didn’t think it was excessive at all,’’ Portis said. “I went to the monitor. Anytime you go to the monitor and it’s me, it’s going to be something.’’

The Jazz shot 65 percent in the first half as Utah’s quick guards exploited the Knicks repeatedly in taking a 72-53 lead. Utah was unstoppable in the half. Bogdanovic was on fire from 3-point range, hitting 3-for-5 and racking up 13 points. He finished with 20 points.

Rudy Gobert drove in for a monster dunk and finished with 14 points in the half and went for 16 points and 16 rebounds.

The Knicks had six double-figure scorers led by Frank Ntilikina’s 16, but they were never in it.

“It was tough,’’ Portis said. “We missed [Randle and Morris] a lot today, but you can’t give an excuse. You got to play harder.’’

The Knicks went from one purple beating to another. They were routed by 30 points against the Lakers on Tuesday. Utah wore its old-school purple road jerseys in inflicting Wednesday’s damage.

For more on the Knicks, listen to the latest episode of the “Big Apple Buckets” podcast: