Closed KirillOsenkov closed 1 week ago
@embetten have you seen this before?
@rayluo any ideas?
similar issue at https://github.com/Azure/azure-cli/issues/25787 but not sure if same
I have not seen this before but @KirillOsenkov I would not expect this cred provider to even go down the silent/ WAM broker MSAL token acquisition path in an ado pipeline. We have checks to ensure it does not..
The ado pipeline credential provider scenario should really just be handing back tokens set in environment variables. (We have env variables for the build session token and variables for external endpoints ).
Are these env variables set correctly, and can you provide further logs from dotnet (-v detailed) in order to understand why/how this error shows up?
Closing. We were able to unblock by adding the NuGetAuthenticateV1 Task before any dotnet/NuGet operations in the ado pipeline.
The underlying error message is a known WAM broker limitation and was only occurring because the cred provider was trying to silent auth in a build scenario due to a misconfiguration.
We have a sporadic failure in Azure Pipelines CI:
I've seen that error also in https://github.com/microsoft/artifacts-credprovider/issues/462, but not sure if that one is the same issue.
Is there a way to know what that Winrt exception is all about?