`dotnet tool` not installing tool from private Azure DevOps artifacts repo?

Hello! Not strictly C#-related, but I'm trying to use dotnet tool install [...] to install a tool available in a private NuGet repository. Specifically, I'm trying a command like this (with the Azure DevOps credential helper installed as well):
> dotnet tool install --interactive -g --source https://pkgs.dev.azure.com/[OrganizationName]/_packaging/Gemaire/nuget/v3/index.json AzTf
aztf is not found in NuGet feeds https://pkgs.dev.azure.com/Gemaire/_packaging/[OrganizationName]/nuget/v3/index.json.

>
> dotnet tool install --interactive -g --source https://pkgs.dev.azure.com/[OrganizationName]/_packaging/Gemaire/nuget/v3/index.json AzTf
aztf is not found in NuGet feeds https://pkgs.dev.azure.com/Gemaire/_packaging/[OrganizationName]/nuget/v3/index.json.

>
However, I'm 100% sure a package with the name AzTf exists in that feed. Any idea how I'd fix this? 😅
17 Replies
Pearl (asyncmeow)
Pearl (asyncmeow)OP•2w ago
(about to leave work, but will be looking at this still since this is on my personal discord 😅 that said I won't be testing any solutions til the morning most likely)
Unknown User
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX•2w ago
If you have no further questions, please use /close to mark the forum thread as answered
Pearl (asyncmeow)
Pearl (asyncmeow)OP•2w ago
oh, oops (and i forgot to replace it in the 2nd part lmao) but - lemme double check the output there... this is the organization-scoped feed in this case - it's just named after the org
Unknown User
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
Pearl (asyncmeow)
Pearl (asyncmeow)OP•2w ago
what do you mean? the feed URL there is the one that's displayed in ADO on the 'Connect to Feed' screen and i just tested it - no luck with a non-organization-scoped feed either
Unknown User
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Mayor McCheese•2w ago
Did you look at package feed in azure devops to make sure you're using the feed correctly? Iirc you need to install a credential manager?
No description
Unknown User
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Mayor McCheese•2w ago
I think so yeah, I mention it on the off chance an error is being suppressed somehow.
Unknown User
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
Pearl (asyncmeow)
Pearl (asyncmeow)OP•2w ago
yep, views was local on it yeah, credential manager is installed
Mayor McCheese
Mayor McCheese•2w ago
I figured, but the number of times folks haven't installed the credential manager is legendary
Pearl (asyncmeow)
Pearl (asyncmeow)OP•2w ago
yep, fair
Unknown User
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
Pearl (asyncmeow)
Pearl (asyncmeow)OP•2w ago
i can double-check both in the morning
Unknown User
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?