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.
|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|
|Thiem blasts past Nishikori to keep semi-final hopes alive|
|He´s always got time for me – Gerrard loved learning from Liverpool boss Klopp|
|Kearney and Ringrose return for All Blacks clash|
|Molinari on course for Race to Dubai title, Smith and Otaegui lead|
|Premier League to implement VAR from 2019-20 season|
|FSF urges Premier League clubs to reject Scudamore ´golden handshake´ request|
|Rhinos pull off Merrin coup|
|Ribery apologises for reporter altercation|
|Ford to captain much-changed England, Cokanasiga starts|
|Crotty replaces injured Williams for Ireland showdown|
|Classy Roshen gives Sri Lanka unlikely lead|
|Injured Lukaku out of Belgium-Iceland Nations League clash|
|Rooney ´passionate´ about future coaching career|
|Mehidy spins Tigers to victory despite second Taylor hundred|
|Rooney deserves special England day - Antonio|
|LeBron thinks back to his roots after latest milestone|
|Messi to return for Argentina next year - General manager Burruchaga|
|Walton salutes LeBron after he surpasses Chamberlain|
|Croatia´s Dalic and Modric not out for Spain revenge|
|Rondo to miss ´a few weeks´ with broken hand|
|Gabi, Juanfran hopeful over Oblak´s Atletico future|
|England rookie Wilson not comparing himself to Kane|
|WATCH: The baskets that moved LeBron James up the all-time NBA scoring list|
|LeBron moves into fifth on scoring list, 76ers fall in Butler´s debut|
|LeBron James into top five NBA scorers: Five quotes from league legends on his greatness|
|LeBron passes Chamberlain for fifth on all-time scoring list|
|Butler: 76ers need time to gel|
|South Africa lose 28-9 in Windies defeat|
|Delph impressed by ´special´ Sancho|
|Bolt may give up on football career despite ´a lot of offers´|
|We´re better than Dortmund – Wagner urges Bayern to respond|
|Raptors fans give former coach Casey standing ovation in return|
|Martinez hails Hazard leadership|
|Muller going through ´difficult´ period, says Low|
|Betances wants Yankees to sign Machado|
|Rays´ Snell, Mets´ deGrom win Cy Young Awards|
|Dinwiddie to debut Stan Lee-inspired shoes against Heat|
|Iberostar Tenerife and Segafredo Virtus Bologna stay perfect in BCL|
|Rooney wanted to finish career at Manchester United|
|Red Sox give manager Cora contract extension through at least 2021|
|WATCH: Ronnie O´Sullivan hits blue with calamitous break-off shot|
|Matuidi: Mbappe has a great personality, like Ronaldo, Messi and Zlatan|
|Cilic beats Isner to hand Djokovic semi-final spot|
|Mendy undergoes knee surgery|
|Warriors´ Curry will not play during three-game road trip|
|Ramos refuses to retaliate after Lovren jibe|
|Qatar pull off shock win over Switzerland|
|Tuilagi could make England return against Australia|
|Rooney has earned England reward - Sarachan|
|Croatia thrashing means nothing now – Luis Enrique|
|Chelsea and Everton among Arnautovic suitors, claims agent|
|TJ Watt hopes to win NFL sacks race with brother JJ|
|Modric defends Ramos after Lovren comments|
|Southgate hails ´outstanding´ Delph as he talks up England strength in depth|
|No war with Manchester United over Fellaini, insists Martinez|