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.
|It can happen – Allegri plays down Ronaldo penalty miss|
|Mavericks´ Doncic becomes second-youngest player to record triple-double|
|Yankees send Sonny Gray to Reds|
|Ashley Cole reunited with Frank Lampard at Derby County|
|Arnold ready to mix things up in 2019 Asian Cup quarter-finals|
|Arum: Joshua desperately needs to fight in the United States|
|South Korea v Bahrain: Bento optimistic of continuing unblemished campaign|
|Bolton Wanderers 0 West Brom 2: Baggies bounce up to third after tennis ball protest|
|Confident Moeen ready to shine for England in the Caribbean|
|Juventus 3 Chievo 0: Allegri´s men cruise despite Ronaldo penalty save|
|Boateng completes shock Barcelona switch|
|United Arab Emirates 3 Kyrgyzstan 2 (after extra time): Khalil penalty sets up Socceroos showdown|
|West Indies add Drakes to new-look coaching team|
|Barcelona is a huge opportunity – Boateng confirms shock move is close|
|Donnarumma wishes Higuain luck ahead of expected Chelsea switch|
|Qatar v Iraq: Katanec anticipating ´huge challenge´ in last 16|
|Nuno hit with FA misconduct charge for pitch celebration|
|Furious Carreno Busta and Zverev bow out, Djokovic marches on|
|#NotMartinFromWakefield – Siewert shows viral sensation the door|
|Djokovic feeling the strain after late-night Medvedev battle|
|Henderson sidelined again ahead of Six Nations|
|Australia 0 Uzbekistan 0 (aet, 4-2 on penalties): Ryan heroics see holders hobble onwards|
|Halep exit leaves four-way fight to be crowned number one at Australian Open|
|Super Bowl-bound Rams set for London return, Chiefs to face Chargers in Mexico|
|Huddersfield appoint Siewert as Wagner´s replacement|
|Genoa 0 AC Milan 2: Borini and Suso step up with Higuain left out|
|McTominay signs new Manchester United contract|
|Pizzi to stand down after Saudi Arabia elimination|
|Boateng closing in on shock Barcelona switch - reports|
|Catalans to defend Challenge Cup after resolving RFL dispute|
|Djokovic wears down Medvedev to reach last eight|
|Mouratoglou: I knew ´loyal´ Serena would not fire me after US Open turmoil|
|Barcelona B defender Wague accuses Ejea fans of racist abuse|
|I felt like I had been hit by a train - Halep upbeat despite losing Serena battle|
|Arsenal confirm Mislintat departure|
|Icardi will renew, 100 per cent - Wanda Nara offers latest Inter assurance|
|Japan 1 Saudi Arabia 0: Four-time winners send Pizzi´s men out|
|A souvlaki maybe named after him, a growing fan base – Tsitsipas creating Melbourne buzz|
|Barca winger Dembele out for 15 days|
|Strikers blown away by Hurricanes in Adelaide|
|Ireland lose Beirne for England and Scotland clashes|
|´Innate fighter´ Serena says character key to beating Halep|
|Hudson-Odoi ´an outstanding talent´ - Bayern great Ballack hails Chelsea youngster|
|Scotland call up four as hand injury forces Watson out|
|Serena comes through major Halep battle to reach last eight|
|Better than Rafa? Camacho cameo leaves Klopp unconvinced by transfer options|
|England job ´a privileged position´, says Southgate|
|Emery has confidence in Arsenal outcast Ozil|
|Zverev destroys racquet in Aus Open meltdown|
|From Villarreal to Aus Open quarters – Bautista Agut breaks major duck|
|Brees: I plan on being here next year and making another run at it|
|´Unf******-believable bro!´ - Brady stunned after reaching third straight Super Bowl|
|New England find answers, penalty costs Kansas City – three takeaways from Patriots´ win over Chiefs|
|Donald Trump congratulates Brady and Super Bowl-bound Patriots|
|Rose helps Timberwolves down Suns|
|Brady leads Patriots into third straight Super Bowl|
|Osaka overcomes Sevastova to reach quarters|
|Chelsea remain behind Sarri – David Luiz|
|McVay explains Gurley´s limited role in Rams´ win over Saints|
|Southgate hails ´tremendous talent´ Rashford|
|Long earns maiden PGA Tour win at Desert Classic|
|Flanagan resigns as Sharks head coach|
|Rams´ Robey-Coleman admits he committed penalty on controversial no-call|
|NFL admits they blew the call – Saints coach Payton|
|Terrible no-call, Goff shines – three takeaways from Rams´ win over Saints|
|Lonzo Ball to miss 4-6 weeks with ankle sprain|
|Patterson added to Australia Test squad|
|Zuerlein´s overtime kick sinks Saints and sends Rams to Super Bowl|
|It was a clear goal – Valverde dismisses Barca VAR controversy|
|Rashford can emulate Man United greats Ronaldo and Rooney – Solskjaer|