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.
|Djokovic: Sock gave me karma back for hitting Federer|
|Anthony Joshua v Alexander Povetkin: Tale of the tape|
|Wang thrashes Putintseva to win Guangzhou title|
|There is no problem with Cavani - Tuchel silences rumours of PSG rift|
|Wilder & Fury sign contracts for December 1 bout|
|Neymar is the Kim Kardashian of football, claims Barton|
|We did not want to sell him - Perez insists Madrid got ´highest value´ for Ronaldo|
|Osaka continues run, Pliskova awaits in Tokyo final|
|Cardinals keep pace in wildcard race with win over Giants|
|Djokovic hits Federer, pair lose in doubles at Laver Cup|
|Nowitzki likely to come off bench for Mavericks in 21st season|
|Red Wings´ Green battling ´virus that attacked his liver´|
|They said I couldn´t score goals – Ibrahimovic hits back at early critics|
|Slater charged, set to miss Grand Final|
|Rose not changing approach alongside Woods|
|Woods ready to ´hang in there´ at East Lake|
|Shaqiri´s time will come at Liverpool – Klopp|
|Richarlison: I used to copy some of Neymar´s haircuts|
|Brady says Gordon is ´really eager to get in there´ despite limited practice|
|NBA changes clock-reset, ´clear path´ foul rules|
|Tigers´ Martinez will play final game on Saturday before retiring|
|Sanchez to start for Man United – Mourinho|
|Speight saves Ulster in thrilling Cheetahs draw|
|Simmonds at the double as Chiefs stay perfect|
|Woods, Rose share Tour Championship lead|
|Ice-cool Shoaib denies Afghanistan in final over|
|CAF Champions League Review: Wydad Casablanca out as TP Mazembe pay penalty|
|Eden inspires rout as Castleford book Wigan semi-final|
|Thiem & Wawrinka reach St. Petersburg semi-finals|
|No change to Aguero selection despite new contract, warns Guardiola|
|Woods and Rose share Tour Championship lead|
|Wigan Athletic 1 Bristol City 0: Three on the trot for improving Latics|
|Josh Rosen will play ´when time is right,´ Cardinals GM says|
|Eagles RBs Ajayi & Sproles out Sunday v Colts|
|Ronaldo looking forward after Champions League red card - Alex Sandro|
|Rangers fire manager Jeff Banister after four seasons|
|Inter captain Icardi can improve - Spalletti|
|Jadeja and Rohit shine as India maintain 100 per cent record|
|Fisher shares lead in Vilamoura after record-breaking 59|
|Messi the best I´ve seen - Lamela|
|Silva demands end to Gomes ´rumours´ and targets early October return|
|Milner over Pogba, says Souness|
|Brazil call up Malcom, drop Thiago Silva and Willian|
|Denly thought Test chance may never come|
|Benitez tells FA to examine Zaha red card comments|
|Bjorn unsure of future after Ryder Cup|
|Tebas still optimistic over Girona-Barcelona in Miami despite RFEF setback|
|Emery promises more chances for frustrated Leno|
|Cahill considering Chelsea departure in January|
|Kaepernick to receive Harvard´s highest honour in African, African-American studies|
|Defending champion Ostapenko dumped out of Korea Open|
|Mourinho is an inspiration - Nuno|
|Witty Wilson ´delighted´ to be praised for Fisher heroics while sitting on couch|
|Burns, Denly and Stone in England squad for Sri Lanka Tests|
|Aspas reveals interest from Real Madrid, Atletico|
|Arsenal´s Mkhitaryan a doubt for Everton match|
|Klopp demands Liverpool ´stay angry´ against Southampton|
|Long-serving Tabarez signs four-year Uruguay extension|
|Injured Mendy ruled out of Cardiff trip|
|Douglas Costa out up to a month with ankle & thigh injuries|
|Slater shrugs off Feki hit amid Grand Final suspension concerns|
|Crisis? What crisis? Klopp unconcerned by Salah form|
|I didn´t convince him, he decided for himself - Guardiola says thanks to Aguero|
|Leno frustrated by Arsenal bench role|
|Joshua almost 2st heavier than Povetkin for Wembley bout|
|From salvation to the record books - Fisher revels in European Tour´s first 59|
|Lahm says Germany best for Euro 2024 as UEFA publishes report|
|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|