I have automatic nuget packages restore step configured and it was working fine when running TeamCity service under LocalSystem account on the Windows Server, Azure VM. I had to switch to a different account to make Azure Cloud Service publishing possible. The packages are failing to restore when the TeamCity service are running under the new account. the build logs just keep saying that the build is failing because various official packages are failing to restore:
[restore] Unable to find version 'x' of package 'xyz'.
I am using official nuget feed as well as TeamCity nuget feed with nuget feed credentials build feature configured. I believe this is configured correctly as it is working unde LocalSystem account but not when the services are running under my team city user account. The user account which TeamCity services are running under is an Administratior account. I have tried few trial and error approaches but haven't managed to get it working yet under different than LocalSystem account. Would you have any ideas about things I could try or what can be the reason the nuget restore is failing? Thanks.