Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. nicolas.morissette_6285
    3. Best
    N
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by nicolas.morissette_6285

    • Connector to a Cloud Azure DevOps nuget feed returns (401) Unauthorized using username/password but work using PAT

      Hey there,

      I'm getting the following error when trying to access one of our https://pkgs.dev.azure.com instance feed:

      System.Net.WebException: The remote server returned an error: (401) Unauthorized.
      at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
      at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
      

      I get this error when I create the connector using my username (Username@__domain__.com) and matching password.

      If I create a personal access token (PAT) for this user on the Azure Devops cloud Instance then create a the connector using token username and the token value as password it works just fine.

      Are Username and Password not suppported for Azure DevOps cloud feed?

      It's annoying because our PAT are valid for only 1 year and it adds some PAT managing we would like to avoid.

      Thanks,

      Nicolas

      posted in Support
      N
      nicolas.morissette_6285
    • 1 / 1