Hello @Amber Cheng (BEYONDSOFT CONSULTING INC) ,
Welcome to Microsoft Q&A forum.
There are many situations that may cause this issue.
- Network Issue.
- The source doesn’t exist.
Please copy the url to the address bar of browser and try to access it. This will be helpful to exclude the above two situations.
- NuGet cache.
Please try to clean nuget cache.
Besides, please try to modify the nuget.config file like following:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="XXXXX" value=https://pkgs.dev.azure.com/YYYYY/_packaging/YYYYY/nuget/v3/index.json />
</packageSources>
<packageSourceCredentials>
<XXXXX>
<add key="Username" value="<Change this with the user name you want.>" />
<add key="ClearTextPassword" value="<Change this with the personal access token>" />
</XXXXX>
</packageSourceCredentials>
</configuration>
Please feel free to let us know if any of above methods works.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.