Microsoft Login, Bedrock vs Java & License Issues
This guide explains how Microsoft authentication works in XMCL, why login errors (such as "failed to exchange Xbox token") occur, why the game might launch in Demo Mode, the critical difference between Bedrock Edition (Mobile/Console) and Java Edition (PC), and how to fix common account issues.
🔑 1. Logging In with a Microsoft Account
To sign in and play with your official Minecraft license, follow these steps:
Click on your profile/avatar (or "Manage Account") in the top-right corner to open the Account Manager:
Click "Add Account", choose Microsoft, and proceed with the login:
💡 Sign In via Device Code:
If you prefer not to enter your credentials directly inside the launcher, check "Login by Device Code". XMCL will generate an 8-digit code; simply visit microsoft.com/link in your web browser, enter the code, and confirm.
🔍 2. How Microsoft Authentication Works
When you authenticate, the launcher communicates across three distinct verification stages:
If Step 3 fails, the login will return "failed to exchange Xbox token" (or "Not Purchased"), or the game will launch in Demo Mode. This means Mojang's servers could not find an active Minecraft: Java Edition license on this Microsoft account.
🛑 3. Crucial: Bedrock vs. Java Edition (The #1 Confusion)
XMCL is a launcher for Minecraft: Java Edition (Windows, macOS, Linux).
Many players attempt to log in after buying Minecraft on other platforms, only to encounter login errors:
| Platform Where You Bought Minecraft | Edition Owned | Compatible with XMCL? | Why It Fails |
|---|---|---|---|
| 📱 Mobile (iOS / Android / Google Play) | Bedrock Edition | ❌ No | Mobile licenses do not grant PC Java Edition access. |
| 🎮 Console (PlayStation 4 / 5) | Bedrock Edition | ❌ No | PlayStation licenses are console-only. |
| 🎮 Console (Xbox One / Series X|S) | Bedrock Edition | ❌ No | Xbox console purchases do not transfer to PC Java. |
| 🕹️ Nintendo Switch | Bedrock Edition | ❌ No | Nintendo eShop licenses are Switch-only. |
| 💻 PC (Minecraft: Java & Bedrock Bundle) | Java & Bedrock | ✅ Yes | Fully supported! |
| 🟢 PC Game Pass / Game Pass Ultimate | Java & Bedrock | ✅ Yes | Supported as long as subscription is active. |
⚠️ Important:
If you only purchased Minecraft on your phone, tablet, PlayStation, Xbox console, or Nintendo Switch, Mojang's authentication servers will report that your Microsoft account does not own Java Edition.
To play official Java Edition on PC, you must own the "Minecraft: Java & Bedrock Edition for PC" bundle on Minecraft.net or have an active PC Game Pass / Game Pass Ultimate subscription.
🛠 4. Troubleshooting Common Login Failures
Cause A: No Java Edition License on This Microsoft Account
Mojang reports no Java license
Your Microsoft account authenticated successfully, but Mojang's licensing database does not show an active Minecraft Java Edition license.
How to fix:
- Verify on Minecraft.net: Go to Minecraft.net, sign in with your Microsoft account, and check your profile. If it says "Buy Now" instead of showing your Java profile name, this account does not own the game.
- Check Microsoft Order History: Open account.microsoft.com/billing/orders to confirm whether your purchase was for the PC Java bundle or for a console/mobile edition.
- Check Multiple Accounts: Make sure you aren't logging in with a school, work, or secondary family email instead of the personal Microsoft account holding the game.
- Check Game Pass Subscription: If using Game Pass, verify your subscription is active and includes PC access (PC Game Pass or Xbox Game Pass Ultimate).
Cause B: Missing or Uninitialized Xbox Live Profile
Microsoft account has no Xbox Gamertag
If you recently created a Microsoft account or never played on Xbox Live, your account may lack an active Xbox Gamertag profile.
How to fix:
- Visit Xbox.com in your web browser.
- Click Sign In in the top-right corner.
- Complete the prompt to create an Xbox profile and choose a Gamertag.
- Wait 1–2 minutes for Microsoft's servers to synchronize, then try logging in again in XMCL.
Cause C: Regional ISP Blocks & Network Restrictions
Connection to Mojang/Xbox servers blocked
Regional ISP restrictions, firewall rules, or DNS issues may block requests to api.minecraftservices.com or user.auth.xboxlive.com.
How to fix:
- Use a VPN: Connect to a reliable VPN before logging in to route past ISP blocks.
- Configure Proxy in XMCL:
- Open Settings (gear icon on the left sidebar).
- Navigate to Network Settings.
- Enter your proxy details (HTTP, HTTPS, or SOCKS5).
- Check Hosts File: Ensure your system
hostsfile contains no redirect entries formojang.com,minecraft.net, orxboxlive.com.
Cause D: Xbox Family Privacy & Child Account Restrictions
If your account is set up as a child account in a Microsoft Family Safety group:
- An adult organizer must visit account.xbox.com/settings.
- Under Xbox and Windows 10 Online Safety, ensure that:
- "You can play with people outside of Xbox Live" is set to Allow.
- "You can join multiplayer games" is set to Allow.
🎮 Don't Have a Paid License?
If you do not currently own an official Minecraft Java Edition license, you can still play locally or on community servers using Offline Mode and third-party skin accounts.
👉 Read our Complete Guide: Playing Without a License (Offline Mode & Custom Skins)