# microsoft/xbox-live-developer-tools architecture

> Architecture diagram of the GitHub repository microsoft/xbox-live-developer-tools, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/microsoft/xbox-live-developer-tools
- Repository: https://github.com/microsoft/xbox-live-developer-tools

## Overview

This repository provides Xbox Live developer tooling: command-line and PowerShell interfaces backed by a .NET service-tooling library. The main workflow is developer sign-in, then sandbox-scoped operations such as configuration management, storage access, or player-data reset; test-account sign-in additionally supports privacy and privilege management. A separate desktop viewer handles multiplayer session history. Edges reflect README statements or source-index references; unsampled subsystems are included where documented or evident in the tree, but their internal links are left unverified.

Main entry points: [`Microsoft.Xbox.Service.DevTools/Authentication/ToolAuthentication.cs`](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/ToolAuthentication.cs) (Tool authentication), [`Microsoft.Xbox.Service.DevTools/Common/XboxLiveHttpRequest.cs`](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Common/XboxLiveHttpRequest.cs) (HTTP transport), [`CommandLine/XblTestAccount/Program.cs`](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblTestAccount/Program.cs) (Test account CLI), [`Microsoft.Xbox.Service.DevTools/XblConfig/ConfigurationManager.cs`](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/XblConfig/ConfigurationManager.cs) (Config manager)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interfaces["User interfaces"]
  node_devcli["Dev account CLI<br/>[Program.cs]"]
  node_testcli["Test account CLI<br/>[Program.cs]"]
  node_configcli["Configuration CLI<br/>[Program.cs]"]
  node_globalcli["Global storage CLI<br/>[Program.cs]"]
  node_connectedcli["Connected storage CLI<br/>[Program.cs]"]
  node_resetcli["Player reset CLI<br/>[Program.cs]"]
  node_powershell["Config cmdlets"]
end

subgraph group_identity["Authentication"]
  node_auth["Tool authentication"]
  node_authclient["Token client<br/>[AuthClient.cs]"]
  node_devaccount["Developer identity<br/>[DevAccount.cs]"]
  node_testaccount["Test identity<br/>[TestAccount.cs]"]
end

subgraph group_services["Service operations"]
  node_config["Config manager"]
  node_globalstorage["Global storage<br/>[TitleStorage.cs]"]
  node_connectedstorage["Connected storage"]
  node_reset["Player reset<br/>[PlayerReset.cs]"]
  node_privacy["Privacy operations<br/>[PrivacyClient.cs]"]
  node_privileges["Privilege operations<br/>[PrivilegeClient.cs]"]
end

subgraph group_shared["Shared client layer"]
  node_http["HTTP transport"]
  node_settings["Service settings<br/>[ClientSettings.cs]"]
end

subgraph group_history["Session history"]
  node_historyviewer["Session history viewer<br/>[Form1.cs]"]
  node_historydata["History query and data<br/>[SessionHistory.cs]"]
end

node_developer(("Developer"))
node_xbox{{"Xbox Live services"}}

node_developer -->|"signs in"| node_devcli
node_developer -->|"manages account"| node_testcli
node_developer -->|"manages config"| node_configcli
node_developer -->|"manages storage"| node_globalcli
node_developer -->|"requests reset"| node_resetcli
node_devcli -->|"uses"| node_auth
node_testcli -->|"uses"| node_auth
node_testcli -->|"manages privacy"| node_privacy
node_testcli -->|"manages privileges"| node_privileges
node_configcli -->|"uses"| node_auth
node_configcli -->|"invokes"| node_config
node_globalcli -->|"invokes"| node_globalstorage
node_globalcli -->|"uses"| node_auth
node_connectedcli -->|"invokes"| node_connectedstorage
node_connectedcli -->|"uses"| node_auth
node_resetcli -->|"invokes"| node_reset
node_resetcli -->|"uses"| node_auth
node_auth -.->|"delegates"| node_authclient
node_authclient -->|"creates"| node_devaccount
node_authclient -->|"sends token requests"| node_http
node_config -->|"sends requests"| node_http
node_globalstorage -->|"sends requests"| node_http
node_connectedstorage -->|"sends requests"| node_http
node_http -->|"attaches credentials"| node_auth
node_config -.->|"manages configuration"| node_xbox
node_globalstorage -.->|"accesses storage"| node_xbox
node_connectedstorage -.->|"accesses storage"| node_xbox
node_reset -.->|"submits resets"| node_xbox
node_powershell -.->|"wraps operations"| node_config
node_historyviewer -.->|"displays history"| node_historydata

