Pompey were left to rue missed opportunities as they fell to a narrow defeat at AFC Wimbledon.
They dominated possession and created plenty of chances, with Christian Burgess hitting the bar before the break.
But the hosts stole all three points deep into stoppage-time when Terell Thomas headed home from a free-kick.