Skip to main content
The XBOX CLI can keep a local record of which PlayFab operations it ran, against which title, and when. Use it to see afterward what you, or an agent running the CLI for you, did. The log is off by default, stays on your machine, and holds no request bodies, responses, tokens, or identity. The log records PlayFab calls only. Commands that work with Partner Center and XBOX services, such as xbox xbl and xbox game, aren’t recorded.

Turn on the audit log

Set XBOX_AUDITLOG__ENABLED to true. In bash or zsh:
In PowerShell:

Where the log lives

The CLI writes one file a day and keeps the most recent 31: The files have no size limit, so if you make many API calls a day, watch your disk space.

What is recorded

Each PlayFab call adds one line of compact JSON, whether the call reads or changes something:
A destructive operation that you decline at the confirmation prompt isn’t recorded, because it never calls PlayFab.

When the log can’t be written

The command still runs and returns the same result, and the CLI prints a warning on stderr so you know the record is missing.

Audit log and telemetry

The audit log isn’t part of telemetry:
Last modified on November 18, 2026