Microsoft has said it is "investigating an issue" after users reported problems with Outlook and Teams.