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.
|Jose Mourinho open to Ligue 1 job|
|Inter 2 Sampdoria 1: Nainggolan salvages win in Icardi´s absence|
|Muguruza and Kasatkina battle their way into Dubai second round|
|Cecchinato hammers home favourite Schwartzman to win Argentina Open|
|Toulouse resist Racing fightback to reclaim top spot|
|Icardi contract talks continue despite losing Inter captaincy|
|Halep ends Van Cleemput collaboration|
|Swansea City 4 Brentford 1: James-inspired turnaround books quarter-final berth|
|Doncaster Rovers 0 Crystal Palace 2: Eagles ease into FA Cup´s last eight|
|Windies star Gayle to retire from ODIs after World Cup|
|Wenger backs Henry to bounce back|
|20-0! Seven-man crisis club Pro Piacenza thrashed in Serie C farce|
|Monfils holds off Wawrinka for Rotterdam title|
|Walker hat-trick gets Rhinos up and running|
|Ramos red card an ´occupational hazard´, says Solari|
|Dan Carter to make Racing 92 return|
|Ashton ruled out for Wales clash|
|Nuno hails cup win as ´moment of joy´|
|Marcelo v Reguilon: Real Madrid mainstay losing left-back battle|
|Marcelo is an institution - Eusebio denies targeting Real Madrid left-back|
|I´d rather surround myself with people I really like - Osaka explains coach split|
|We do not have to kill Real Madrid forever - Odriozola|
|Bristol City 0 Wolves 1: Cavaleiro repeats cup heroics|
|Blackburn Rovers 0 Middlesbrough 1: Assombalonga strengthens Boro´s play-off credentials|
|Coman restricted to light training ahead of Liverpool clash|
|Solari refuses to concede LaLiga title race is over|
|Courtois: Real Madrid could not control Girona|
|Weary Kvitova reflects on ´crushing´ start to 2019|
|Umtiti in Barcelona squad to face former club Lyon|
|It´s hard to take - Maxwell laments Stars´ stunning Big Bash defeat|
|Pogba: Manchester United emulating ´Class of 92´|
|Real Madrid 1 Girona 2: Stuani and Portu seal stunning comeback|
|Boult, Mahmudullah fined by ICC|
|Neymar Senior: No chance of PSG star facing Manchester United|
|Broad expects sledging to subside in 2019 Ashes|
|Aguero targets historic quadruple|
|Scholes backs Solskjaer for Man United job|
|Finch hails ´special´ Renegades comeback|
|Sydney FC 1 Central Coast Mariners 1: Le Fondre strike averts shock defeat|
|Fox soars in Perth final to win World Super 6|
|Williams delay start to pre-season testing|
|Renegades crowned BBL champions after stunning Stars collapse|
|What we learned from NBA All-Star Saturday|
|Kaepernick´s attorney tips Patriots to make move for QB|
|Tebow: I told Murray to follow his heart|
|Mourinho created unhealthy atmosphere – Sanchez|
|Santa Cruz defends belt against Rivera|
|Opelka, Isner set ATP Tour record at New York Open|
|Diallo soars over Shaq to win Slam Dunk contest|
|WATCH: Diallo dunks over Shaquille O´Neal|
|Silver: NBA trade requests should stay behind closed doors|
|´It´s more of an aspiration´ – LeBron clears up potential NBA ownership|
|Harris wins Three-Point contest ahead of Curry|
|Thomas leads rain-delayed Genesis Open|
|Tatum wins NBA Skills Challenge with stunning half-court shot|
|Robben: Anfield is the worst stadium|
|Valverde not nervous about Messi penalties after spot-kick miss|
|Sanchez ´worried´ amid Man United struggles|
|Schoeman hat-trick sees Lions past Jaguares|
|Piatek lives to score goals - Milan striker´s brilliant double pleases Gattuso|
|Lyon will punish Barca in this form, Pique warns|
|Guardiola lauds Silva´s ´incredible´ FA Cup performance|
|Clermont hit the top, Perpignan finally win|
|Schwartzman saves match point to down Thiem in Buenos Aires|
|Leinster withstand Zebre test as Connacht claim big win|
|Antonio Brown: Roethlisberger has owner mentality and you can´t call him out|
|Pizarro becomes Bundesliga´s oldest ever goalscorer|
|Wawrinka ends 20-month wait for final to book Monfils showdown|
|Barcelona 1 Real Valladolid 0: Hit and miss as Messi gets job done|
|Atalanta 1 AC Milan 3: Two-goal Piatek lands blow in fight for fourth|