Aberdeen will face Icelandic side Breidablik in Europa Conference League qualifying following their 5-3 aggregate win against Haken.
The Dons lost 2-0 on the night in Gothenburg but progressed thanks to a 5-1 victory at home in the first leg.
They will now travel to Iceland to face Breidablik in the first leg of qualifying after the Icelandic minnows sent Austria Wien packing in the second leg.
Many Dons fans had assumed it would be the Austrian side travelling to Pittodrie in the next round but they will instead face Icelandic opposition after they battled to a shock win on home turf.
The Vienna team had secured a disappointing draw on home turf but were widely tipped to overturn it in the second leg.
But the Dons will now face Breidablik - who finished as Icelandic league runners up last season and play in a 3,000 seater stadium in the south of Reykjavik.
They will be joined by fellow Scottish Premiership side Hibs who won both legs against Andorran minnows Santa Coloma.
Hibs will now take on Rijeka of Croatia in the third round of qualifying.
Aberdeen made tricky work of their second leg match against Hacken, as they fell two goals behind midway through the second half.
The hosts then went down to 10 men, to put Aberdeen back in the comfort zone. The Dons missed a host of chances throughout the match as Ramirez, Ojo and Ferguson came closest.