v3.25.2
Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Revenue from External Customer [Line Items]      
Revenue $ 281,724 $ 245,122 $ 211,915
Microsoft Cloud      
Revenue from External Customer [Line Items]      
Revenue $ 168,900 $ 137,700 $ 111,600