click node_devcli "https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblDevAccount/Program.cs"
click node_testcli "https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblTestAccount/Program.cs"
click node_configcli "https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblConfig/Program.cs"
click node_globalcli "https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/GlobalStorage/Program.cs"
click node_connectedcli "https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblConnectedStorage/Program.cs"
click node_resetcli "https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblPlayerDataReset/Program.cs"
click node_powershell "https://github.com/microsoft/xbox-live-developer-tools/tree/main/Powershell/XblConfig"
click node_auth "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/ToolAuthentication.cs"
click node_authclient "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/AuthClient.cs"
click node_devaccount "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/DevAccount.cs"
click node_testaccount "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/TestAccount.cs"
click node_config "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/XblConfig/ConfigurationManager.cs"
click node_globalstorage "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/TitleStorage/TitleStorage.cs"
click node_connectedstorage "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/TitleStorage/ConnectedStorage.cs"
click node_reset "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/PlayerReset/PlayerReset.cs"
click node_privacy "https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblTestAccount/PrivacyClient.cs"
click node_privileges "https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblTestAccount/PrivilegeClient.cs"
click node_http "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Common/XboxLiveHttpRequest.cs"
click node_settings "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Common/ClientSettings.cs"
click node_historyviewer "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Tools/MultiplayerSessionHistoryViewer/Form1.cs"
click node_historydata "https://github.com/microsoft/xbox-live-developer-tools/blob/main/Tools/MultiplayerSessionHistoryViewer/SessionHistory.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_devcli,node_testcli,node_configcli,node_globalcli,node_connectedcli,node_resetcli,node_powershell toneBlue
class node_auth,node_authclient,node_devaccount,node_testaccount toneAmber
class node_config,node_globalstorage,node_connectedstorage,node_reset,node_privacy,node_privileges toneMint
class node_http,node_settings toneRose
class node_historyviewer,node_historydata,node_developer,node_xbox toneIndigo
```

## Components

### User interfaces

- [Dev account CLI](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblDevAccount/Program.cs): `CommandLine/XblDevAccount/Program.cs`
- [Test account CLI](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblTestAccount/Program.cs): `CommandLine/XblTestAccount/Program.cs`
- [Configuration CLI](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblConfig/Program.cs): `CommandLine/XblConfig/Program.cs`
- [Global storage CLI](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/GlobalStorage/Program.cs): `CommandLine/GlobalStorage/Program.cs`
- [Connected storage CLI](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblConnectedStorage/Program.cs): `CommandLine/XblConnectedStorage/Program.cs`
- [Player reset CLI](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblPlayerDataReset/Program.cs): `CommandLine/XblPlayerDataReset/Program.cs`
- [Config cmdlets](https://github.com/microsoft/xbox-live-developer-tools/tree/main/Powershell/XblConfig): `Powershell/XblConfig`

### Authentication

- [Tool authentication](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/ToolAuthentication.cs): `Microsoft.Xbox.Service.DevTools/Authentication/ToolAuthentication.cs`
- [Token client](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/AuthClient.cs): `Microsoft.Xbox.Service.DevTools/Authentication/AuthClient.cs`
- [Developer identity](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/DevAccount.cs): `Microsoft.Xbox.Service.DevTools/Authentication/DevAccount.cs`
- [Test identity](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Authentication/TestAccount.cs): `Microsoft.Xbox.Service.DevTools/Authentication/TestAccount.cs`

### Service operations

- [Config manager](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/XblConfig/ConfigurationManager.cs): `Microsoft.Xbox.Service.DevTools/XblConfig/ConfigurationManager.cs`
- [Global storage](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/TitleStorage/TitleStorage.cs): `Microsoft.Xbox.Service.DevTools/TitleStorage/TitleStorage.cs`
- [Connected storage](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/TitleStorage/ConnectedStorage.cs): `Microsoft.Xbox.Service.DevTools/TitleStorage/ConnectedStorage.cs`
- [Player reset](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/PlayerReset/PlayerReset.cs): `Microsoft.Xbox.Service.DevTools/PlayerReset/PlayerReset.cs`
- [Privacy operations](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblTestAccount/PrivacyClient.cs): `CommandLine/XblTestAccount/PrivacyClient.cs`
- [Privilege operations](https://github.com/microsoft/xbox-live-developer-tools/blob/main/CommandLine/XblTestAccount/PrivilegeClient.cs): `CommandLine/XblTestAccount/PrivilegeClient.cs`

### Shared client layer

- [HTTP transport](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Common/XboxLiveHttpRequest.cs): `Microsoft.Xbox.Service.DevTools/Common/XboxLiveHttpRequest.cs`
- [Service settings](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Microsoft.Xbox.Service.DevTools/Common/ClientSettings.cs): `Microsoft.Xbox.Service.DevTools/Common/ClientSettings.cs`

### Session history

- [Session history viewer](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Tools/MultiplayerSessionHistoryViewer/Form1.cs): `Tools/MultiplayerSessionHistoryViewer/Form1.cs`
- [History query and data](https://github.com/microsoft/xbox-live-developer-tools/blob/main/Tools/MultiplayerSessionHistoryViewer/SessionHistory.cs): `Tools/MultiplayerSessionHistoryViewer/SessionHistory.cs`

### Other components

- **Developer**
- **Xbox Live services**

## Connections

- Developer → Dev account CLI: signs in
- Developer → Test account CLI: manages account
- Developer → Configuration CLI: manages config
- Developer → Global storage CLI: manages storage
- Developer → Player reset CLI: requests reset
- Dev account CLI → Tool authentication: uses (evidence: `CommandLine/XblDevAccount/Program.cs`)
- Test account CLI → Tool authentication: uses (evidence: `CommandLine/XblTestAccount/Program.cs`)
- Test account CLI → Privacy operations: manages privacy (evidence: `CommandLine/XblTestAccount/Program.cs`)
- Test account CLI → Privilege operations: manages privileges (evidence: `CommandLine/XblTestAccount/Program.cs`)
- Configuration CLI → Tool authentication: uses (evidence: `CommandLine/XblConfig/Program.cs`)
- Configuration CLI → Config manager: invokes (evidence: `CommandLine/XblConfig/Program.cs`)
- Global storage CLI → Global storage: invokes (evidence: `CommandLine/GlobalStorage/Program.cs`)
- Global storage CLI → Tool authentication: uses (evidence: `CommandLine/GlobalStorage/Program.cs`)
- Connected storage CLI → Connected storage: invokes (evidence: `CommandLine/XblConnectedStorage/Program.cs`)
- Connected storage CLI → Tool authentication: uses (evidence: `CommandLine/XblConnectedStorage/Program.cs`)
- Player reset CLI → Player reset: invokes (evidence: `CommandLine/XblPlayerDataReset/Program.cs`)
- Player reset CLI → Tool authentication: uses (evidence: `CommandLine/XblPlayerDataReset/Program.cs`)
- Tool authentication → Token client: delegates (evidence: `Microsoft.Xbox.Service.DevTools/Authentication/ToolAuthentication.cs`)
- Token client → Developer identity: creates (evidence: `Microsoft.Xbox.Service.DevTools/Authentication/AuthClient.cs`)
- Token client → HTTP transport: sends token requests (evidence: `Microsoft.Xbox.Service.DevTools/Authentication/AuthClient.cs`)
- Config manager → HTTP transport: sends requests (evidence: `Microsoft.Xbox.Service.DevTools/XblConfig/ConfigurationManager.cs`)
- Global storage → HTTP transport: sends requests (evidence: `Microsoft.Xbox.Service.DevTools/TitleStorage/TitleStorage.cs`)
- Connected storage → HTTP transport: sends requests (evidence: `Microsoft.Xbox.Service.DevTools/TitleStorage/ConnectedStorage.cs`)
- HTTP transport → Tool authentication: attaches credentials (evidence: `Microsoft.Xbox.Service.DevTools/Common/XboxLiveHttpRequest.cs`)
- Config manager → Xbox Live services: manages configuration
- Global storage → Xbox Live services: accesses storage
- Connected storage → Xbox Live services: accesses storage
- Player reset → Xbox Live services: submits resets
- Config cmdlets → Config manager: wraps operations (evidence: `Powershell/XblConfig/AddWebService.cs`)
- Session history viewer → History query and data: displays history
