Microsoft Corp. is evaluating a bid for Salesforce.com Inc., after the cloud software provider was approached by another would-be buyer, people with knowledge of the matter said.