Scott Gair put Saints in front at Balgownie playing fields after just 11 minutes when he scored from a corner.
In the second half the referee decided Peter Pawlett had been fouled when he charged into the box and awarded a penalty, which was converted by Johnny Crawford.
The Dons hit the bar late on but the points were shared.