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.
|Scarlets hammered by Blues, Leinster beaten in Edinburgh|
|Northampton´s fast start sees off Leicester|
|Southgate applauds ´electric´ Sterling after hat-trick|
|Sterling the symbol and superstar of Southgate´s England|
|Struggling Giants and high-flying Saints enjoy big victories|
|Moldova 1 France 4: Les Bleus cruise in opening Euro 2020 qualifier|
|Argentina 1 Venezuela 3: Messi stunned on international return|
|England 5 Czech Republic 0: Sterling hat-trick gives Three Lions roaring start to Euro 2020 qualifie|
|Portugal 0 Ukraine 0: Ronaldo´s comeback falls flat|
|Mancini: Kean ready for Italy start|
|Luis Enrique not looking to experiment in Spain´s new era|
|Osaka eases into third round in Miami|
|Morris and Steyn rattle Sri Lanka to clinch T20 series win|
|In-form Andreescu moves past Kenin in Miami|
|Icardi still not available, Inter confirm|
|Wigan won´t hold Edwards to deal ´cemented by a handshake´|
|Finch and Marsh lift Australia past Pakistan|
|Nainggolan keen to repay Spalletti faith at Inter|
|Brandt confident Germany can return to the top|
|PSG dub themselves ´champion´ of Instagram|
|Birmingham City considering appeal over nine-point deduction|
|World Rugby urges tier-one nations to be open-minded about global championship|
|Republic of Ireland international Walters retires from football|
|Semenya optimistic despite CAS delay in case against IAAF|
|Greipel excited for Tour de France return|
|IPL 2019: All you need to know as cricket stars descend on India|
|Welbeck back in Arsenal training after broken ankle|
|Goretzka urges fans to ´stand up with courage´ to racism|
|Euroleague condemns death threat aimed at CSKA´s Clyburn|
|Birmingham City given nine-point deduction|
|Courtois: I´m still one of the best, even if the Spanish press want to kill me|
|Rooney credits Guardiola for Sterling development|
|Neymar charged with ´insulting/molesting acts against match official´ by UEFA|
|Cam Newton swears off sex for a month to become ´mentally stronger´|
|Verstappen not getting carried away after Aus GP podium|
|Bale: Ronaldo problems ´were never there´|
|Injured Florenzi drops out of Italy squad|
|Wales heroes Jones and North sidelined for a month|
|Uruguay 3 Uzbekistan 0: Tabarez´s side through to China Cup final|
|Beardsley charged by FA|
|Pieters edges ahead in Kuala Lumpur as Elvira and Fraser drop back|
|Vunivalu hat-trick maintains Storm´s winning start|
|Yorkshire dismiss Smith rumours|
|We had a bad game, especially me - Doncic frustrated by Mavericks defeat|
|Blues end winless streak with Highlanders victory|
|PSG question claims of fans carrying weapons ahead of Chelsea clash|
|Wales captain Jones crowned Six Nations Player of the Championship|
|Warriors locked in for playoffs – Thompson|
|No offers yet for Jovic, insist Frankfurt|
|LeBron ready for Lakers return against the Nets|
|Pickford defends form amid scrutiny over England spot|
|Solskjaer the only candidate for Manchester United job, says Rooney|
|Fornaroli joins Perth Glory|
|Durant leads Warriors to victory after friend´s death, Nuggets roll on|
|Former champ Azarenka falls as Andreescu saves match point|
|Tomic earns Djokovic clash, Auger-Aliassime impresses again|
|Adelaide´s Ilso provisionally banned for doping|
|Scaloni: No more adjectives to describe Messi|
|Sunwolves axed from Super Rugby by SANZAAR|
|United States 1 Ecuador 0: USA make it three from three under Berhalter|
|Varane refuses to discuss Madrid future|
|Real Madrid and Barcelona want Skriniar – agency|
|´Focus on the game´ – Bryant to Duke star Zion|
|MLB preview: Projecting AL West|
|Dahmen, Straka share Valspar lead|
|Celtics´ Smart fined $50k after shoving 76ers star Embiid|
|O´Neill wants more goal threat from Northern Ireland|
|Cousins set for Warriors return|
|Koeman applauds Depay but accuses Netherlands of being ´careless´ in 4-0 win|
|This Week in US Sports: MLB handing out tons of extensions, playoffs loom in NBA|