Rider will not connect to private azure artifacts nuget feed

Rider version: 2022.3.2

OS: Windows 10 21H2

I have tried adding a username and password to the source details. IV tried restarting rider but does not pop asking of creds to login to the source. I am able to access the source using visual studio and nuget cli.
I keep on getting the following error: Unable to load the service index for source ...

Can someone please help with this?

 

1
5 comments

I also keep on getting this error: Authentication against ... was canceled by user. Specify credentials in the package source or restart the IDE to prompt for credentials again. But never get the OAuth prompt to enter my credentials.

0

Also specifying credentials in the package source does not work.

0

Hello Haridas,

Thank you for your request. Have you tried supplying a PAT as a password for the package source?

  • Open NuGet | Sources, locate the Azure feed and edit it
  • Use the email you use in Azure as a username;
  • Generate a Personal Access Token in Azure and paste it into the Password field;

Let me know if it helps. 

10

Hi Ivan,

That worked thank you.

1

Still worked for me approx two years later in 2025.
This is a Microsoft link with instructions on how to create the PAT Token
https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=Windows

1

Please sign in to leave a comment.