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.
|UEFA should punish PSG and Man City, says LaLiga chief|
|Teenage driver Floersch has ´no fear of paralysis´ after operation|
|Mancini bemoans Italy´s misfortune in front of goal|
|Sprint legend Johnson ´pretty much back to normal´ after stroke|
|Bournemouth defender Adam Smith out for three months|
|World champions France out to end 2018 on a high|
|I told him there´s no future in football! A-Rod relieved to be ignored by Mahomes|
|Dembele must focus and be more responsible - Suarez|
|Neymar could return one day – Barca chief|
|Cole backs West Ham to keep Arnautovic|
|Injury rules Bernardo Silva out of Poland clash|
|Lamar Jackson debut start ´spectacular´ - Ravens coach Harbaugh|
|Babar run out the turning point, laments Sarfraz|
|West Ham boost London Stadium capacity to 60,000|
|A great advertisement for Test cricket - Williamson revels in stunning win|
|Van Dijk one of the world´s best - Klaassen|
|Floersch had ´angel on her shoulder´ in horror crash|
|Gascoigne charged with sexual assault|
|I am going to stay at Chelsea and fight, insists Giroud|
|Hansen to make announcement on All Blacks future|
|I have reached the top by joining Chelsea - Sarri|
|Bonucci tells Italy boo boys to ´live with less envy´|
|Dramatic Pakistan collapse gives Stead first New Zealand Test win|
|Button enjoying racing for first time in years|
|Dortmund chief not planning Pulisic sale|
|Theismann: Smith leg break ´heart-wrenching´ to watch|
|Wolves defender Jonny suffers knee injury|
|Holmes to meet with Sharks amid NFL switch talk|
|LeBron made 51 points ´look easy´, says Walton|
|McGuire signs four-year deal with Cowboys|
|Bears beat Vikings to extend NFC North lead|
|Peng overcomes Davis in Houston final|
|Kerr says this has been his toughest stretch as Warriors coach|
|LeBron scores 51 in Lakers´ win, Warriors fall to Spurs|
|Win more than Djokovic? Let´s chill out – Zverev|
|Steelers´ rally highlights wild day of close, last-minute finishes|
|Modric not worried about Ballon d´Or|
|Saints pull away for blowout victory over Eagles, extend winning streak to nine|
|Martinez laments loss of control by Belgium|
|Logano claims first NASCAR Cup championship|
|Luis Enrique delighted with attitude of Spain´s squad|
|Stevens tells Celtics to get ´tougher´|
|Griezmann: Being Messi´s lieutenant played a part in rejecting Barcelona|
|Curry proud of how Warriors handled Green-Durant incident|
|Courtois: Belgium thought Nations League job was done|
|Howell ends 11-year title drought to deny record-breaking Rodgers|
|Robben dismisses Bayern title talk|
|Huge blow for Redskins as QB Smith breaks tibia and fibula|
|Switzerland 5 Belgium 2: Seferovic treble crowns incredible comeback|
|Titans DC Pees taken to hospital during Colts game|
|Spain 1 Bosnia-Herzegovina 0: Debutant Mendez spares Morata´s blushes|
|Peterson goes sixth on rushing touchdowns list|
|Titans QB Mariota suffers elbow injury|
|Djokovic hails much-improved Zverev|
|Arnautovic refuses to discuss West Ham future after Austria win|
|Redskins QB Smith carted off after gruesome ankle injury|
|Jaguars shut down Jalen Ramsey trade rumours|
|Classy Zverev revels in victory, hails defeated Djokovic|
|Forget the Nations League was ever invented, jokes Northern Ireland boss O´Neill|
|Magnificent Zverev claims ATP Finals title|
|Mahrez double fires Algeria to 2019 AFCON|
|Mbappe hoping for French winner of Ballon d´Or|
|Northern Ireland 1 Austria 2: Last-gasp winner denies hosts maiden Nations League point|
|Teenager admits assaulting Wales great Thomas|
|Browns deny Condoleezza Rice is candidate for head coaching job|
|Koeman: Netherlands not favourites for Germany clash|
|Dalic ´not sad´ but blames fatigue for Croatia relegation|
|Proud Southgate hails England hero Kane as world´s best goalscorer|
|Last-gasp Exeter penalty try shatters Bristol|
|Mbappe dismisses talk of Cavani-Neymar rift|