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.
|Rain halts England´s post-tea flourish|
|Australia 1 South Korea 1: Luongo seals late draw for Socceroos|
|Irving thrives on ´peace´ of being in the zone|
|Lloris admits France could have lost by more|
|Dybala impressed by Argentina´s improved spirit|
|Arsenal chief confirms Super League talks|
|Hooker knocks out Saucedo to retain WBO strap|
|NBA wrap: Kyrie Irving sizzles as Celtics beat Raptors in overtime|
|Jimmy Butler aims dig at Timberwolves following 76ers home debut|
|Koeman surprised by dominant Netherlands|
|Southgate rallies England ahead of Nations League decider|
|Chile 2 Costa Rica 3: Waston brace sinks La Roja|
|Tite inspired by Guardiola´s City|
|Argentina 2 Mexico 0: Funes Mori´s header helps to sink El Tri|
|Lovren ready for ´fiery´ England clash|
|Brazil captain Neymar pleased with stern Uruguay test|
|Ravens´ Flacco doubtful, Jackson could start|
|Richarlison: I want to be at the Copa America|
|Tabarez buoyed by inexperienced Uruguay|
|Howell fires 64 again to extend RSM Classic lead|
|I´m proud of them - Giggs still upbeat despite Denmark defeat|
|Mancini ´very sorry´ for Ronaldo absence|
|Neymar clinches anything-but-friendly win for Brazil over Uruguay|
|Cipriani-inspired Gloucester thrash Tigers|
|Djokovic makes it three wins from three at ATP Finals|
|Germany relegated from Nations League top tier to cap miserable 2018|
|Fulham will back Ranieri in January transfer window if required|
|Brazil 1 Uruguay 0: Neymar penalty settles tight contest|
|Netherlands 2 France 0: Wijnaldum & Depay decisive as Germany are relegated|
|Wales 1 Denmark 2: Jorgensen and Braithwaite seal Nations League promotion|
|Oxlade-Chamberlain targeting early return|
|New Zealand-born Aki will ´relish´ facing All Blacks – Marmion|
|Portugal cannot focus on absent Ronaldo - Santos|
|Ramsey reiterates he wants to stay with Jaguars despite cryptic tweet|
|We tried to hit a home run and it didn´t work out - D´Antoni explains Carmelo exit|
|West Ham´s Zabaleta backs Premier League´s VAR introduction|
|Southgate eyes winning end to England´s ´brilliant year´|
|Patient Zverev seizes opportunity to make amends at ATP Finals|
|Rodgers: Packers still believe they can make playoffs|
|Mahomes hoping to ketchup to Heinz´s touchdown target|
|Ranieri tells Fulham fans not to expect repeat of Leicester ´fairytale´|
|Brown to leave role as RFU chief executive|
|Croatia star Rakitic ruled out of England clash|
|Capital gains for Zverev as he secures last-four spot in London|
|Sancho rise continues with Player of the Month award|
|Jones-Buchanan, Ablett and Briscoe sign new Rhinos deals|
|Root leads from the front as aggressive England assume control|
|Croatia´s Lovren antagonises Ramos and ´rude´ Spain|
|Rakitic has ´enormous respect´ for England ahead of Nations League decider|
|Ireland make flanker switch with Leavy out of All Blacks clash|
|Pakistan rip through Black Caps in Abu Dhabi|
|WATCH: Barcelona mark 15-year anniversary of Messi´s first match|
|Sterling, that you? - Walker uses falling fan to poke fun at England team-mate|
|Fleetwood applies pressure on Molinari, Wallace leads in Dubai|
|Don´t talk to me about VAR – Rakitic not over World Cup final loss|
|Van Dijk leadership essential for Liverpool – Wijnaldum|
|Dalic: Croatia´s bench was ready to stop Spain!|
|Sublime Root century gives England imposing lead|
|Vinicius appreciates Solari influence at Real Madrid|
|Havertz would suit Bayern Munich – Kimmich|
|Wilder: Roach recruitment a sign of Fury nerves|
|Ranieri targets defensive improvements at failing Fulham|
|PSG close investigation into player recruitment practices after finding no discrimination|
|Mayweather: Nasukawa exhibition back on|
|Witsel: Joining Borussia Dortmund my best career decision|
|Ballon d´Or win would not change Modric´s ´best year´|
|Ireland v New Zealand: Opta stats behind the meeting of the world´s top two|
|The Breakdown: A statistical look at Saturday´s rugby internationals|
|Batshuayi dismisses reports of Valencia departure|
|Brazil must make Copa America final – Tite|