Microsoft has resolved an Azure cloud outage that disrupted its productivity tools and affected businesses globally.