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.