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.
22. Februar 2019
|No doubt Solskjaer will get United job - Klopp|
|Gatland: Time-bomb Sinckler could go off in Cardiff|
|Central Coast Mariners 3 Brisbane Roar 5: Lopez inspires win in eight-goal thriller|
|Chelsea to appeal transfer ban|
|Harden: Rude and arrogant Foster should never officiate Rockets|
|Jones won´t dissuade Tuilagi from joining Racing|
|Solskjaer: United must keep emotions in check against Liverpool|
|United must adapt if Pogba is man-marked - Solskjaer|
|Highlanders deny Reds in Dunedin thriller|
|Chelsea hit with two-window transfer ban|
|Salah: Klopp has made life easier for Liverpool´s forwards|
|Solskjaer hoping to have Martial and Lingard fit for Liverpool clash|
|Vinicius was in my plans at Madrid, insists Lopetegui|
|Manchester United v Liverpool: Pogba and Salah lead combined XI|
|Pogba can become world´s best player – Vidic|
|Manchester United v Liverpool: When the Reds last visited while in the top two...23 years ago|
|The big Friday Premier League quiz|
|The Breakdown: A statistical look at the third round of Six Nations matches|
|McIlroy feels win isn´t far away|
|Who is Luka Jovic? The Bundesliga goal machine linked with Barcelona|
|Antetokounmpo´s Bucks edge Celtics to extend lead in Eastern Conference|
|Durant blocks Kings rookie Bagley five times in one half|
|CONCACAF Champions League Review: Atlanta beaten in De Boer´s first competitive game|
|Kucherov notches second straight 100-point NHL season|
|Del Potro into Delray Beach quarters, Kyrgios exits|
|Sarri: Chelsea´s season better than Arsenal´s|
|Padres confirm Machado´s 10-year, $300m deal|
|Williamson diagnosed with grade one knee sprain|
|Vidic: Solskjaer a better fit than big-name managers for United|
|Giroud issues EFL Cup warning after Chelsea´s Europa League win|
|McIlroy leads in Mexico, Woods shoots 71|
|Romero edges into lead in Puerto Rico|
|City out to make history against Chelsea - Silva|
|We were sweet enemies - Mourinho salutes old rival Wenger|
|Inter improvement not down to Icardi absence - Spalletti|
|This Week in US Sports: Manny Machado finds a home, Williamson gets hurt|
|Sarri rubbishes Roma rumour|
|Halep takes positives despite Dubai defeat|
|Reigning champion Van Uytvanck progresses in Budapest|
21. Februar 2019
|Brough stars for Wakefield on milestone outing|
|Serbia progress in the balance with one game to go|
|DeMarcus Cousins blasts college basketball after Zion Williamson injury|
|UEFA explains ´technical issue´ behind Schalke-City VAR delays|
|Coric, Verdasco humbled in Open 13|
|Inter 4 Rapid Vienna 0 (5-0 agg): Nerazzurri cruise into Europa League last 16|
|Chelsea 3 Malmo 0 (5-1 agg): Sarri´s side stroll into last 16|
|Halep out, Kvitova dominant in Dubai|
|Marotta ´very optimistic´ Godin will join Inter|
|Emery praises Arsenal´s game management after European progress|
|Valencia 1 Celtic 0 (3-0 agg): Toljan sent off as Bhoys crash out|
|Arsenal 3 BATE 0 (3-1 agg): Emery´s men ease through|
|Woods to skip Honda Classic, play Arnold Palmer Invitational|
|Sarri recalls Hudson-Odoi for Malmo match|
|Silverwood in line for England job|
|WATCH: Norwegian goalkeeper scores stunning free-kick|
|Bencic ends Halep´s Dubai dreams|
|Playing conditions confirmed for The Hundred, reveals ECB|
|Manchester City fan suffered ´traumatic brain injury´ in alleged assault|
|Afghanistan too strong for Ireland in T20 opener|
|History-chasing Sri Lanka edge Proteas on day one|
|Tottenham an ´exciting and brilliant´ team, says Kanoute|
|Klopp fined £45,000 referee comments|
|Mourinho to analyse Clasico for beIN SPORTS|
|Ronaldo has won three Champions Leagues, not five – Atletico president Cerezo hits back at Juventus|
|Greatest Wales side ever? Not in my book, says Gatland|
|FA charge Millwall over racist chanting|
|Saiss signs new Wolves deal|
|Klopp impressed by Solskjaer´s ´brilliant job´ at United|
|De Jong excited to join ´greatest ever´ Messi at Barca|
|Gattuso ´not building anything´ at AC Milan|