You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Could anyone advise please, how it is possible to build a successful pipeline with NuGet restore task after which a MSBuild restore task is happening. But, the task of the MSBuild is failing with an error regarding Authorization(401). Locally nuget restore works fine, by using credentials from the NuGet config, but in the pipeline task with a new service connection it always fails. Even I can use Nuget Authenticate before - which says that access is provided but then MSBuild restore will fail. I don't understand the problem lays on the token access either of correct sequence for pipeline tasks. Thank you
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. Could anyone advise please, how it is possible to build a successful pipeline with NuGet restore task after which a MSBuild restore task is happening. But, the task of the MSBuild is failing with an error regarding Authorization(401). Locally nuget restore works fine, by using credentials from the NuGet config, but in the pipeline task with a new service connection it always fails. Even I can use Nuget Authenticate before - which says that access is provided but then MSBuild restore will fail. I don't understand the problem lays on the token access either of correct sequence for pipeline tasks. Thank you
Beta Was this translation helpful? Give feedback.
All reactions