Piper Sandler has reaffirmed its ‘Overweight’ rating on Microsoft (NASDAQ: MSFT) and maintained a $540 price target.
The updated Microsoft stock price target implies upside of about 40% from MSFT’s current share price of $394, according to the firm’s July 28 analyst note.

While the target remains slightly below Wall Street’s average Microsoft stock forecast of $554, it still suggests strong confidence in the company’s long-term prospects.
The bullish stance comes ahead of Microsoft’s fiscal fourth-quarter earnings report on July 29, a key event investors are watching for updates on Azure growth, AI monetization, capital expenditure plans, and Copilot adoption.
Notably, Piper Sandler analyst Billy Fitzsimmons reiterated the firm’s outlook after Microsoft unveiled new AI-focused cybersecurity products, including the MAI-Cyber-1-Flash security model and Project Perception, a new AI security platform.
According to the analyst, the new security-focused model achieved a 96% score on the CyberGym benchmark and offers lower operating costs than Microsoft’s current security infrastructure.
As a result, Piper Sandler believes these developments strengthen Microsoft’s position in the rapidly expanding AI security market while supporting long-term margins.
The firm also noted that Microsoft remains the world’s largest security vendor and is well positioned to play a major role as enterprises increasingly adopt AI-driven security tools.
Wall Street bullish on MSFT stock
Meanwhile, the broader analyst community remains constructive on Microsoft. Based on 36 Wall Street analyst ratings collected over the past three months, the stock carries a ‘Strong Buy’ consensus, according to TipRanks.
Analysts currently have an average MSFT price target of $554, with the highest target at $680 and the lowest at $400.

Although concerns remain around AI-related spending, margin pressures, and the pace of Copilot monetization, most analysts continue to view Microsoft as one of the leading beneficiaries of enterprise AI adoption.
MSFT’s brief rebound
Meanwhile, Microsoft shares have rebounded in recent weeks, gaining about 7% over the past month following a steep sell-off earlier this year. The stock currently trades well above its June low near $349, though it remains significantly below its 52-week high of about $555.
The recovery has been supported by improving investor sentiment toward software and cloud companies, alongside continued momentum in Microsoft’s AI initiatives.
Recent developments include AI-related partnerships and product launches aimed at expanding the company’s presence across cloud computing, cybersecurity, and enterprise software.
Additionally, strong business fundamentals have helped support the Microsoft stock outlook.
In its most recent quarter, Microsoft reported revenue growth of 18% year-over-year to $82.9 billion, while earnings per share rose 23% to $4.27. Azure revenue grew 40%, and the company’s AI business surpassed a $37 billion annualized revenue run rate.