NEW YORK (Reuters) - Microsoft Corp reported its first quarterly loss as a public company on Thursday as it took a previously announced charge for writing down the value of its ailing online unit.