v3.21.2
Segment Revenue (Detail) - USD ($)
$ in Millions
3 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Segment Reporting Information [Line Items]    
Revenue $ 45,317 $ 37,154
Productivity and Business Processes    
Segment Reporting Information [Line Items]    
Revenue 15,039 12,319
Intelligent Cloud    
Segment Reporting Information [Line Items]    
Revenue 16,964 12,986
More Personal Computing    
Segment Reporting Information [Line Items]    
Revenue $ 13,314 $ 11,849