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.
|Prolific Nadolo signs new Montpellier contract|
|Modric? For us, Messi is the best – Valverde|
|Murray makes winning start in Shenzhen|
|Mickelson would cherish first victory on European soil|
|Hodge hoping pressure proves too much for South Africa|
|Woodward in show of support for under-fire Mourinho|
|Mickelson jokes he wants ´a shot a side´ from Tiger in Thanksgiving showdown|
|Reed: Captain America is a villain in Europe|
|Duminy to captain Proteas as Elgar replaces injured Amla|
|No Tottenham timeline for Lloris, Vorm returns|
|Woods ready for ´awesome environment´ on Ryder Cup opening hole|
|Tony Bellew determined to prove doubters wrong against Oleksandr Usyk|
|Tuchel explains why he likes Neymar at number 10|
|Manchester United smash revenue record but profits down|
|Furyk downplays Ryder Cup pairings talk, says Tuesday is about individuals|
|Rejuvenated Tiger out to improve poor Ryder Cup record|
|Saunders fined £100,000 for ´sickening´ online video|
|Hazard can reach his full potential with Sarri´s Chelsea - Zola|
|Ryder Cup heading back in Europe´s direction, says Niall Horan|
|Wow! Klopp hails Sarri´s Chelsea transformation|
|Giovinazzi to partner Raikkonen at Sauber in 2019|
|Bjorn backs ´phenomenal´ Rahm to continue trend of Spanish success|
|Durant in no rush to decide Warriors future|
|Rossi to face anti-doping hearing|
|Mignolet to return for Liverpool against Chelsea|
|Premier League ´interesting´ for Germany boss Low|
|Wilder wins Twitter vote to be Joshua´s next opponent|
|BREAKING NEWS: Isco an El Derbi doubt due to appendicitis|
|Juventus won´t rest Ronaldo ahead of Napoli clash|
|Slater cleared to play in NRL Grand Final|
|Top seed Begu sent packing in Tashkent|
|This isn´t my last hurrah in Ryder Cup, insists Poulter|
|Barba back in NRL with North Queensland Cowboys|
|Arsenal wait on Mkhitaryan and Sokratis|
|All Blacks wary of Pumas pack ahead of Buenos Aires Test|
|Ryder Cup has special place in Pep Guardiola´s heart, says Fleetwood|
|Mbappe ready to take over from Messi and Ronaldo, says Trezeguet|
|Molinari: Ryder Cup pressure far outweighs any major|
|Koepka heads PGA Tour´s Player of the Year nominations|
|Lampard: Mourinho still a great manager|
|United States and Europe reveal Ryder Cup practice groupings|
|Bulldogs´ fine for ´Mad Monday´ antics halved|
|Bennett to leave Broncos after 2019 NRL campaign|
|American League postseason picture becomes clear|
|Steelers edge Buccaneers for first win|
|Gatland wants Webb available for World Cup|
|Modric: Ronaldo, Messi out of this world but my season deserved recognition|
|Love says Cavs ´will surprise a lot of people´|
|George believes Thunder can compete for championship this season|
|Messi is the greatest ever – Eto´o|
|Messi to miss Argentina´s upcoming friendlies|
|Dolphins say Hayes tore ACL attempting to avoid roughing-the-passer penalty|
|Modric deserved FIFA Best award – Ramos|
|Thibodeau open to potential Butler trade|
|Modric wanted Ronaldo, Messi at awards ceremony|
|Brewers´ Yelich active after elbow hit|
|Anthony on coming off Rockets´ bench: Whatever I have to do to help this team win|
|Raiders coach Gruden says Mack trade was hard on players|
|Bale lauds ´unbelievable´ Modric after FIFA Best triumph|
|Ronaldo, Messi lacked respect with FIFA Best awards snub - Capello|
|New Zealand the benchmark but England can win World Cup - Mitchell|
|FIFA Best Award a dream come true for Modric|
|Lakers a long way from Warriors, warns LeBron|
|Milner pokes fun at Salah´s Puskas Award win|
|Josh Rosen to replace Sam Bradford as Cardinals starting quarterback|
|Kaymer: Home-course advantage crucial to Europe hopes|
|Marta and Pedros win FIFA Best awards|
|I want to be in Toronto - Kawhi Leonard focused on Raptors, not future|
|Messi and Ronaldo lead FIFPro World XI as Salah and Neymar miss out|
|Knicks´ Kristaps Porzingis ´itchy´ to return but won´t commit to 2018-19 season|