Troubleshoot

Last published : Dec 04, 2026

How to collect logs

Citrix Workspace app for IWA provides timestamps for the logs generated by the user device. Citrix Workspace app supports log collection for ongoing virtual desktop and app sessions.
As an end user, you can collect logs to assist with troubleshooting. Logs can be generated on both the user device and the machines. Logs can be for desktops and applications.
The logs are collected for the ongoing and later sessions until you select Stop Logging.

Logging on user devices

To enable logging:
  1. On the user device, start Citrix Workspace app and navigate to the login page.
  2. Click the settings (gear) icon on the bottom-right corner.
  3. In the Settings dialog, select Logging > Start Logging.
    Details of the collected log files are listed in the Settings dialog.
  4. Select Stop Logging to end the collection of logs on the user device.

Client logs

To collect client logs:
  1. Click the Settings (gear) icon on the bottom right of the Citrix Workspace app Sign In screen.
    Settings
  2. Click Logging > Start Logging to enable log collection.
    Logs
  3. The Start Logging field changes to Stop Logging. This change indicates that collection of logs is enabled.
    Close the Account dialog box.
  4. Sign into the Citrix Workspace app virtual desktop and launch your virtual app session and reproduce the issue to collect logs.
    Citrix Workspace app
    Continue to work on the session to reproduce the issue.
  5. Once the issue is reproduced, close the session.
  6. Click Settings again to open the Account dialog box.
  7. Select the Logging tab.
  8. The Logging dialog box shows the list of Log Files captured.
    Log files
  9. Move the mouse on top of any of the Log files. A small arrow appears at the right.
    Arrow
  10. Click the arrow to download and save a few Log files.
  11. Click Download All Logs and share it with the administrator or Citrix® support engineer.
  12. Click Stop Logging.

Enhanced log collection

Users can download Citrix Workspace™ app logs in a zip file, simplifying log retrieval and analysis for better troubleshooting and an improved user experience.
The following are the benefits of the feature:
  • Users no longer need to manually gather individual log files.
  • The streamlined process makes accessing logs more efficient.
  • Easy access to comprehensive logs aids in faster and more effective debugging.

End user experience

On the Logging screen, click Download All logs. The app gathers all relevant log files and compresses them into a zip archive. The downloaded file uses a standardized naming convention, such as CWA_CHROME_LOGS_.zip, ensuring clarity and easy identification.
Download all logs

Microsoft Teams optimization logs

Microsoft Teams optimization supports the latest shim library version 1.8.0.12.
To know the current shim version that you use:
  1. Start the Microsoft Teams application and initiate a call with one of the users.
  2. Maximize the Microsoft Teams window after the call is established.
  3. Open the On-screen keyboard inside the session and click the Ctrl + Alt + Shift + 1 keys. You can now view the log files under the downloads folder.
  4. Open the MSTeams Diagnostics Log <date><time>_vdi partner.txt file and search for the shim version under type_script. Compare the shim version with 1.8.0.12.
  5. (Optional) If the shim version isn't 1.8.0.12, contact your administrator to upgrade to the latest version.
Notes: Logging in KIOSK mode is not supported.

Shortcuts

  • The keyboard shortcut Ctrl+ Alt + Shift +1 might not work in optimized Microsoft Teams within a virtual desktop. As a workaround, open the On-Screen Keyboard and use the shortcut.

View endpoint telemetry in Citrix Director

This feature enhances the ability of admins to view endpoint telemetry data directly in Citrix Director.

Prerequisites

  • VDA version 2411 and later
  • Citrix Director

Session launch diagnostics

we've implemented an improved support process for session failures. Help desk administrators are now equipped with comprehensive insights into failure paths, allowing them to effectively triage and significantly reduce the number of support cases related to session failures.
For more information, see Session launch diagnostics in the Citrix Monitor documentation.

Always On Tracing (AOT)

Citrix Workspace app for IWA supports Always On Tracing (AOT), a modern diagnostic framework from Citrix that continuously captures relevant log data across the Citrix Virtual Apps and Desktops environment. This feature simplifies troubleshooting for IT administrators and Citrix support teams by automatically capturing log data for user sessions and system events, eliminating the need to reproduce issues.
AOT makes logs easily accessible and readable without engineering-level expertise, enabling self-service diagnostics to reduce dependency on Citrix Support and improve mean-time-to-resolution.

Benefits

