Skip to main content
This article helps you diagnose and fix common sign-in and sandbox-related errors for your game in a development sandbox on PC.

In this article


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:
Compare the output with the sandbox shown on the Gameplay settings page in Partner Center. You can do so by using https://partner.microsoft.com/en-us/xboxconfig?appid=[productId], replacing the [productId] parameter with your respective Product Id. How to fix:
See Sandboxes overview for detailed instructions on switching sandboxes.

✅ 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:
Compare the output with the sandbox shown on the Gameplay settings page in Partner Center. You can do so by using https://partner.microsoft.com/en-us/xboxconfig?appid=[productId], replacing the [productId] parameter with your respective Product Id. How to fix:
See Sandboxes overview for detailed instructions on switching sandboxes.

✅ 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:
  1. Go to Partner Center.
  2. Select Apps and Games
  3. Select XBOX Test accounts (or go to Test accounts management).
  4. Find your test account and check the Access Expires and Status column.
How to fix: If the account is expired, create a new test account or extend the expiration date for the existing account.

The account has access to your sandbox

When you create a test account, you must grant it access to specific sandboxes. How to check:
  1. In Partner Center, go to XBOX services > Test accounts.
  2. Select your test account.
  3. Verify that your development sandbox is listed under the account’s sandbox access.
How to fix: Edit the test account and add your development sandbox to its access list.

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:
  1. 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:
Or, if done directly from Feedback Hub, Category: Gaming and XBOX and Area: Developer Tools When to do this: If you’ve verified all of the environment checks above and sign-in still fails, restart your PC and try again before moving on to the project checks.

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 your MicrosoftGame.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.
Use the Store Association Wizard in the MicrosoftGame.config Editor to link your game automatically and reduce the chance of typos.

✅ 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:
  1. Go to Partner Center.
  2. Select your product.
  3. Navigate to XBOX services > Gameplay settings.
  4. Select the tab for your development sandbox.
  5. Check the publish status.
How to fix: If changes haven’t been published, select Publish to push them to your development sandbox. Wait approximately 30 minutes for the changes to propagate before testing again.
Clicking Save on the XBOX Settings page does not publish changes. You must explicitly publish from the Gameplay settings page.

✅ 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 error 0x87dd0005 (AM_E_XAST_UNEXPECTED). How to check:
  1. Go to Partner Center.
  2. Select your product.
  3. Navigate to XBOX services > XBOX Settings.
  4. Verify that the Windows 10 PC checkbox is checked. Do this for the latest Windows versions as well.
How to fix:
  1. Check the Windows 10 PC checkbox.
  2. Select Save.
  3. Go to Gameplay settings and publish your settings to your development sandbox.
  4. 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: XDKS1 instead of XDKS.1
  • Wrong sandbox: switching to a different sandbox than where your game’s config was published
How to fix:
  1. Run XblPCSandbox /get and compare the output against Partner Center.
  2. 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:
  1. Run XblPCSandbox /get to confirm which sandbox your PC is set to.
  2. In Partner Center, go to XBOX services > Test accounts and verify your test account has access to that sandbox.
  3. 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:
  1. Switch to RETAIL: XblPCSandbox /retail (or XblPCSandbox RETAIL)
  2. Open the XBOX App and let it launch fully.
  3. 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:
  1. Switch to RETAIL: XblPCSandbox /retail (or XblPCSandbox RETAIL)
  2. Search for “XBOX” in the Microsoft Store and install it.
  3. 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:
  1. In Partner Center, navigate to your product > XBOX services > XBOX Settings.
  2. Check the Windows 10 PC checkbox.
  3. Select Save.
  4. Go to Gameplay settings and publish your settings to your development sandbox.
  5. Wait 30 minutes and try signing in again.
Clicking Save on the XBOX Settings page does not publish changes. You must explicitly publish from the Gameplay settings page for sign-in to work.

XBOX services configuration not published

Changes saved in Partner Center aren’t active until published to your development sandbox. How to fix:
  1. Go to XBOX services > Gameplay settings in Partner Center.
  2. Select your development sandbox tab.
  3. Select Publish.
  4. 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 in MicrosoftGame.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 in MicrosoftGame.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’s MicrosoftGame.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 how XUserAddAsync 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 called XUserAddAsync 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): XblPCSandbox fails to switch sandboxes when run over an SSH session. Run XblPCSandbox from 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

See also

Last modified on September 1, 2026