Visual Studio 2022 Professional build issue -.net 4.8

Abhay 0 Reputation points
2025-05-09T13:18:07.64+00:00

I am using nuget of some organization. And when I am trying to run the sample Azure Function -https://github.com/Azure/azure-functions-dotnet-worker/tree/main

i am getting below error:

C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(186,5): warning : The plugin credential provider could not acquire credentials. Authentication may require manual action. Consider re-running the command with --interactive for dotnet, /p:NuGetInteractive="true" for MSBuild or removing the -NonInteractive switch for NuGet

3>Retrying 'FindPackagesByIdAsyncCore' for source 'https://artifactory.someorganization.com/artifactory/api/nuget/cit-nuget-virtual/FindPackagesById()?id='Microsoft.NET.Sdk.Functions'&semVerLevel=2.0.0'.

3>Response status code does not indicate success: 401 (Unauthorized).

However others machine its working fine. I have tried resetting Nuget Credentials and reinstalling VS 2022 still issue is there.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,242 questions
0 comments No comments
{count} votes

Your answer

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