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.
|Manchester is still red – Depay ahead of Lyon´s clash with City|
|Orioles become first pro team to wear braille jerseys|
|Klopp hails ´brilliant´ Henderson|
|PSG attack lacked aggression, says Tuchel|
|Atletico Tucuman 0 Gremio 2: Libertadores holders draw first blood in QFs|
|Thomas plays down wrist worry|
|Rakitic wants more from Barcelona hat-trick hero Messi|
|My players aren´t s*** – Pochettino defends Spurs squad|
|Cubs reliever Morrow won´t return this season|
|Tebow expected to be back in Mets organisation next season|
|Inter can compete against anyone – Icardi revels in Champions League victory|
|Tuchel: PSG loss to Liverpool not logical or correct|
|Sturridge in best shape I´ve seen – Klopp|
|Milojevic celebrates ´fantastic´ occasion after Red Star´s 26-year wait|
|Rodrigo and Simeone salute Griezmann display|
|Seahawks DE Clark on Bears QB Trubisky: He´s nothing special|
|Carroll says Wilson has been ´over-trying a little bit´|
|Judge returns to Yankees´ starting lineup|
|Napoli boss Ancelotti takes aim at Red Star time wasting|
|Favre admits young Dortmund stars struggled in Bruges|
|Otavio would trade goal for Porto victory as he bemoans Schalke draw|
|Championship Review: Pacesetters Leeds crush Preston, Villa end five-game winless run|
|Neymar world-class but not a defender - Klopp says Liverpool targeted PSG star|
|Waiters injury update: Heat guard unlikely to be ready for start of season|
|Gojowczyk eliminates returning Tsonga in Metz|
|Liverpool enjoying best start in 57 years after PSG win|
|Galatasaray 3 Lokomotiv Moscow 0: Terim´s side make light work of Russians|
|Club Brugge 0 Borussia Dortmund 1: Super sub Pulisic scores late winner|
|Schalke 1 Porto 1: Fahrmann saves one penalty, but Otavio scores another|
|Red Star Belgrade 0 Napoli 0: Points shared as Italians fail to make possession pay|
|Liverpool 3 Paris Saint-Germain 2: Firmino strikes late as Reds edge five-goal thriller|
|Monaco 1 Atletico Madrid 2: Costa and Gimenez seal comfortable win|
|Chaos reigns in Serie B as league denies suspension claim|
|India secure Asia Cup victory despite valiant Hong Kong effort|
|Messi makes "extraordinary routine", says Valverde after Barca star surpasses Ronaldo|
|Spalletti´s Inter to take heart from Tottenham turnaround|
|Casillas features in landmark 20th Champions League campaign|
|Spurs deserved more from best performance of the season - Pochettino|
|Brown absent from Steelers facility on Monday due to ´personal matter´|
|Toronto´s Bussey given eight-match biting ban|
|Barcelona 4 PSV 0: Marvellous Messi lights up Camp Nou|
|Inter 2 Tottenham 1: Icardi, Vecino complete dramatic late turnaround|
|Allegri, Chiellini defend Costa over spitting ban|
|Firmino only fit enough for bench duty|
|Kovac applauds Sanches ahead of Benfica homecoming|
|Tomlin confirms Steelers WR Brown was absent from facility on Monday|
|Mourinho tells United to follow Federer´s lead amid Young Boys pitch concerns|
|Costa banned for four Serie A matches for spitting|
|PGA Tour announces changes to FedEx Cup Playoffs format|
|Rashford to start against Young Boys, Mourinho confirms|
|Ryder Cup heading to Congressional in 2036|
|I never listen to stupid things - De Gea unconcerned by criticism|
|Aguero trains as Mendy sits out Man City session|
|Lampard fined after accepting improper conduct charge|
|Serie B suspended after Pro Vercelli win appeal|
|Mitchell returns to England as defence coach|
|Brady completes Cornet upset in Guangzhou|
|Lopetegui giving no guarantees to ´fighter´ Navas|
|Di Francesco denies racially abusing Costa|
|Saunders apologises for ´sickening´ online video|
|Tianjin Quanjian 0 Kashima Antlers 3 (0-5 agg): Semi-final spot booked in resounding fashion|
|Madrid cannot live on Ronaldo´s glories, warns Ramos|
|Real Madrid are Champions League favourites, insists Man City coach Arteta|
|Stokes & Hales charged with bringing game into disrepute|
|Stephens slips to Vekic defeat in Tokyo|
|Simeone should teach Griezmann values - Ramos questions Ballon d´Or ambition|
|Arteta ready to step into Guardiola´s shoes after missing out on Arsenal job|
|Naive or scheming - Ozil´s agent slams Kroos, Neuer and Muller|
|Bolton´s Darby forced to retire after Motor Neurone Disease diagnosis|
|Root vows dressing support for Moeen over Ashes abuse claims|