Let me explain:
- Affinity group concept were introduced to Azure to make two virtual machines under the same Affinity Group to be provisioned on the same virtual network boundary. In fact, at this time, Virtual Networks were not region-spanning , that means that you can
deploy two virtual machines in the same region and connect them to same virtual network but they wont communicate. Why ? Because on the same region, there are many datacenters, and i think that VNETs were not spanned through data-centers. After that, Virtual
Networks model changed, and they become regional. So any created VNET since June 2014 was regional --> no need for Affinity Group anymore since VMs can communicate natively once they are connected to the same virtual network
- Resource Groups notion is not related to Affinity Group, it's related to Azure Resource Manger new concept and it's main goal is to regroup a set of Azure objects under a logical group to make easier RBAC and management.