web
You’re offline. This is a read only version of the page.
close
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

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.

I have the same question (0)
  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans