Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. nicolas.morissette_6285
    3. Best

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    N Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 23
    • Groups 0

    Posts

    Recent Best Controversial
    • 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