This is kind of surprising news. I thought Azeri's are like 30% of Iran's population:
Iranian Azerbaijanis - Wikipedia, the free encyclopedia
Armenian's do not have the reputation for being a grateful and loyal Ottoman subject. They have betrayed and suffered as a consequence.
Having said all that, please look at Eurasia+, I think it is in the interest of all to build, integrate and stabilize this regions:
http://www.defence.pk/forums/world-affairs/180767-geopolitics-eurasia-region.html
So Armenia making deals with Iran, makes sense from that perspective. If Muslims are going to be powerful again, we need to forget our own differences, Shia-Sunni, and work with others to rebuild our countries and economy.
But nothing should be given to Armenia before they give Azeri land back to Azerbaijan. Iranian Azeri's more than anyone else I thought would care about their Azeri brothers, that is why I call this a surprise.