AOT provides significant value to customers by:
  • Automatically capturing log data for user sessions and system events without manual intervention
  • Eliminating the need to reproduce issues since logs are continuously collected during normal operations
  • Making logs easily accessible and readable without requiring engineering-level expertise
  • Enabling self-service diagnostics to reduce dependency on Citrix Support
  • Improving mean-time-to-resolution for troubleshooting scenarios

Use cases

AOT fits into your overall experience in the following scenarios:
  • Proactive monitoring: Continuously monitor user sessions and system events to identify potential issues before they impact users
  • Rapid troubleshooting: Access comprehensive log data immediately when issues occur, without waiting for log reproduction
  • Self-service support: Enable IT administrators to diagnose and resolve common issues independently using accessible log data

Upload AOT logs to Centralized AOT Log Server

The AOT Log Server acts as a centralized destination for collecting and storing Always On Tracing (AOT) logs from various Citrix® components. It is containerized using Docker technology and is preferably deployed on Linux, though it also supports Windows environments through Docker Desktop.
Notes:
  • In this Citrix Workspace app for IWA 2511 release, AOT logs are only captured for on-premises setups without gateway in the path.
  • In Citrix Workspace app for IWA 2603, AOT log uploads to centralized log servers support both on-premises setups without a gateway and on-premises setups with a gateway in the path.

Configuration

You can disable the AOT feature by adding the following configuration. For managed devices and users, administrators can disable AOT using Google Admin Policy as follows:
  1. Sign in to the Google Admin Policy.
  2. Go to Device management > Chrome Management > User Settings.
    Note:
    You can apply this configuration to the following as well:
    • Device > Chrome > Apps and extensions > Users and browsers > Search for the extension > Policy for extensions.
    \> - Device > Chrome > Apps and extensions > Kiosks > Search for the extension > Policy for extensions.
    • Device > Chrome > Apps and extensions > Managed guest sessions > Search for the extension > Policy for extensions.
  3. Add the following strings to the policy.txt file under the engine_settings key.
    Make sure you set "enabled": false under the aot object. The following is an example of JSON data:
    {
    "settings": {
    "Value": {
    "settings_version": "1.0",
    "engine_settings": {
        "aot": {
            "enabled": false
                }
            }
        }
        }
    }

Prerequisites

This feature is available only when you open a session using:
  • Citrix Virtual Apps and Desktops™ version 2507 CU1 or later
  • Citrix Virtual Apps and Desktops™ version 2511 or later

How to configure

To configure, you must first install and configure the log server. For detailed installation and configuration steps, see Install and configure log server.
After you install the log server, the system generates a StartLogServer script in the same location. The file name is StartLogServer.bat on Windows or StartLogServer.sh on Linux.
To enable communication between Citrix Workspace app for IWA and the log server, you must configure the log server to accept the StoreFront FQDN URL by enabling Cross-Origin Resource Sharing (CORS) in the log server.
To enable CORS:
  1. If the log server is running, stop it using the following command:
docker stop logserver
  1. Add the following environment arguments to StartLogServer.bat (or StartLogServer.sh on Linux) by editing the CORS_ORIGINS parameter:
-e CORS_ORIGINS=""
Example for single URL:
-e CORS_ORIGINS="https://xyz.bvt.local;"
Example for multiple URLs:
-e CORS_ORIGINS="url1;url2;url3"
Use semicolons (;) to separate multiple URLs.
  1. Restart the log server using the command StartLogServer.bat (or StartLogServer.sh on Linux).

Logs to troubleshoot Entra ID single sign-on support for VDA with Azure AD credentials setup

This article describes the logs you can collect when SSO fails and users receive unexpected credential prompts after the session launches.
To collect logs:
  1. Collect the basic Citrix Workspace app logs. For more information, see How to collect logs.
  2. Collect the network traces for MSAL token fetch status:
    i. Open the Chrome browser and navigate to chrome://net-export/. ii. Select Start Logging to Disk and select the option Include raw bytes (will include cookies and credentials) as shown in the following screenshot. Select the file location.
    Start Logging to Disk
    iii. Start a Citrix Workspace app for IWA session to reproduce the issue and collect the traces. Select Stop logging in chrome://net-export/.
  3. Collect Citrix Diagnostic Facility (CDF) traces from the VDA for all modules and startup tracing. Follow the steps to collect a CDF trace at system startup because SSO can fail even with successful capability negotiation from Citrix Workspace app.

Known limitations

  • Citrix Workspace app for IWA doesn't support SSO for hybrid launch because it lacks in-memory ICA support.
  • If session launch takes more than 30 seconds, AAD SSO login might fail and prompt users for credentials.