microsoft / azure-artifacts-migration

Migration scripts to help move your packages to Azure Artifacts from other package repositories.
MIT License
13 stars 18 forks source link

Move-MyGetNuGetPackages Fails From one private Feed on Azure DevOps to another private Feed on Azure DevOps #7

Open zahidferz opened 4 years ago

zahidferz commented 4 years ago

I have Tried to move my nugget packages from one private feed(sourcefeed) stored on an Azure Devops Org (org1) , to another Private (destinationfeed) feed Organization on Azure Devops (org2) , and when i type the command

Move-MyGetNuGetPackages -SourceIndexUrl 'https://pkgs.dev.azure.com/org1/_packaging/sourcefeed/nuget/v3/index.json' -DestinationIndexUrl 'https://pkgs.dev.azure.com/org2/destinationfeed/_packaging/nuget/v3/index.json' -DestinationPAT 'xxxxxxxxxxxxxxxxxxxxxx' -DestinationFeedName ‘destinationfeed’ -SourceUsername ‘user’ -SourcePassword $password -Verbose

I get and error

I attach the error log down here error.log.txt

bqstony commented 3 years ago

I am try the same. Have you @zahidferz a solution?

lachlann562 commented 3 years ago

that sounds like it couldn't find the nuget path

zahidferz commented 3 years ago

I have to store them locally and then move it back again to the new feed . Not the better solution . But the one that it works :(