Microsoft has been roiled in recent months by demonstrations staged by a group of employees sympathetic to the Palestinians.