Skip to content

[Bug]: Dependency Field Service Integration does not get published in container while Installing apps #1530

Closed
@louagej

Description

@louagej

AL-Go version

6.4

Describe the issue

CICD workflow is failing while Building - Installing apps

I have 3 apps in my dependencies folder that I need to install to build my app:

Image

The apps are also store in my setting file AL-Go-Settings.json

"generateDependencyArtifact": true,
"installOnlyReferencedApps": false,
"installApps": [
    "MyPTEApp\\dependencies\\Microsoft__Exclude_APIV2__*.app",
    "MyPTEApp\\dependencies\\Microsoft_Audit File Export_*.app",
    "MyPTEApp\\dependencies\\Microsoft_Field Service Integration_*.app"
  ]

The first two apps get published and installed on the BC container, but the last one doesn't

Creating Container took 491 seconds
  Copy C:\ProgramData\BcContainerHelper\Extensions\bc14037262547\4568f0ba-fe01-4e97-a050-b33f8a3eff99\Microsoft__Exclude_APIV2__25.5.30849.32044.app to D:\a\PTE-BC-MyPTEApp-BE\PTE-BC-MyPTEApp-BE\.buildartifacts\Dependencies
  _Exclude_APIV2_ version 25.5.30849.32085 is already published
  _Exclude_APIV2_ version 25.5.30849.32085 is already installed
  App Microsoft__Exclude_APIV2__25.5.30849.32044.app successfully published
  Copy C:\ProgramData\BcContainerHelper\Extensions\bc14037262547\4568f0ba-fe01-4e97-a050-b33f8a3eff99\Microsoft_Audit File Export_25.5.30849.32044.app to D:\a\PTE-BC-MyPTEApp-BE\PTE-BC-MyPTEApp-BE\.buildartifacts\Dependencies
  Audit File Export version 25.5.30849.32085 is already published
  Audit File Export version 25.5.30849.32085 is already installed
  App Microsoft_Audit File Export_25.5.30849.32044.app successfully published
  Copy C:\ProgramData\BcContainerHelper\Extensions\bc14037262547\4568f0ba-fe01-4e97-a050-b33f8a3eff99\Microsoft_Field Service Integration_25.5.30849.32044.app to D:\a\PTE-BC-MyPTEApp-BE\PTE-BC-MyPTEApp-BE\.buildartifacts\Dependencies
  Field Service Integration version 25.5.30849.32085 is already published
  Synchronizing Field Service Integration on tenant default
  No published extensions match the specified parameter values.
  Exception Script Stack Trace:
  at <ScriptBlock>, <No file>: line 74
  PowerShell Call Stack:
  at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.0.37\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 71
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.37\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 394
  at Publish-BcContainerApp, C:\ProgramData\BcContainerHelper\6.0.37\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 154
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.37\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1176
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.37\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1450
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.37\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1377
  at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.37\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1269
  at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.37\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1254
  at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v6.4\RunPipeline\RunPipeline.ps1: line 467
  at <ScriptBlock>, D:\a\_temp\60a3d403-99a4-4e37-ad22-ee2a38fe71f2.ps1: line 3
  at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v6.4\Invoke-AlGoAction.ps1: line 17
  at <ScriptBlock>, D:\a\_temp\60a3d403-99a4-4e37-ad22-ee2a38fe71f2.ps1: line 2
  at <ScriptBlock>, <No file>: line 1
  Container Free Physical Memory: 2.0Gb
  Disk C: Free 121Gb from 127Gb
  Services in container bc14037262547:
  Publish-BcContainerApp Telemetry Correlation Id: 77aaae4f-2bee-432b-8dc6-6e2a7b3d3b81

Expected behavior

Install the 3 apps:
Microsoft__Exclude_APIV2__.app",
Microsoft_Audit File Export_
.app",
Microsoft_Field Service Integration_*.app"

Steps to reproduce

  • Create an empty BC Project
  • Add the dependencies to the app.json
  • Try building app

Additional context (logs, screenshots, etc.)

I also tried the CICD without the dependencies folder and apps in my repo so that they get downloaded from the Microsoft Nuget feed, but that didn't work as well.

Metadata

Metadata

Assignees

Labels

Fix ReadyFix ReadyShippedFeature is included in the latest versionbugSomething isn't working

Type

No type

Projects

Status

✅ Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions