An unbeaten century from Rameez Shahzad saw UAE gain revenge on Scotland with a four-wicket win in Dubai.
The Saltires were edged out in a high-scoring encounter, with Shahzad finishing not out on 121 as he led the hosts to victory with five balls to spare.
But the victory was not enough to prevent UAE finishing bottom of the tri-nation series, which had already been won by Ireland.
Scotland had claimed a comfortable win over UAE on Sunday – their first of the series – and again opted to bat after winning the toss.
An experimental batting line-up fared well, with Kyle Coetzer making a brisk 75 and Richie Berrington a 95-ball 90.
George Munsey provided some late impetus with 47 as Scotland posted a daunting total of 299 for nine.
They appeared on course for victory after picking up two early wickets, but Ashfaq Ahmed (92) and Shahzad put on 125 for the third wicket to bring UAE back into the game.
Shahzad went from strength to strength, striking 10 boundaries and two sixes, and was ably supported by Adnan Mufti (38) before hitting the winning run off Scott Cameron at the start of the final over to secure a first win in the series for UAE.
Head coach Grant Bradburn told cricketscotland.com: “This series has been a tough challenge against quality opposition and so valuable in many ways.
“We have seen new players take opportunities to show they are very capable at this level. We have also spent valuable time developing plans and combinations for the World Cup qualifier in Zimbabwe.”
Know more about Sport360 Application