Skip to content

ALOpsNugetDownload@1 returning a http 404 error. #903

@JackCallaghan

Description

@JackCallaghan

Describe the bug
We are trying to use ALOpsNugetDownload@1 but are unable to get it to work. I see that the documentation hasn't been merged to the master branch so perhaps this is not ready for use yet? I followed the setup in Buildstepsv1.md in the mkdocs branch in the meantime.
I am just testing this with the MS app symbols. Are we using this correctly?

the used yaml

- task: ALOpsNugetDownload@1
  inputs:
    nuget_spec_file: $(System.DefaultWorkingDirectory)/$(Build.Repository.Name)/nuget.json
    skip_microsoft_apps: false
    pwsh: true

nuget.json

{
  "Types": [
    {
      "name": "MSSymbols",
      "deploy": false,
      "feeds": [
        {          
          "feed": "https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json",
          "dependencies": [
            {
              "id": "Microsoft.SystemApplication.GB.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f",
              "version": "27.1.41698.41776"
            },
            {
              "id": "Microsoft.BaseApplication.GB.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972",
              "version": "27.1.41698.41776"
            }                     
          ]
        }
      ]
    }
  ]
}

the output

2025-11-11T10:02:36.4384787Z ##[section]Starting: ALOpsNugetDownload
2025-11-11T10:02:36.4425052Z ==============================================================================
2025-11-11T10:02:36.4425227Z Task         : ALOps Nuget Download
2025-11-11T10:02:36.4425315Z Description  : Download BC Apps from Nuget
2025-11-11T10:02:36.4425423Z Version      : 1.473.9825
2025-11-11T10:02:36.4425505Z Author       : Hodor
2025-11-11T10:02:36.4425592Z Help         : Download BC Apps from Nuget.
2025-11-11T10:02:36.4425680Z ==============================================================================
2025-11-11T10:02:40.6921718Z *** Using Powershell 7
2025-11-11T10:02:44.5541351Z *** Importing required ALOps-Functions
2025-11-11T10:02:45.8772429Z *** Task Inputs:
2025-11-11T10:02:45.8873757Z 
2025-11-11T10:02:45.9270139Z �[32;1mname                       �[0m�[32;1m value�[0m
2025-11-11T10:02:45.9270774Z �[32;1m----                       �[0m �[32;1m-----�[0m
2025-11-11T10:02:45.9270980Z nuget_username              
2025-11-11T10:02:45.9271237Z nuget_password              
2025-11-11T10:02:45.9271430Z nuget_source_apikey         
2025-11-11T10:02:45.9271659Z nuget_spec_file             C:\agent\_work\2\s/TemplateTest/nuget.json
2025-11-11T10:02:45.9271887Z nuget_select_type_filter    
2025-11-11T10:02:45.9272101Z download_folder             C:\agent\_work\2\a
2025-11-11T10:02:45.9272307Z artifact_folder_name        Nuget
2025-11-11T10:02:45.9272508Z dependency_publisher_filter 
2025-11-11T10:02:45.9272716Z skip_microsoft_apps         False
2025-11-11T10:02:45.9272910Z pwsh                        True
2025-11-11T10:02:45.9272992Z 
2025-11-11T10:02:45.9273052Z 
2025-11-11T10:02:45.9653334Z True
2025-11-11T10:02:45.9953529Z *** For documentation, please visit   : https://www.alops.be/documentation
2025-11-11T10:02:45.9976513Z 
2025-11-11T10:02:46.8332195Z *** ALOps License:
2025-11-11T10:02:46.8410223Z   * Licensed To: ****************
2025-11-11T10:02:46.8438046Z 
2025-11-11T10:02:47.9786185Z *** Importing required Task-Functions
2025-11-11T10:02:48.2625323Z 
2025-11-11T10:02:48.3192897Z *** Loading NuGet Configuration: C:\agent\_work\2\s\TemplateTest\nuget.json
2025-11-11T10:02:48.3630377Z *** Prepare Target Folder: C:\agent\_work\2\a
2025-11-11T10:02:48.4064602Z *** Processing [1] types
2025-11-11T10:02:48.4110214Z  
2025-11-11T10:02:48.4175346Z *** Processing Feed Type: [MSSymbols]
2025-11-11T10:02:48.4304007Z   * Processing Feed: [https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json]
2025-11-11T10:02:48.4340616Z *** Download App 
2025-11-11T10:02:48.4995087Z 
2025-11-11T10:02:48.4996241Z id      : Microsoft.SystemApplication.GB.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f
2025-11-11T10:02:48.4996586Z version : 27.1.41698.41776
2025-11-11T10:02:48.4996694Z 
2025-11-11T10:02:48.4996767Z 
2025-11-11T10:02:48.5465692Z *** AppID: Microsoft.SystemApplication.GB.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f Version: 27.1.41698.41776
2025-11-11T10:02:48.5488202Z ##[command]Invoke-RestMethod -Method Get -Uri "https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json/Microsoft.SystemApplication.GB.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f/index.json"
2025-11-11T10:02:49.9824524Z ##[error]Response status code does not indicate success: 404 (Not Found).
2025-11-11T10:02:51.8075007Z *** PWSH Run Completed: 1
2025-11-11T10:02:51.9036165Z ##[section]Finishing: ALOpsNugetDownload

Expected behavior
The nuget packages to be downloaded but we receive a http 404 error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions