German champion Bayern made it two wins in Group C and advanced to the round of 16 with a game to spare.
Olise secured the victory at Hard Rock Stadium after Miguel Merentiel had put Boca in position for a draw with a brilliant solo goal in the 66th.
Bayern, which tops the group, took the lead on Harry Kane's clinical finish in the 18th and went on to miss of a slew of chances before Merentiel's equalizer.
Key moment
Bayern looked like being held until Olise's cool finish. Collecting Kane's layoff inside the box, the forward curled a powerful first-time effort low into the bottom corner.
Takeaways
Bayern has the luxury of resting players for its final group game against second-placed Benfica on Tuesday, which could be bad news for Boca. Argentine giant Boca, which plays Auckland, needs Bayern to beat Benfica to have any chance of advancing to the next round.
Find more details on group standings, match schedules, and competition statistics
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)