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.
|Lopetegui backs Modric over Ronaldo for individual prizes|
|Goretzka to start against former club Schalke, confirms Kovac|
|Fisher shoots first 59 in European Tour history|
|Simeone defends Ronaldo after controversial Champions League red|
|Slater sees Storm into Grand Final, awaits fate over ´shoulder charge´|
|Hogg to miss Scotland´s November Tests following ankle surgery|
|Osaka through as Azarenka and Garcia crash out|
|Burgess weighing up legal options after being cleared in Rabbitohs investigation|
|Uncapped Cottrell and Gordon named in Wallabies squad|
|He´s done fantastic work - Mourinho hails Wolves boss Nuno|
|Joshua v Povetkin: No need for fireworks on AJ´s Wembley return|
|Six titles, 204 goals - Aguero´s incredible City career in Opta stats|
|Read to miss Argentina clash, Ioane brothers sign new deals|
|Pedro allays injury fears after Europa League clash|
|Dilly dilly to all the Cleveland fans! Mayfield promises further Browns success|
|Manchester United ´hell´ left Zaha depressed|
|Jackson hesitates in naming Mayfield as Browns´ starting QB|
|LeBron congratulates Browns for ending 635-day winless streak|
|Aguero Extension: 10 of the best goals from the Manchester City star|
|Aguero signs City contract extension until 2021|
|Stress from drink-driving charge may have contributed to Lloris injury – Pochettino|
|CBF backs Cruzeiro´s Dede appeal and suggests VAR investigation|
|The big Friday Premier League quiz|
|Red Sox clinch AL East with win over Yankees|
|Brighton star Knockaert reveals battle with depression|
|Bud Light beer fridges open after Browns snap 19-game winless streak|
|Browns end 635-day drought with first win since 2016 after downing Jets|
|Blue Jays overturn 8-2 deficit in improbable ninth-inning comeback|
|Colo Colo 0 Palmeiras 2: Scolari´s men poised for Libertadores SFs|
|Tour Championship would enhance successful year, says Tiger|
|Pogba: Man United getting better after winning run|
|What bothers me is that he has time to even do that – LeBron responds to Trump tweet|
|Cowboys most valuable NFL team for 12th successive year|
|Mkhitaryan aiming for glory with Europa specialist Emery|
|Sarri: Pedro´s injury is not too serious|
|This Week in U.S. Sports: Drama in Minnesota, a Judge returns and tragedy in Iowa|
|Tottenham will overcome rough patch – Lamela|
|Torreira impresses for Arsenal but leaves with knock|
|Gattuso urges Higuain to be less predictable with his movement|
|Steelers´ Brown: ´Obviously I don´t want to be traded´|
|Woods, Fowler share Tour Championship lead|
|LeBron James backs Serena Williams after US Open controversy|
|Thiem into St Petersburg quarters, but retiring Youzhny bows out|
|Wigan clinch home semi-final with win over Huddersfield|
|Can apologises following sexism accusations|
|De Bruyne expects to be back for Manchester derby|
|Celtic 1 Rosenborg 0: Griffiths late show lifts Hoops|
|Woods eagles 18 to make 65 at Tour Championship|
|Arsenal 4 Vorskla 2: Aubameyang at the double in entertaining triumph|
|Dudelange 0 AC Milan 1: Deflected Higuain goal spares Gattuso´s blushes|
|Birthday boy Rashid inspires Afghanistan to Asia Cup win|
|Sarri feeling sorry for ´unlucky´ Morata|
|Ryder Cup pick Garcia shoots 66 at Portugal Masters|
|Ronaldo, Zidane, Cantona and the most infamous red cards|
|Villarreal 2 Rangers 2: Arfield and Lafferty steal point for Gerrard´s men|
|PAOK 0 Chelsea 1: Willian strikes as Morata misfires|
|Rain delays Ostapenko in Seoul, Wang books Guangzhou semi|
|Pochettino backs Kane to end goal drought|
|We figured it out - 76ers´ Markelle Fultz rebuilds jump shot|
|Joshua: Povetkin my second-toughest fight|
|Relaxed Pochettino not pushing panic button|
|Why Manchester City fans must fix their relationship with the Champions League|
|Majestic Giorgi ends Wozniacki´s reign in Tokyo|
|Pochettino unwilling to risk Alli fitness|
|Bigger Champions League tests to come, warns Pogba|
|Eight for 10! - Nadeem spins his way to world-record figures|
|A 4-1 lead cut to 3-2 by VAR, but Quakes have no complaints after Atlanta defeat|
|UEFA opens disciplinary proceedings against Ronaldo|
|Joshua v Povetkin: Recapping AJ´s previous world title defences|
|Players told to ink twice over showing tattoos at Rugby World Cup in Japan|