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.
|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|
|Rockets rout Warriors as Green goes scoreless|
|Seahawks rally past Packers|
|Lakers G Rondo to miss 4-5 weeks|
|Durant is done with questions about Green|
|Smith, Warner set to return to IPL in 2019|
|No rivalry between Mbappe and Griezmann – Deschamps|
|Neymar: Emery will bring success to Arsenal|
|Jedvaj backs Croatia to deliver against England|
|Howell grabs first-round lead at Sea Island|
|Rooney backing Kane to break England record|
|Betts named American League MVP|
|Republic of Ireland must improve, says under-pressure O´Neill|
|Injured Sergio Ramos to leave Spain squad|
|Yelich named National League MVP|
|Low praises ´beautiful goals´ from Sane and Gnabry|
|Belgium boss Martinez pleased with patient Batshuayi|
|Wilson and Sancho pay tribute to England ´legend´ Rooney|
|Rooney gave England squad a lesson in humility - Southgate|
|This Week in U.S. Sports: LeBron passes Chamberlain, Williamson looking like he is next|
|We still have a chance - Luis Enrique not giving up hope after Spain defeat|
|Rockets ´parting ways´ with Anthony|
|Rooney became ´embarrassed´ at Manchester United|
|Federer: ´Easier´ to play when I´m up against it|
|Rooney convinced England are in safe hands with Southgate|
|Black Caps skipper Williamson confident over first Test availability|
|Federer cruises into last four of ATP Finals for 15th time|
|Republic of Ireland 0 Northern Ireland 0: Randolph saves light up bore draw|
|England 3 United States 0: Experimental side impresses on Rooney farewell|
|Croatia 3 Spain 2: Jedvaj keeps World Cup finalists in contention|
|Belgium 2 Iceland 0: Batshuayi rekindles Hazard flame with match-winning brace|
|Germany 3 Russia 0: Sane on target as Low´s men stroll|
|´Fancy taking a look at Brexit?´ - Southampton credit Austin with VAR breakthrough|
|Green: Altercation with Durant will make Warriors stronger|
|Juventus star Dybala dismisses Manchester United links|
|Strinic given all clear to return to AC Milan training|
|Papier wait over as scrum-half starts for Springboks|
|MLB commissioner Manfred gets five-year extension|
|South Africa international Du Preez joins brother at Sale|
|Pogba and Sterling support my football dream, says Bolt|
|Asensio wants to ´feel more important´ at Real Madrid|
|Former Roosters and Cowboys centre Linnett joins Hull KR|
|New team tournament ATP Cup wins Djokovic´s approval|
|Roma and Pallotta donate €150,000 to injured Liverpool fan Sean Cox|
|England captain Root reprimanded on frustrating day in Pallekele|
|Jokanovic proud of establishing Fulham´s ´footballing identity´|
|Huget to make first France appearance in a year|
|Mourinho and squad ´united´ despite ´mixed´ start, says Woodward|
|Petaia and Gordon to make Wallabies debuts in Padova|
|Barcelona star Arthur determined not to let Xavi praise go to his head|
|Youthful Netherlands have forged strong bond - Wijnaldum|
|Premier League confirms £5m package for departing chief Scudamore|