Microsoft (NASDAQ: MSFT) is among the worst-performing Magnificent 7 stocks, having slumped 20% year-to-date. The global software giant…