Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Add NuGet Package to Azure Artifacts Feed

(0) ShareShare
ReportReport
Posted on by 170

Hello !

In order to create automatic build using Microsoft-hosted agents and Azure Pipelines we need to add the following packages to  Azure Artifacts feed:

Microsoft.Dynamics.AX.Platform.CompilerPackage

Microsoft.Dynamics.AX.Platform.DevALM.BuildXpp 

Microsoft.Dynamics.AX.Application.DevALM.BuildXpp

I've created my feed, downloaded the latest nuget.exe (5.8.1.7021) and modify the nuget.config as folowing:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="Build365" value="">xxx.pkgs.visualstudio.com/.../index.json" />
</packageSources>
</configuration>

I've installed the CredentialProvider running the powershell command:

iex "& { $(irm aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx" 

When I try to upload a large package using:

nuget.exe push -Source "Build365" -ApiKey az C:\Nuget\Microsoft.Dynamics.AX.Application.DevALM.BuildXpp.10.0.644.10015.nupkg

I'm prompted to introduce user name , password and sms code in a separate IE window (multi factor authentication)

pastedimage1611004935458v1.png

but I  get this error:

 "Response status code does not indicate success: 413 (Request Entity Too Large - Package is too large. Size limit is 524288000 bytes. (DevOps Activity ID: C6EF2193-4CC7-4CA7-90C3-7912BD4F1865))."

pastedimage1611002885303v2.png

Questions:

1 How can I pass the upload size limitation ?

2 If I try to execute the upload again, I'm not prompted any more to introduce the user name and password, it's cached. How can I force the upload to ask me again for credentials? Even If I delete the personal token that CredentialProvider creates, I'm not prompted again for credetials.

Thank you.

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,091 on at
    RE: Add NuGet Package to Azure Artifacts Feed

    Hi FlorinF,

    1. Looks like it's known issue and there is another set of nuget packages are available for 10.0.15 (version 10.0.644.10018) with reduced size. Check them from shared asset library. New package names starts with Quality update PU39.

    2. Have you checked if PAT is stored under windows credentials?

    www.top-password.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,020 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,837 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans