Skip to content

Diagnose & auth

These commands let you investigate Alteryx Server configuration, connectivity, and auth without touching any running state. All commands here are read-only.

Command What it does
ayx server diagnose startup Diagnose startup failures
ayx server diagnose logs Diagnose log configuration
ayx server diagnose network Diagnose network connectivity
ayx server diagnose tls Diagnose TLS/certificate issues
ayx server diagnose runtime-settings Diagnose RuntimeSettings.xml
ayx server auth status Show current auth posture
ayx server auth diagnose Diagnose auth configuration
ayx server auth simulate Simulate an auth flow without committing
ayx server doctor startup Structured health sweep — startup
ayx server doctor logs Structured health sweep — logs
ayx server doctor network Structured health sweep — network
ayx server doctor runtime-settings Structured health sweep — runtime settings
ayx server api status Check Gallery API reachability
ayx server api diagnose Diagnose API connectivity
ayx server api call Make a raw authenticated API call
ayx server api import-swagger Import a Swagger spec
ayx server system-info Dump system info snapshot
ayx server runtime-settings Read RuntimeSettings.xml
ayx server ayx-paths Show resolved Alteryx filesystem paths

Both cover startup, logs, network, and runtime-settings. Choose based on intent:

  • ayx server diagnose <domain> — investigate a known symptom. Focuses on root-cause evidence for that domain.
  • ayx server doctor <domain> — run a structured sweep. Good for routine checks or before a change window.

The diagnose branch also covers TLS (ayx server diagnose tls), which doctor does not.

When the Alteryx Server service fails to start or appears unhealthy:

Terminal window
ayx server diagnose startup --profile prod

Then run the doctor sweep to confirm no other issues:

Terminal window
ayx server doctor startup --profile prod

Check network connectivity from the admin host to the server:

Terminal window
ayx server diagnose network --profile prod

Investigate certificate issues:

Terminal window
ayx server diagnose tls --profile prod

Snapshot the current auth configuration:

Terminal window
ayx --output json server auth status --profile prod

Diagnose a broken auth setup (SAML, Windows auth, API key):

Terminal window
ayx server auth diagnose --profile prod

Simulate a login flow without making any actual changes — useful for validating a config before applying it:

Terminal window
ayx server auth simulate --profile prod

For SAML-specific diagnosis, use the bundled action directly:

Terminal window
ayx actions describe server.auth.saml-diagnose
ayx actions run server.auth.saml-diagnose

Check that the Gallery API is reachable and your credentials authenticate:

Terminal window
ayx server api status --profile prod

Investigate connectivity failures in detail:

Terminal window
ayx server api diagnose --profile prod

Make a raw authenticated call — useful for checking an endpoint not yet surfaced in the CLI:

Terminal window
ayx server api call --profile prod

Read the active RuntimeSettings.xml:

Terminal window
ayx server runtime-settings --profile prod

Override the default path (C:\ProgramData\Alteryx\RuntimeSettings.xml):

Terminal window
ayx server runtime-settings --path "D:\Alteryx\RuntimeSettings.xml"

Diagnose settings-related issues:

Terminal window
ayx server diagnose runtime-settings --profile prod

Show where Alteryx resolves its filesystem paths:

Terminal window
ayx server ayx-paths --profile prod

Capture a full system info bundle, typically before a support case or upgrade:

Terminal window
ayx server system-info

Output goes to system_info.json by default. Override with --output-file <path>.

All commands accept --output json as a global flag:

Terminal window
ayx --output json server auth status --profile prod

The envelope is always { ok, message, timestamp_utc, data } on success; failures also include error_code.