title: Getting 401 on (Unauthorized) error when building for an Entity Framework migration
body: <p>I'm fairly new to the world of Code First and using EF migrations. So far it's been going okay, however, when I try and create a migration:</p>
  <pre><code>dotnet ef migrations add MyMigrationName --project MyProject
  </code></pre>
  <p>I get a 401 error when the build attempts to restore nuget packages from my private Azure based Nuget Repo.</p>
  <p>It all builds fine normally, and my project has no issues getting this nuget package, only when done via entity framework migrations.</p>
  <p>I'm running the command from the Package Manager Console, and it's set to <code>Package Source: &quot;All&quot;</code>.</p>
  <p>EF tool is the latest
  Visual Studio 2019 Community
  .Net Core 3.1 projects</p>
  <p>What am I missing here? Does running the EF Migration tool from the package manager console not run under my account?</p>