In this article
- Preflight checklist
- Diagnostic flowchart
- Account and sandbox errors
- Configuration errors
- Game-specific troubleshooting
- Additional troubleshooting
- Error code quick reference
Preflight checklist
Before investigating specific errors, work through this checklist. Most sign-in issues are caused by one of these items being misconfigured. Verify all of the following before proceeding to the diagnostic flowchart and error sections below.It is critical to have the XblPCSandbox.exe tool already installed.
For more detail on how to obtain it, refer to Sandboxes overview
Environment checks
These items affect your ability to sign in to XBOX services at all—including the XBOX App. Check these first.✅ 1. Review the sandbox Id does not have any typos
Make sure the sandbox Id has been typed correctly. How to check:✅ 2. Your sandbox is correct
Your PC must be in the same development sandbox that your game’s XBOX services configuration has been published to. How to check:✅ 3. Your test account is valid
Test accounts can become invalid for several reasons. Verify all of the following:The account’s access to the sandbox isn’t expired
Test accounts access to sandboxes have an expiration date. Accounts with expired access to the sandbox can’t sign in to the sandbox. How to check:- Go to Partner Center.
- Select Apps and Games
- Select XBOX Test accounts (or go to Test accounts management).
- Find your test account and check the Access Expires and Status column.
The account has access to your sandbox
When you create a test account, you must grant it access to specific sandboxes. How to check:- In Partner Center, go to XBOX services > Test accounts.
- Select your test account.
- Verify that your development sandbox is listed under the account’s sandbox access.
The credentials are correct
Make sure you’re using the correct email address and password for the test account. Test account email addresses typically end in@xboxtest.com.
✅ 4. XBOX gaming components are up to date
XBOX services relies on the XBOX App and the Gaming Services component on your PC. An outdated version of either can cause unexpected sign-in failures. How to check:- Follow the information provided for the Game Repair Tool
✅ 5. Restart your PC
Sometimes a background service needed for sign-in (such as the XBOX Live Auth Manager or Gaming Services) gets into a bad state. A PC restart can resolve transient issues that the steps above won’t catch. Before doing so, it is important to submit a bug through Feedback Hub so that it can be tracked and addressed in a future release. You can do so by using the following command:Project checks
These items affect sign-in from your game specifically. If you can sign in to the XBOX App but not from your game, start here.✅ 6. Your IDs match Partner Center
The IDs in yourMicrosoftGame.config must exactly match the values in Partner Center. A single mismatched value will prevent sign-in.
How to check:
Open your MicrosoftGame.config and compare these values against Partner Center:
Additionally, check the SCID (Service Configuration ID). The SCID isn’t in your
MicrosoftGame.config—it’s passed as a parameter to the XblInitialize method. Find it under XBOX services > XBOX Settings in Partner Center.
✅ 7. XBOX services configuration is published to your sandbox
Even after saving changes in Partner Center, they are not active until you publish them to your development sandbox. How to check:- Go to Partner Center.
- Select your product.
- Navigate to XBOX services > Gameplay settings.
- Select the tab for your development sandbox.
- Check the publish status.
✅ 8. PC Platform is enabled
If you’re developing on PC, the Windows 10 PC (and later) platform must be enabled for your title. Without this, sign-in will fail with error0x87dd0005 (AM_E_XAST_UNEXPECTED).
How to check:
- Go to Partner Center.
- Select your product.
- Navigate to XBOX services > XBOX Settings.
- Verify that the Windows 10 PC checkbox is checked. Do this for the latest Windows versions as well.
- Check the Windows 10 PC checkbox.
- Select Save.
- Go to Gameplay settings and publish your settings to your development sandbox.
- Wait approximately 30 minutes before testing.
Diagnostic flowchart
If the preflight checklist didn’t resolve your issue, use this step-by-step process to narrow down the root cause. Start at Step 1 and follow the branches.Account and sandbox errors
If you could not sign in to the XBOX App (Step 1 of the diagnostic flowchart), the issue is with your sandbox switch, test account, or XBOX App itself.The user isn’t in this sandbox (0x8015DC12)
The test account doesn’t have access to the sandbox, or the game’s configuration doesn’t match the sandbox. Common causes and fixes:Incorrect sandbox ID
Common mistakes include:- Missing or extra characters:
XDKS1instead ofXDKS.1 - Wrong sandbox: switching to a different sandbox than where your game’s config was published
- Run
XblPCSandbox /getand compare the output against Partner Center. - Rerun
XblPCSandbox <correct sandbox ID>with the exact value from Partner Center.
Wrong sandbox for test account (Garrison error)
If you see an error message suggesting your account should work in a different sandbox, or the XBOX identity service returns an unexpected error during sign-in, you’re likely signed into the wrong sandbox for that test account. How to fix:- Run
XblPCSandbox /getto confirm which sandbox your PC is set to. - In Partner Center, go to XBOX services > Test accounts and verify your test account has access to that sandbox.
- If the sandbox doesn’t match, switch to the correct one:
XblPCSandbox <correct sandbox ID>
XBOX App licensing error (0x803F8001)
The XBOX App may fail to launch if you haven’t previously opened it in RETAIL. How to fix:- Switch to RETAIL:
XblPCSandbox /retail(orXblPCSandbox RETAIL) - Open the XBOX App and let it launch fully.
- Switch back to your development sandbox:
XblPCSandbox <your sandbox ID>
Can’t find the XBOX App
The XBOX App is available in the Microsoft Store, but only when you are in the RETAIL sandbox. If you can’t find it:- Switch to RETAIL:
XblPCSandbox /retail(orXblPCSandbox RETAIL) - Search for “XBOX” in the Microsoft Store and install it.
- Switch back to your sandbox.
Configuration errors
If you can sign in to the XBOX App but cannot sign in within your game or a sample project (Step 2 of the diagnostic flowchart), the issue is with your game’s XBOX services configuration.PC Platform not enabled (0x87dd0005, AM_E_XAST_UNEXPECTED)
This error means the Windows 10 PC platform wasn’t added in Partner Center. Check for later versions as well. How to fix:- In Partner Center, navigate to your product > XBOX services > XBOX Settings.
- Check the Windows 10 PC checkbox.
- Select Save.
- Go to Gameplay settings and publish your settings to your development sandbox.
- Wait 30 minutes and try signing in again.
XBOX services configuration not published
Changes saved in Partner Center aren’t active until published to your development sandbox. How to fix:- Go to XBOX services > Gameplay settings in Partner Center.
- Select your development sandbox tab.
- Select Publish.
- Wait approximately 30 minutes for changes to propagate.
Incorrect IDs in MicrosoftGame.config
A common cause of sign-in errors is one or more mismatched values inMicrosoftGame.config.
How to fix:
Use the Store Association Wizard in the MicrosoftGame.config Editor to link your game and autopopulate the correct values. Or manually verify each value against Partner Center using checklist item 1.
Incorrect SCID in XblInitialize
The SCID is not inMicrosoftGame.config—it’s passed as a parameter to XblInitialize. Make sure you’re passing the correct SCID from Partner Center (XBOX services > XBOX Settings).
Isolated vs. shared sandboxes
Unless you have a specific reason to use an isolated sandbox, use a shared sandbox. You can check your sandbox type in Partner Center. Isolated sandboxes have additional restrictions that can cause sign-in failures.Game-specific troubleshooting
If the XBOX App sign-in works and a sample project works with your game’s IDs, but your game still can’t sign in (Step 3 of the diagnostic flowchart), the issue is specific to your game’s code or configuration.Compare MicrosoftGame.config files
Diff your game’sMicrosoftGame.config against the working sample. Look for extra or missing fields, formatting differences, or incorrect values.
Compare sign-in code
Compare your game’s sign-in implementation with the sample’s code. Look for differences in howXUserAddAsync is called (options, callbacks, error handling).
No default user (0x89245106, E_GAMEUSER_NO_DEFAULT_USER)
This error means there’s no current default user signed in. Cause: You calledXUserAddAsync with the AddDefaultUserSilently option, but no user is currently signed in.
How to fix:
Please refer to XUserAddAsync and AdvancedUserModel for more information.
Additional troubleshooting
XBOX services is experiencing an outage
If you’ve exhausted all other options, check whether XBOX services is having an outage:[!IMPORTANT] Known limitation (GDK 26.04):XblPCSandboxfails to switch sandboxes when run over an SSH session. RunXblPCSandboxfrom a local session instead.
Error code quick reference
If you see an error code not listed here, please submit the issue through Feedback Hub.Use xblPcSandbox /feedback to submit the bugOr, if done directly from Feedback Hub, Category: Gaming and XBOX and Area: Developer Tools
