Robert Lewandowski's goal eight minutes from time spared Bayern Munich’s blushes as they toiled against fourth-tier side Drochtersen/Assel in the DFB-Pokal before winning 1-0.
Niko Kovac named arguably his strongest side possible but his team struggled to create chances against diligent and organised opponents until late on.
Thomas Muller thought he had opened the scoring with 12 minutes to go, only for Franck Ribery to be adjudged offside, before Lewandowski finally put Bayern ahead by diverting Leon Goretzka's shot home.
Nevertheless, it was hardly a convincing performance from Kovac's men ahead of their Bundesliga opener next week.
Bayern's big guns had been rolled out at the Kehdinger Stadion but they were limited to few opportunities.
Javi Martinez had a header cleared off the line and Mats Hummels nodded over, yet Drochtersen/Assel were otherwise comfortable in the first half.
They even threatened themselves when Manuel Neuer, on his 300th Bayern appearance, saved from Florian Nagel with his feet.
It was more of the same after the break and within six minutes Kovac called for Kingsley Coman and Goretzka from the bench.
Thiago Alcantara then saw a shaped shot from range crash back off the crossbar and fall the right side of the line from a Drochtersen/Assel perspective.
The fourth-tier side would have welcomed a break to regroup and they got one as Bayern fans threw beachballs and tape onto the pitch in an apparent protest.
Play eventually restarted, after substitute Sandro Wagner had appealed for calm, and Bayern lost momentum.
Facing extra-time, Bayern finally had the ball in the net when Muller poked in Coman's cross only for a hurdling Ribery to be deemed offside.
Yet Kovac's side found a way through again shortly after. After good work from Ribery, Goretzka fired in a shot and Lewandowski stuck out a leg to divert the ball into the net, as Bayern breathed a sigh of relief.
What does it mean: Kovac has work to do
Having made an excellent first impression when his Bayern side routed Eintracht Frankfurt 5-0 in the DFL-Supercup final, Kovac’s honeymoon period may soon be over.
Bayern were overwhelming favourites to not just win, but win comfortably, and they looked worryingly short of ideas.
Smaller teams in the Bundesliga will surely have noted Drochtersen/Assel’s tactics when it comes to trying to stop Kovac's side in the league.
Pat on the back: Drochtersen/Assel’s diligent showing
Teams far superior to Drochtersen/Assel have been picked apart at will by Bayern so their display deserves plaudits.
They were brilliantly organised, unafraid to play it about when they could and deserved to take their illustrious opponents to extra time.
Boot up the backside: Arjen anonymous as Bayern struggle
Kovac would have been looking to Ribery and Arjen Robben to create openings and though the former finally woke up late on, Bayern's other winger was anonymous before being replaced early in the second half.
With Coman and James Rodriguez candidates to come into the team, Robben cannot afford too many poor performances.
Kovac's side will look to improve when Bayern's Bundesliga title defence begins at home to Hoffenheim on Friday. Drochtersen/Assel will be expecting a more straightforward assignment when they return to Regionalliga Nord action.
|Maradona hopes Sala will be found alive|
|Djokovic will not discuss potential Nadal showdown yet|
|A Federer-Nadal double? Even historic scalps may not be enough for Tsitsipas|
|Raonic to assess knee injury, hopes to avoid surgery|
|Barcelona right to fine ´complicated´ Dembele, says Ter Stegen|
|Higuain and Piatek on the move on busy day for Milan|
|Philippe and Vince humble the Hurricanes|
|Nishikori: I couldn´t beat anybody on one leg|
|Boateng poised for debut as Barcelona axe Suarez|
|Shami sets record in crushing win after sun stops play|
|Sala search focused on possible use of life raft|
|Pouille exceeds own expectations with run to Aus Open semis|
|Nishikori retirement sees Djokovic through to semi-finals|
|A golden boy, a guy you want to love - Delecroix pays emotional tribute to Sala|
|Richardson, Patterson to make Australia debuts against Sri Lanka|
|Police resume search for missing Sala plane|
|Pouille upsets Raonic to reach Australian Open semis|
|Dunk sees Stars past Strikers|
|How Serena gave up 5-1 lead – the key moments of loss to Pliskova|
|Pliskova enjoys ´best comeback´ after stunning Serena|
|Serena not blaming ankle injury for Australian Open loss|
|Mavericks capitalise on Clippers´ turnovers, pick up win in Smith´s return|
|Pliskova saves four match points to stun Serena with comeback win|
|Anthony ´can only make´ a team better, says Iverson|
|Henry more worried about Monaco´s future than his own|
|Osaka powers past Svitolina in Melbourne|
|Harden on Anthony trade: It kind of sucks that it didn´t work out|
|Redskins remain ´optimistic´ QB Alex Smith will play again|
|Patriots coach Belichick says Rams´ Donald is ´pretty much unblockable´|
|PSG fined €100,000 by LFP over player-recruitment practices|
|I´m not his father - Guardiola demands Mendy matures|
|Sykes record in vain as Banvit claim victory|
|Usain Bolt calls time on football career|
|Otamendi not happy at Man City, says Guardiola|
|Workaholic Woods learning to rest as he prepares for 2019 debut|
|Henry´s Monaco dumped out of Coupe de France|
|Qatar can win Asian Cup, says Sanchez|
|Tim Howard to retire following 2019 MLS season|
|Koscielny backs Bellerin to return from injury ´stronger than before´|
|Chiefs fire DC Bob Sutton after AFC Championship loss to Patriots|
|Reyes returns to Spain with second-tier strugglers Extremadura|
|Emiliano Sala: Profile of Cardiff City striker missing after joining from Nantes|
|Messi rested for Sevilla trip, Boateng set for debut|
|Nuno fined over pitch celebration in Leicester win|
|Nadal unfazed by another Next Gen opponent in Tsitsipas|
|Ulster hand lifetime ban to spectator after Zebo abuse|
|Phehlukwayo´s career-best day inspires Proteas against Pakistan|
|Bournemouth pounce for Brentford´s Mepham|
|You say all signings are controversial – Valverde defends Boateng arrival|
|Search for missing Sala plane suspended|
|Kohli and Williamson display mutual respect as India and Black Caps prepare for battle|
|Qatar 1 Iraq 0: Al Rawi free-kick books quarter-final spot|
|Ba joins Adebayor and Robinho at Istanbul Basaksehir|
|BREAKING NEWS: Tottenham´s Alli out until March with hamstring injury|
|Fit-again Joseph added to England squad|
|It is very, very serious for us - Tuchel wants midfielder in January window|
|Lakers expect Rajon Rondo back Thursday as LeBron James continues rehab|
|Atletico Madrid boosted as Koke thigh injury revealed to be minor|
|South Korea 2 Bahrain 1 (after extra time): Kim Jin-su seals quarter-final spot|
|AC Milan confirm Zapata thigh injury|
|I miss him a lot - Guardiola confirms ´clever´ Mendy back in Man City squad|
|Tiafoe wants LeBron meeting after run to Australian Open quarters|
|Cardiff continue to ´pray´ for Sala|
|West Ham fined over Burnley clash chaos|
|Knicks star Enes Kanter frustrated by reduced role|
|Kvitova getting back to her best, says Barty|
|Kvitova revels in first semi of ´second career´|
|Messi´s the best player in every world – Boateng dismisses past Real Madrid comments|
|Thunder frustrations continue against Renegades|
|Alonso vows to clear name in tax fraud case|