Actually true, keeping Tuchel was the first choice apparently. Then Nagelsmann, Rangnick, De Zerbi, Alonso, Glasner, and I think there were more, can't really remember.
MorningGlow: And Sebastian Hoeneß too 👍 58
KloseMidfieldWar: Tuchel was hesitant about staying, but by the summer window he was completely ruled out.
Then Alonso, Nagelsmann, Rangnick, and De Zerbi all rejected Bayern one after another. Glasner seemed pretty keen on Bayern, but having just won a trophy, he wanted to stay at Crystal Palace. Rumors also included Zidane (who was dead set on the France job), Emery, Schmidt, etc. Media back then reported it as '9 rejections for Bayern'.
Of course, the reality is they probably didn't even contact that many managers—rumors popped up online, reporters asked the managers, and the managers pledged their loyalty.
The ones they genuinely approached and got rejected by were probably just Alonso and Nagelsmann.
Then there were the final candidates, Flick and Kompany. Hoeneß and Rummenigge backed Flick, while Eberl stood firm on Kompany, and in the end, Pep Guardiola's opinion sealed the deal. As it turned out, neither of the two they seriously debated was a bad choice. 👍 66
BigCanYouth: Tuchel wasn't first, Alonso was. They only considered keeping Tuchel after looking at a few others, then looked at a few more—Emery was also considered. 👍 21
Bayern25Mueller: Alonso was first. After getting rejected, they wanted to keep Tuchel for a year, hoping to go back for Alonso a year later. 👍 6
IslandWind: Crystal Palace wouldn't let Glasner go, stuck firmly to the £25m release clause

Vincent Kompany only cost 12m
De Zerbi seemed to just be media rumors, Bayern's board were probably still worried about his ability to handle the dressing room.
👍 3 AngelUser007: Don't forget Hansi Flick too, they also talked to Flick before finalizing Vincent Kompany, and it actually went really well. Reports said Flick and Hoeneß had completely reconciled back then, and Flick was already thinking about summer preseason, then Eberl stepped in and insisted on getting Kompany.
DeepNightSky: Both of those two turned out fine in the end, but having the guts to pick Vincent Kompany in that situation took some real balls.
BallKnowerXin: Alonso was the first choice, but Xabi seemed to hint it wasn't the right time yet. Second choice was Glasner, or Rangnick? Then De Zerbi, Unai Emery, etc. 👍 3
EnglandNo10: Back then there were Rangnick, Alonso, Julian Nagelsmann, Hansi Flick, Thomas Tuchel staying, De Zerbi, Glasner. 👍 3
JustHomeFromClassJoy: They only considered keeping Tuchel because nobody else wanted to come

. If keeping him was the first choice they wouldn't have terminated his contract, and the team only improved after they sacked him.
AllianzMusiala: Why did Pep Guardiola's opinion have the final say

KloseMidfieldWar: Hoeneß and Rummenigge made the joint decision for Rummenigge to call Pep, and it was Pep's firm backing of Kompany that cleared the supervisory board's doubts.
Enen11: The first choice was definitely Alonso, the second choice was a group of them (Nagelsmann, Rangnick), Rangnick got closest to the job before turning it down, next was Glasner who said yes but Crystal Palace said no, and then it came down to a choice between Hansi Flick and Kompany (both agreed to take the job).
AllianzMusiala: Ohhh, so that's how it is
Westfalen: I remember back then, whichever manager Bayern targeted would just extend their contract, right? People were even joking, 'Anyone else want a contract extension? Just hit up Bayern.'
LingShaoqing: And Ten Hag
IsItMondayToday: And Rangnick