Where is the XboxLive scope in Azure AD app?

DataPocalypse 5 Reputation points

How we can authenticate XboxLive players with AAD? I'm unable to find the XboxLive scopes.

On a gameserver that have Steam and XBL players, it is a nightmare to have equal features that require Omniauth/Openid authentication.

I just need the XBL_ID and gamertag, nothing more, how I can do that?

Thank you in advance.

(PS: I already searched and read all topics about that without success, nothing work.)

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,910 questions
{count} vote

2 answers

Sort by: Most helpful
  1. LOSTMSU 1 Reputation point

    I solved the issue by using https://login.microsoftonline.com/consumers authorization endpoint instead of https://login.microsoftonline.com/common This way I got the XboxLive.signin scope without adding it in advance to App Registration in Azure Portal.

    E.g. with MSAL JavaScript:

    const msalConfig = {
      auth: {
        clientId: ...,
        authority: 'https://login.microsoftonline.com/consumers',
    0 comments No comments

  2. wouter bruijn 0 Reputation points

    I ran into the same issue, I had the wrong scopes selected which somehow broke the whole system. Make sure you remove any unnecessary scopes. Better yet just use "offline_access XboxLive.signin".

    For me it was caused by the User.Read scope