Microsoft has weighed legal action against OpenAI over a $50 billion Amazon cloud deal it believes violates its exclusive Azure agreement.