When trying to push a newly created nuget package to Azure Artifacts it failed with the following error message:
“Failed to process request. ‘Method not allowed’.”
Here is the exact command I tried to execute:
nuget.exe push –Source “Sample Source” –ApiKey AzureDevOps Example.1.0.nupkg
The problem turned out to be related to the nuget.exe version I was using. It was still an old(er) version.
After downloading the latest version(https://dist.nuget.org/win-x86-commandline/latest/nuget.exe) and re-executing the same command it worked as expected.