Error Code: 1168

Prev Next

Issue Description

AAD only customers, when trying to create a new Desktop Pool from a template, VM provisioning failed with the following error message:

BPRT Read Credentials failure [Error Code: 1168] – Element not found

Root Cause

Workspot identified that the Broker Personal Refresh Token (BPRT) string size exceeded the maximum supported limit within the Workspot Agent.
This issue was triggered due to recent changes in Azure’s API token structure, which introduced additional properties and increased the overall token size.

The Workspot Agent was unable to handle the enlarged token within its allocated memory buffer, causing failures during Azure Active Directory (AAD) join operations.

Impact

  • VM provisioning failed when using templates containing the older Agent version.

  • Any template with an outdated Agent could not complete the AAD join, halting Desktop Pool creation.

Resolution

Workspot released a hotfix in Agent version 4.5.1 to support the increased BPRT size. The updated Agent successfully accommodates tokens up to the new size threshold.

Validation Steps

  1. Cloned the existing template.

  2. Installed Workspot Agent 4.5.1 on the cloned image.

  3. Re-attempted pool creation using the updated template.

  4. Verified successful VM provisioning and AAD join.

Current Status

  • The fix was validated and confirmed effective.

  • Workspot Agent version 4.5.1 has reached General Availability (GA).

  • Cloning templates now automatically includes the latest Agent hotfix.

  • Updating existing pools with templates containing Agent 4.5.1 or later ensures successful VM provisioning.

Recommendations

  • For new deployments: Use templates built with Workspot Agent v4.5.1 or later.

  • For existing environments: Clone the current template, and the duplicated template will automatically receive the most recent Workspot Agent and update Desktop Pools to adopt the latest Agent version.