Migrate your packages from MyGet to Azure Artifacts

I recently migrated NuGet packages from a private MyGet repository to Azure DevOps Artifacts because it is actually cheaper and if you already have all your build pipelines in DevOps, why not use the artifacts too. Good thing there, you can also include the usual NuGet feeds like NuGet Gallery or npmjs, that way you only need your feed in Visual Studio or your pipelines for restoring all the packages.

So I used the guideline from Microsoft to migrate all my packages, let’s say it wasn’t as easy as I thought.

I ran into multiple issues and the Powershell module wasn’t working at all. Let’s see how I fixed it.

Continue reading “Migrate your packages from MyGet to Azure Artifacts”