Microsoft: Stock to Avoid or Once-in-a-Decade Buying Opportunity?

Source Motley_fool

Key Points

  • Investors have sold Microsoft as AI threatens its software business and its cash flows.

  • Its massive contract with OpenAI creates customer concentration risk.

  • Microsoft's forward P/E ratio is attractive, but analysts could be reevaluating its future.

  • 10 stocks we like better than Microsoft ›

Since peaking last fall, Microsoft (NASDAQ: MSFT) shares are down more than 25%. The sell-off accelerated in 2026, as fears that generative artificial intelligence (AI) software would render Microsoft's expensive enterprise software suite obsolete led analysts to rerate how much Microsoft's current earnings are actually worth. On top of that, Microsoft's second-quarter earnings report in January showed accelerating spending on AI data centers without a corresponding acceleration in revenue from its Azure cloud computing platform.

There are certainly some well-placed concerns about Microsoft, which increase the risks for investors buying the stock today. The question investors need to ask is whether the current stock price accurately reflects the investment risk or if the market sell-off is overblown at this point and presents an incredible buying opportunity.

Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »

The Microsoft logo on a black reflective surface.

Image source: Getty Images.

The big risks facing Microsoft

While the market has sold off Microsoft stock in the last few months, analysts' outlooks for the company remain very positive. On average, analysts expect the company's earnings per share to improve by 23% over the next year. And while they see a slowdown coming in 2027, they still expect 13% earnings growth for the year.

With the stock trading at a price-to-earnings ratio of 24, this puts its price/earnings-to-growth ratio very close to 1. That's a level associated with strong buys. That means Microsoft is either a great investment opportunity right now, or a lot of analysts are about to change their outlooks for the business.

One big reason for the sell-off is disappointing Azure results. While Microsoft increased spending on capital expenditures and leases for its cloud computing platform to $37.5 billion last quarter, revenue growth remained at around the same level as previous quarters, 38% on a constant currency basis.

Management says Azure's growth was curbed by its decision to allocate more of its data center servers to its internal AI development. As a result, it didn't have as much capacity to sell to customers, and it remains capacity-constrained.

However, many fear that its AI development may not be panning out as well as expected. Management shared that there are 15 million paid Copilot subscribers, which are attached to its Microsoft 365 suite. That amounts to just over 3% of its 450 million commercial customers.

The last risk investors need to consider is the concentration risk stemming from Microsoft's new contract with OpenAI. The leading AI lab signed a multi-year deal with Microsoft in October worth $250 billion. That alone accounts for 40% of Microsoft's $625 billion backlog. Considering OpenAI remains a highly risky cash-burning operation, a significant portion of that $250 billion is far from guaranteed.

The risks might not be as great as investors fear

Microsoft is one of the companies best positioned to invest heavily in artificial intelligence -- both in data centers and in research and development for its own software.

The risk of Microsoft overbuilding data centers is mitigated by its dominant position in enterprise computing with Windows and the long-term shift toward cloud computing rather than on-premises equipment. Azure is the natural choice for enterprises looking to shift their workloads to the cloud. And while that's a different workload from AI training and inference, it dramatically lowers the risk of an AI overbuild. As a result, Microsoft's capital expenditure and customer concentration shouldn't reduce its earnings multiple so much.

Additionally, few large enterprises have successfully shifted away from Microsoft's Office and Dynamics software suites, despite viable alternatives. The moat around the software business is very wide. It's more likely that Microsoft will see improved penetration of its AI services in Microsoft 365 over the next few years than that there will be a drop-off in customers. It's releasing a new enterprise software package, E7, in May, which should increase AI services adoption and revenue.

In fact, the upcoming release may be a key reason management diverted resources from Azure, as it expects to need more compute power to improve Copilot and support additional engagement. That should produce a positive return on capital over the long run if management's expectations are accurate.

I expect Azure's strong growth to continue, possibly accelerating in the back half of the year due to increased spending. Meanwhile, the high-margin productivity and business processes segment, which houses Microsoft 365 and Dynamics 365, should see some uplift from AI bundling in its new package, starting in fiscal 2027.

So, analysts' expectations don't look out of line with the business's reality, and Microsoft stock looks like a great investment opportunity.

Should you buy stock in Microsoft right now?

Before you buy stock in Microsoft, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Microsoft wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $495,179!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,058,743!*

Now, it’s worth noting Stock Advisor’s total average return is 898% — a market-crushing outperformance compared to 183% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of March 23, 2026.

Adam Levy has positions in Microsoft. The Motley Fool has positions in and recommends Microsoft. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Trump’s 48-Hour Ultimatum to Iran Just Sent Markets Into Monday With No Exit PlanUS stock futures fell at Sunday’s open after President Trump gave Iran 48 hours to fully reopen the Strait of Hormuz, threatening to “hit and obliterate” the country’s power plants starting with the l
Author  Beincrypto
12 hours ago
US stock futures fell at Sunday’s open after President Trump gave Iran 48 hours to fully reopen the Strait of Hormuz, threatening to “hit and obliterate” the country’s power plants starting with the l
placeholder
Is Every Bank Launching a Stablecoin Quietly Building the Case for XRP?XRP (XRP) fell 3.74% to $1.39 on March 22, trading 62% below its July 2025 all-time high of $3.65, as open interest collapsed 75% from its peak and leveraged positions continued to unwind.The price de
Author  Beincrypto
12 hours ago
XRP (XRP) fell 3.74% to $1.39 on March 22, trading 62% below its July 2025 all-time high of $3.65, as open interest collapsed 75% from its peak and leveraged positions continued to unwind.The price de
placeholder
Will TRUMP Holders $70 Million Flash Selling Push Price To Historic Lows?Official Trump (TRUMP) price is trading at $3.21, down 1.32% on the day, after surrendering nearly all of a 49.65% rally that peaked on March 13.The token now sits 3.2% above its all-time low of $2.70
Author  Beincrypto
12 hours ago
Official Trump (TRUMP) price is trading at $3.21, down 1.32% on the day, after surrendering nearly all of a 49.65% rally that peaked on March 13.The token now sits 3.2% above its all-time low of $2.70
placeholder
Gold Just Had Its Worst Week Since 1983: Here’s Where Smart Money May Go NextGold’s sharpest weekly decline in over four decades is rattling global markets and forcing a rethink of what constitutes a “safe haven” in today’s macro environment.The precious metal, long viewed as
Author  Beincrypto
12 hours ago
Gold’s sharpest weekly decline in over four decades is rattling global markets and forcing a rethink of what constitutes a “safe haven” in today’s macro environment.The precious metal, long viewed as
placeholder
Iran responds forcefully to Trump's latest threats targeting Iran’s power plantsIran answered President Donald Trump’s 48-hour warning to hit Iran’s power plants if Tehran did not open the Strait of Hormuz within two days. Iran’s military answered by saying any U.S. strike on non-military energy sites would trigger attacks in return. That put the focus back on the waterway that carries a huge share of […]
Author  Cryptopolitan
12 hours ago
Iran answered President Donald Trump’s 48-hour warning to hit Iran’s power plants if Tehran did not open the Strait of Hormuz within two days. Iran’s military answered by saying any U.S. strike on non-military energy sites would trigger attacks in return. That put the focus back on the waterway that carries a huge share of […]
goTop
quote