XML 80 R69.htm IDEA: XBRL DOCUMENT
v3.22.4

Unearned Revenue by Segment (Detail) - USD ($) $ in Millions | Dec. 31, 2022 | Jun. 30, 2022
--- | --- | ---
Contract With Customer Liability [Line Items] |  |
Unearned revenue | $ 39,626 | $ 48,408
Productivity and Business Processes |  |
Contract With Customer Liability [Line Items] |  |
Unearned revenue | 20,120 | 24,558
Intelligent Cloud |  |
Contract With Customer Liability [Line Items] |  |
Unearned revenue | 15,822 | 19,371
More Personal Computing |  |
Contract With Customer Liability [Line Items] |  |
Unearned revenue | $ 3,684 | $ 4,479

X
- Definition Contract with Customer Liability [Line Items] + References No definition available. + Details
Name: | msft_ContractWithCustomerLiabilityLineItems
Namespace Prefix: | msft_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126919976&loc=SL49130532-203044 + Details
Name: | us-gaap_ContractWithCustomerLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=msft_ProductivityAndBusinessProcessesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=msft_IntelligentCloudMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=msft_MorePersonalComputingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |