v3.21.2
Revenue Classified by Significant Product and Service Offerings (Parenthetical) (Detail) - USD ($)
$ in Millions
3 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Revenue from External Customer [Line Items]    
Revenue $ 45,317 $ 37,154
Microsoft Cloud    
Revenue from External Customer [Line Items]    
Revenue $ 20,700 $ 15,200