| Previous | Next |
| UTC_E_FAILED_TO_RESOLVE_CONTAINER_ID | UTC_E_THROTTLED |
UTC_E_UNABLE_TO_RESOLVE_SESSION
Map the code to the scenario graph: Windows session resolution
The code UTC_E_UNABLE_TO_RESOLVE_SESSION (0x87C51037) belongs to platform capability and identity resolution, inside the Universal Telemetry Client/DiagTrack workflow for this HRESULT. A reliable investigation preserves the producing action before any cleanup runs for this HRESULT. It identifies Windows session resolution and reports that the API invocation could not determine the interactive or service session in which the action should run; it does not by itself prove that all Windows diagnostic data collection is unavailable for this HRESULT.
Some UTC actions depend on platform capabilities, Windows Runtime setup, device identity, session/container resolution or destination support for this HRESULT. Feature detection and stable identity evidence are more reliable than retries based only on the top-level HRESULT for this HRESULT. Record the configuration package or scenario generation together with the Windows build; otherwise a repaired file can be tested against a stale in-memory graph and appear to fail for the same reason for this HRESULT.
Data needed for triage
| UTC diagnostic field | Value |
|---|---|
| Producing layer | platform capability and identity resolution |
| Owning state or object | Windows session resolution |
| Decisive evidence | caller token, process/session IDs, active sessions, target user, logon/logoff timing and request ID |
| Narrow comparison | specify or resolve a known active session and compare with the ambiguous invocation |
| Do not confuse with | UTC_E_FAILED_TO_RESOLVE_CONTAINER_ID concerns application/container scope |
The AllStat message names the immediate condition as “Failed to resolve session ID during API invocation” for this HRESULT. In practice, the useful extension is to ask whether the request was rejected before any side effect, after partial setup, or during cleanup for this HRESULT. Verify the existence and ownership of the expected output—session, directory, process, result object or emitted event—rather than assuming the message describes the final system state for this HRESULT.
Reproduce without collateral changes
- Export the relevant
Microsoft-Windows-UniversalTelemetryClient/Operationalevents and preserve their ActivityId or request correlation alongside this result. - Capture caller token, process/session IDs, active sessions, target user, logon/logoff timing and request ID for this HRESULT. Do this before restarting the service or deleting any working directory for this HRESULT.
- Perform this one-variable comparison: specify or resolve a known active session and compare with the ambiguous invocation for this HRESULT.
- After the comparison, record the next HRESULT and whether the requested session, action, trigger or output object was actually created for this HRESULT.
The most informative neighbor is UTC_E_FAILED_TO_RESOLVE_CONTAINER_ID. The distinction is concrete: UTC_E_FAILED_TO_RESOLVE_CONTAINER_ID concerns application/container scope for this HRESULT. Keeping both symbolic names in logs prevents a broad “DiagTrack error” bucket from hiding whether the failure occurred during parsing, authorization, resource acquisition, execution or teardown for this HRESULT.
Platform-state note
Capture capability and identity state at the moment this result is returned. Session, container, service and destination state can change asynchronously, so a later successful query does not describe the failed generation for this HRESULT.
Fix the contract
Perform the operation in the intended session and handle session changes explicitly for this HRESULT. Apply that change only to the owning boundary for this HRESULT. A successful repair must make the controlled case cross this boundary while retaining the intended policy, trace providers, destination and security context for this HRESULT.
Do not treat this result as permission to bypass collection policy, script approval, path restrictions or trace arbitration for this HRESULT. A repair that only weakens those controls is not a valid regression result for this HRESULT.
- the same request now produces its documented success or nonfatal status without a second hidden retry
- the operational log shows one coherent request lifetime and no orphaned action, timer, process or trace session
- teardown followed by a second run does not reuse stale state or recreate Windows session resolution
- the nearby condition remains distinguishable: UTC_E_FAILED_TO_RESOLVE_CONTAINER_ID concerns application/container scope
Technical references
- Microsoft Open Specifications: Windows error-code registry — reference for platform capability and identity resolution while interpreting this result.
- Microsoft: Universal Telemetry Client configuration diagnosis — reference for platform capability and identity resolution while interpreting it.
- Microsoft: UniversalTelemetryClient operational-log guidance
- Microsoft: RoInitialize
Looking for a different code? Search another status or error code.