After three years of spectacular gains, technology companies faced a rockier path in the first half of this year -- particularly in the first quarter. Investors worried about the pace of spending on artificial intelligence (AI) and whether the revenue opportunity would make it all worthwhile. Turmoil in Iran also weighed on sentiment as energy prices rose and investors carefully watched U.S. economic reports -- and many of these reports prompted them to question the strength of the economy. All of these uncertainties pushed investors into a rotation out of certain AI stocks and into companies viewed as offering more revenue stability.
The situation brightened in the second quarter, as strong corporate earnings reports and work toward peace in Iran offered investors reason for optimism. The S&P 500, the Nasdaq Composite, and the Dow Jones Industrial Average even advanced in the double digits. And the Dow posted its best first half in five years.
But, during the first half, one particular tech stock had a difficult time. This giant was the worst-performing mega-cap in the Dow over that period. Is the company a stock to avoid, or is it offering investors a no-brainer buying opportunity right now? Let's find out.
Image source: Getty Images.
Platforms you may use daily
Which company am I talking about? One that you probably know very well -- you may even use one of its key products daily at work or at home. I'm talking about Microsoft (MSFT 0.94%), owner of the Microsoft 365 suite of apps, including the immensely popular platforms Word and Excel.
Microsoft stock dropped about 20% in the first half of the year, posting the biggest loss of any mega-cap member of the Dow Jones Industrial Average. Why such a decline? Earlier in the year, as the abilities of AI models progressed, some investors started to worry that AI would eventually replace software. As a result, software stocks such as Microsoft slid.

NASDAQ: MSFT
Key Data Points
Now, I'll address this concern right away: It's very possible that AI could replace some software down the road -- but I wouldn't expect the Microsoft 365 suite to be part of this group. Companies have extensively integrated Microsoft's software into their operations, meaning it would be difficult, time-consuming, and costly to drop this platform in favor of another option. It's also important to note that Microsoft's software integrates AI, offering AI features such as Copilot to users. So as AI advances, Microsoft's software is likely to improve too.
Meanwhile, at home users of Microsoft may not be quick to shift out of their habits of writing on Microsoft Word, for example, and favor a new system. People tend to stick with what they feel most comfortable with -- and many people have been using Microsoft's software for decades.
AI as a valuable partner
So I don't think AI represents a major threat to Microsoft, and instead, it may even be a valuable partner. On top of this, Microsoft's cloud business is significantly benefiting from AI as it offers AI products and services to its customers. In the recent quarter, the company said its AI business soared 123% to exceed an annual revenue run rate of $37 billion. As a cloud leader and a key partner of OpenAI -- Microsoft has invested about $13 billion in the AI lab -- Microsoft is well-positioned to win in the coming chapters of the AI story.
Of course, Microsoft stock may not soar as much as a young, up-and-coming AI stock, but that's OK. The company has a profile that may suit a broad range of investors: Its earnings track record will impress cautious investors, and its exposure to AI will please growth investors. And this combination should support stock performance over the long run.
Meanwhile, Microsoft looks dirt cheap at 20x forward earnings estimates, making this Dow Jones stock a no-brainer buy right now.





