
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)
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))."
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.
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?