I have setup TFS 2017 in a VM, create a project and added the package feed extension. I then created a feed and a personal access token with full access.

My problem is that I cannot push a package to the feed from the command line using `nuget.exe` `3.5.0` and a personal access token. I am using the instructions found [here](https://www.visualstudio.com/en-us/docs/package/nuget/auth#personal-access-tokens) and on the feed page (2nd command below)

My commands:

```
nuget.exe sources Add -Name MyFeed -Source "http://server2016:8080/tfs/DefaultCollection/_packaging/MyFeed/nuget/v3/index.json" -Username administrator -Password x7m5hochjcf4vabp3zqeekrzi7mtbyk6at5tujdt2ny5fgienlgq
nuget.exe push -Source "MyFeed" -ApiKey VSTS C:\temp\octopack.3.4.6.nupkg
nuget.exe list -Source MyFeed

```

The output I get for both `push` and `list`:

```
Using credentials from config. UserName: administrator
Please provide credentials for: http://server2016:8080/tfs/DefaultCollection/_packaging/MyFeed/nuget/v3/index.json
UserName:

```

I tried entering the username and PAT again, but it just prompted me again.

If I use my Windows credentials (same account as the PAT) it works fine. I checked with Fiddler and the auth challenge is getting sent and responded to. The server returns a 401.

Any idea why TFS isn't accepting the PAT?