When dowloading azure-functions-core-tools@4.14.0, we got some authentication error

Brian 20 Reputation points
2026-08-26T21:07:15.9966667+00:00

User's image

Why this dependancy chalk need to go to Azure "pkgs.dev.azure.com" and need authentication? This break our Azure devops build pipelines... I need to downgrade it to "4.13.0" to work around. Is it a bug or something need to be fixed from your(Azure Function Team) side?

Azure DevOps

2 answers

Sort by: Most helpful
  1. Mohammad Altaf 450 Reputation points Microsoft External Staff Moderator
    2026-08-27T16:49:43.3133333+00:00

    Hi @Brian

    Thank you for bringing this issue to our attention.

    Our analysis indicates that the authentication error is caused by a dependency reference included in Azure Functions Core Tools 4.14.0. Specifically, the chalk package is being resolved through an Azure Artifacts feed (pkgs.dev.azure.com) instead of the public npm registry. As a result, environments without access to that feed may encounter authentication failures during installation.

    Based on our findings, this behavior is related to the packaging of Azure Functions Core Tools 4.14.0 and is not caused by your Azure DevOps pipeline configuration or credentials. The issue originates from the dependency resolution path defined within the 4.14.0 package.

    The issue is already being tracked by the Azure Functions team in GitHub issue #5569. [github.com]

    Thank you!

    Was this answer helpful?

    0 comments No comments

  2. Mohammad Wasi Haider 255 Reputation points
    2026-08-27T12:00:29.41+00:00

    Hi Brian,

    This is a known packaging issue with azure-functions-core-tools@4.14.0, not a problem with your pipeline authentication. The package accidentally directs the chalk dependency to an internal Azure Artifacts feed, which causes the 401 error.

    The issue is already being tracked by the Azure Functions team in GitHub issue #5569. For now, staying on version 4.13.0 is the safest workaround until a corrected version is released.

    Thank you, and feel free to respond back for more assistance.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.