A few months later, the two men had negotiated an agreement to make Microsoft’s Office 365 suite of applications work better with Salesforce’s online services, which they said business customers were clamoring for.