Northern Ireland 1 Azerbaijan 1: Northern Ireland's World Cup qualifying campaign lies in tatters despite record goalscorer David Healy securing a last-gasp equaliser against minnows Azerbaijan at Windsor Park.
Rauf Aliyev scored a screamer to give the Group F minnows a fifth-minute lead and Northern Ireland conspired to waste at least half a dozen glorious chances to equalise inside 90 minutes.
Craig Cathcart and Chris Baird spurned four of the best between them and it took Healy's first goal in four years, deep in added time, to avert what would have been an embarrassing defeat.
The result leaves Northern Ireland with three points from four games and all but out of the reckoning, as well as consigning last month's heroic draw in Portugal firmly to the history books.
O'Neill started the evening by opting to leave one of his few established Premier League players on the bench, West Brom's Chris Brunt left out in favour of Shane Ferguson, Dean Shiels and Niall McGinn, the latter looking to build on his goalscoring heroics against Portugal.
Burnley left-back Danny Lafferty also earned a competitive debut after Ryan McGivern failed a fitness test.
The home side began positively and should probably have taken a third-minute lead when McGinn floated over a precise cross for Kyle Lafferty, who somehow headed over from just six yards.
That miss was punished within 90 seconds as Azerbaijan took a surprise lead with their first attack.
Javid Huseynov won the ball in midfield and laid off to Aliyev, who bent in a stunning shot from 30 yards before embarking on ecstatic celebrations.
Azerbaijan looked dangerous on the counter-attack and only a Gareth McAuley block denied Aliyev the chance to try his luck a second time.
Northern Ireland, meanwhile, were enjoying plenty of time on the ball but struggling to make the final pass count.
McGinn worked rookie goalkeeper Salahat Aghayev with a first-time shot from the edge of the area and Shiels played an inviting ball across the face of goal but Azerbaijan survived unscathed on both occasions.
After 26 minutes Steven Davis chipped a fine ball over the back four to give Kyle Lafferty a one-on-one attempt but a loose first touch allowed Aghayev to smother.
Another gilt-edged chance came and went on the half-hour, Shiels finding Cathcart with a cushioned header across goal and the Blackpool defender nodding wide from a wonderful position.
Roy Carroll faced a hairy moment when Vugar Nadirov's deflected shot briefly appeared to be heading for the top corner, but the veteran goalkeeper just got back.
There was enough time for one more chance before half-time, Danny Lafferty heading over after getting on the end of Ferguson's hanging cross.
O'Neill resisted the temptation to send on Brunt during the break and the equaliser almost arrived just two minutes into the second period.
McAuley nodded down Davis' free-kick and Cathcart controlled the ball on his chest before blazing over from the six-yard line.
Chances continued to flow, McGinn and Baird the latest to go close, but Kyle Lafferty was booked for a blatant dive after 56 minutes, earning a one-match ban in the process.
If not for Carroll things would quickly have gone from bad to worse.
He raced from his area and produced two sliding tackles to scramble the ball clear when a breakaway goal seemed certain.
On the hour mark Baird produced arguably the worst miss yet, heading Ferguson's cross wide at the far post when scoring seemed easier.
Nine minutes later he spurned another glorious chance when heading substitute Paddy McCourt's cross wide from an unmarked position.
McCourt's jinking runs visibly lifted the home side and Brunt followed him off the bench with 24 minutes to go.
McCourt beat two men as the cut into the box from the left and refused to go down despite a wild challenge.
By now the hosts' frustrations were apparent after every unsuccessful move and O'Neill played his final card by sending on Healy for Cathcart.
It looked like even that would not be enough but five minutes into a generous period of injury time, the fan favourite drilled home a free-kick to rescue a dramatic point.
That is unlikely to be enough to rescue Northern Ireland's slim qualifying hopes but it did save his side from one of their most ignominious defeats.
O'NEILL BACKS PLAYERS DESPITE TAME DRAW
Northern Ireland manager Michael O'Neill refused to round on his players despite another morale-sapping result at Windsor Park.
After last month's encouraging draw in Portugal, the team's Belfast blues returned with a 1-1 draw against lowly Azerbaijan.
O'Neill's side had exactly the same result when Luxembourg visited in September and prior to the game the former Shamrock Rovers boss had in no uncertain terms stated the need for a first win of the campaign.
Instead, he was almost faced with a humbling defeat as Rauf Aliyev struck a sensational opener in the fifth minute before the hosts wasted a handful of wonderful chances.
Kyle Lafferty, Craig Cathcart and Chris Baird all missed the target with the goal beckoning - the latter heading wide twice from perfect positions.
In the end it fell to record goalscorer and late substitute David Healy to register his first goal in four years, salvaging a point five minutes into added time.
Yet although O'Neill admitted the result was not acceptable he declined to criticise his side's efforts.
"I'm hugely disappointed not to win the game because we did everything in our power to do that," he said.
"It's not good enough. We've drawn two games at home that we should have won. These are games we would expect to win but haven't done that.
"But I can't fault the players for the effort and they kept going right to the end. We probably played a little bit desperately at times and even early on we chased the game a bit.
"The players never stopped believing and they got the very least they deserved. They created so many chances and in that it was very similar to the Luxembourg match, even more so than that."
On a night when a bright side was hard to find, Healy's last-gasp free-kick was the only candidate.
Fan favourite Healy had not scored in Northern Ireland colours since October 2008 but finally ended the long wait for his 36th international goal when he drove a 95th-minute free-kick into the bottom corner.
That raised the spirits of the crowd, who had otherwise endured disappointment after disappointment on the night, and O'Neill admitted the Bury striker remains an important figure.
"It's not just about tonight and his impact on the pitch, he's just a good player to have around the squad," he said.
"To have Healy around when the younger players come in is fantastic. He knows, realistically, that his impact for us now will be from the bench but it's great to have the option to throw him on.
"I'm delighted for him to get a goal because he's been a fantastic servant and however long he continues I know he has the personality to continue."
Azerbaijan manager Berti Vogts was magnanimous in defeat, colourfully suggesting that a higher power had been involved in the home side's late leveller.
"The God of football is just and he gave Northern Ireland the point they deserved. The referee was right to award the six minutes of injury time." said the former Germany and Scotland coach.
"It was not easy for us to get a point here in Northern Ireland. We met a very strong opponent who created a lot of chances and fortunately did not convert them.
"Football is like that though and we had chances to score a second goal too.
"Before the game I would have been delighted with a draw, but now I am disappointed not to have won."
COMMENT RULES: Comments that are judged to be defamatory, abusive or in bad taste are not acceptable and contributors who consistently fall below certain criteria will be permanently blacklisted. The moderator will not enter into debate with individual contributors and the moderator’s decision is final. It is Belfast Telegraph policy to close comments on court cases, tribunals and active legal investigations. We may also close comments on articles which are being targeted for abuse. Problems with commenting? email@example.com