Microsoft has announced completion of an inquiry into how Israeli military used its cloud technology for mass surveillance of Palestinians—a practice revealed by the Guardian—and says it will tighten human-rights controls when working with national security agencies, including new oversight of employees with foreign security clearances.