Skip to content

[REGRESSION]: Docker@2 "unexpected token" #21464

@pixelnix

Description

@pixelnix

New issue checklist

Task name

Docker

Breaking task version

2.264.0

Last working task version

2.263.1

Regression Description

Error in the docker task is preventing pipeline completion:

2025-11-18T17:13:51.9558320Z ##[error]Unhandled: Unexpected token .
2025-11-18T17:13:51.9566907Z ##[error]C:\azagent\A3_work_tasks\Docker_e28912f1-0114-4464-802a-a3a35437fd16\2.264.0\node_modules@azure\msal-node\lib\msal-node.cjs:48
tenantProfiles: accountEntity.tenantProfiles?.map((tenantProfile) => {

this seems to be a regression of #21351

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

windows-latest

Relevant log output

2025-11-18T17:13:51.9558320Z ##[error]Unhandled: Unexpected token .
2025-11-18T17:13:51.9566907Z ##[error]C:\azagent\A3\_work\_tasks\Docker_e28912f1-0114-4464-802a-a3a35437fd16\2.264.0\node_modules\@azure\msal-node\lib\msal-node.cjs:48
                tenantProfiles: accountEntity.tenantProfiles?.map((tenantProfile) => {

Full task logs with system.debug enabled

UNSUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 
SUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions