Accessing the TeamCity NuGet feed using SSO
Answered
Hi,
We are using the internal TeamCity Server 2020.1.3 NuGet feed to publish NuGet packages.
We have successfully been able to login to the feed-in Visual Studio 2019 using a "native" TeamCity user but failed when logging on with a user autogenerated using an SSO connection to an AzureAD.
Is it possible to access the NuGet feed using an SSO-generated user?
This is the error that Visual Studio gives us:
[TeamCity] Unable to load the service index for source https://DOMAIN.com/httpAuth/app/nuget/feed/StruSoft/Test/v3/index.json
Response status code does not indicate success: 401 ().
Response status code does not indicate success: 401 ().
Please sign in to leave a comment.
Hello Jonas,
TeamCity NuGet feed does not support authentications via SSO. As mentioned in the documentation, the NuGet feed only supports basic auth (with a 'native' TeamCity user) or a guest auth if the guest user is enabled.