Closed Luukjn closed 11 months ago
Could you share the output of the latest successful build? Can you switch back to 5.0.5 or 5.0.6 and see whether this makes the error go away?
These are the last builds using 5.0.3
Against BC 22.5.59966.60711:
2023-09-22T12:44:29.1459416Z Create container build-cont.
2023-09-22T12:44:36.9337346Z BcContainerHelper is version 5.0.3
2023-09-22T12:44:36.9354553Z BcContainerHelper is not running as administrator
2023-09-22T12:44:36.9426473Z UsePsSession is False
2023-09-22T12:44:36.9464624Z Host is Microsoft Windows Server 2022 Datacenter - 10.0.20348.1970
2023-09-22T12:44:37.0662894Z Docker Client Version is 20.10.23
2023-09-22T12:44:37.0680390Z Docker Server Version is 20.10.23
2023-09-22T12:44:37.4216143Z Removing Desktop shortcuts
2023-09-22T12:44:38.0123341Z Fetching all docker images
2023-09-22T12:44:38.1208905Z Fetching all docker volumes
2023-09-22T12:44:38.5343507Z Using image mcr.microsoft.com/businesscentral:10.0.20348.1906-filesonly
2023-09-22T12:44:39.1064567Z Creating Container build-cont
2023-09-22T12:44:39.1084628Z Style: sandbox
2023-09-22T12:44:39.1102371Z Multitenant: Yes
2023-09-22T12:44:39.1118829Z Version: 22.5.59966.60711
2023-09-22T12:44:39.1147171Z Platform: 22.0.60694.0
2023-09-22T12:44:39.1170663Z Generic Tag: 1.0.2.14
2023-09-22T12:44:39.1215636Z Container OS Version: 10.0.20348.1906 (ltsc2022)
2023-09-22T12:44:39.1232181Z Host OS Version: 10.0.20348.1970 (ltsc2022)
2023-09-22T12:44:39.1336899Z Using hyperv isolation
2023-09-22T12:44:39.1383326Z Using locale nl-NL
2023-09-22T12:44:39.1588270Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2023-09-22T12:44:39.1606217Z Using license file C:\Data\BC\lic\license.bclicense
2023-09-22T12:44:39.2602853Z Additional Parameters:
2023-09-22T12:44:39.2655511Z -v C:\agent\_work\1\s\:C:\src
2023-09-22T12:44:39.2671817Z Files in C:\ProgramData\BcContainerHelper\Extensions\build-cont\my:
2023-09-22T12:44:39.2735731Z - AdditionalOutput.ps1
2023-09-22T12:44:39.2753044Z - license.bclicense
2023-09-22T12:44:39.2766590Z - MainLoop.ps1
2023-09-22T12:44:39.2782488Z - SetupVariables.ps1
2023-09-22T12:44:39.2796982Z - updatecontainerhosts.ps1
2023-09-22T12:44:39.2811070Z Creating container build-cont from image mcr.microsoft.com/businesscentral:10.0.20348.1906-filesonly
2023-09-22T12:44:39.4955338Z 6e248c6b508a2c3f535d9cc87552a77eeb1447006f5818097af843d38d26d4d1
2023-09-22T12:44:44.6941245Z Waiting for container build-cont to be ready
2023-09-22T12:44:50.2467471Z Using artifactUrl https://bcartifacts.azureedge.net/sandbox/22.5.59966.60711/nl
2023-09-22T12:44:51.3473660Z Using installer from C:\Run\210-new
2023-09-22T12:44:51.3487161Z Installing Business Central
2023-09-22T12:44:51.3498863Z Installing from artifacts
2023-09-22T12:44:51.3511044Z Copying Service Tier Files
2023-09-22T12:44:53.5778230Z c:\dl\sandbox\22.5.59966.60711\platform\ServiceTier\Program Files
2023-09-22T12:44:54.6747585Z c:\dl\sandbox\22.5.59966.60711\platform\ServiceTier\System64Folder
2023-09-22T12:44:54.6766563Z Copying PowerShell Scripts
2023-09-22T12:44:54.6780438Z c:\dl\sandbox\22.5.59966.60711\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2023-09-22T12:44:54.6792893Z c:\dl\sandbox\22.5.59966.60711\platform\WindowsPowerShellScripts\WebSearch
2023-09-22T12:44:54.6806224Z Copying Web Client Files
2023-09-22T12:45:00.4486418Z c:\dl\sandbox\22.5.59966.60711\platform\WebClient\Microsoft Dynamics NAV
2023-09-22T12:45:00.4500111Z Copying ModernDev Files
2023-09-22T12:45:00.4512163Z c:\dl\sandbox\22.5.59966.60711\platform
2023-09-22T12:45:00.4524354Z c:\dl\sandbox\22.5.59966.60711\platform\ModernDev\program files\Microsoft Dynamics NAV
2023-09-22T12:45:00.4536135Z Copying additional files
2023-09-22T12:45:00.4548127Z Copying ConfigurationPackages
2023-09-22T12:45:00.4559955Z C:\dl\sandbox\22.5.59966.60711\nl\ConfigurationPackages
2023-09-22T12:45:00.4576269Z Copying Test Assemblies
2023-09-22T12:45:00.4590425Z C:\dl\sandbox\22.5.59966.60711\platform\Test Assemblies
2023-09-22T12:45:00.4602969Z Copying Extensions
2023-09-22T12:45:01.5471510Z C:\dl\sandbox\22.5.59966.60711\nl\Extensions
2023-09-22T12:45:01.5485673Z Copying Applications
2023-09-22T12:45:03.7681793Z C:\dl\sandbox\22.5.59966.60711\platform\Applications
2023-09-22T12:45:03.7709983Z Copying Applications.NL
2023-09-22T12:45:03.7736378Z C:\dl\sandbox\22.5.59966.60711\nl\Applications.NL
2023-09-22T12:45:03.7751172Z Copying dependencies
2023-09-22T12:45:15.1678545Z Copying ReportBuilder
2023-09-22T12:45:16.2952542Z Importing PowerShell Modules
2023-09-22T12:45:16.2982219Z Skipping restore of Cronus database
2023-09-22T12:45:16.3010181Z Modifying Business Central Service Tier Config File for Docker
2023-09-22T12:45:16.3037221Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2023-09-22T12:45:16.3064004Z Installation took 25 seconds
2023-09-22T12:45:16.3089854Z Installation complete
2023-09-22T12:45:16.3106496Z Ready for connections!
2023-09-22T12:45:18.1435814Z Reading CustomSettings.config from build-cont
2023-09-22T12:45:20.8924551Z Cleanup old dotnet core assemblies
2023-09-22T12:45:22.9419148Z Build app from container.
2023-09-22T12:45:25.2882193Z Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\220\Service to assemblyProbingPath
2023-09-22T12:45:31.2047545Z Removing dotnet Framework Assemblies
2023-09-22T12:45:32.4934082Z Using Symbols Folder: C:\agent\_work\1\s\extension\.alpackages
2023-09-22T12:45:34.1088596Z Copying System.app from Container
2023-09-22T12:45:34.1340916Z Copying Microsoft_AMC Banking 365 Fundamentals_22.5.59966.60711.app from Container
2023-09-22T12:45:34.1418175Z Copying Microsoft_Any_22.5.59966.60711.app from Container
2023-09-22T12:45:34.1503859Z Copying Microsoft_API Reports - Finance_22.5.59966.60711.app from Container
2023-09-22T12:45:34.1565862Z Copying Microsoft_Application_22.5.59966.60711.app from Container
2023-09-22T12:45:34.1649744Z Copying Microsoft_Audit File Export_22.5.59966.60711.app from Container
2023-09-22T12:45:34.1740320Z Copying Microsoft_Base Application_22.5.59966.60711.app from Container
2023-09-22T12:45:34.2533208Z Copying Microsoft_Business Central Cloud Migration - Previous Release_22.5.59966.60711.app from Container
2023-09-22T12:45:34.2616133Z Copying Microsoft_Business Central Cloud Migration API_22.5.59966.60711.app from Container
2023-09-22T12:45:34.2690229Z Copying Microsoft_Business Central Intelligent Cloud_22.5.59966.60711.app from Container
2023-09-22T12:45:34.2756329Z Copying Microsoft_Company Hub_22.5.59966.60711.app from Container
2023-09-22T12:45:34.2822432Z Copying Microsoft_Contoso Coffee Demo Dataset (NL)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.2885081Z Copying Microsoft_Contoso Coffee Demo Dataset_22.5.59966.60711.app from Container
2023-09-22T12:45:34.2954187Z Copying Microsoft_Czech language (Czechia)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.3147792Z Copying Microsoft_Danish language (Denmark)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.3403015Z Copying Microsoft_Data Archive_22.5.59966.60711.app from Container
2023-09-22T12:45:34.3522754Z Copying Microsoft_Data Search_22.5.59966.60711.app from Container
2023-09-22T12:45:34.3667463Z Copying Microsoft_Digital Tax Declaration for the Netherlands_22.5.59966.60711.app from Container
2023-09-22T12:45:34.3738528Z Copying Microsoft_Dutch language (Belgium)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.3965976Z Copying Microsoft_Dutch language (Netherlands)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.4222056Z Copying Microsoft_Email - Current User Connector_22.5.59966.60711.app from Container
2023-09-22T12:45:34.4303374Z Copying Microsoft_Email - Microsoft 365 Connector_22.5.59966.60711.app from Container
2023-09-22T12:45:34.4437144Z Copying Microsoft_Email - Outlook REST API_22.5.59966.60711.app from Container
2023-09-22T12:45:34.4504382Z Copying Microsoft_Email - SMTP API_22.5.59966.60711.app from Container
2023-09-22T12:45:34.4579028Z Copying Microsoft_Email - SMTP Connector_22.5.59966.60711.app from Container
2023-09-22T12:45:34.4648392Z Copying Microsoft_English language (Australia)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.4810780Z Copying Microsoft_English language (Canada)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.4983170Z Copying Microsoft_English language (New Zealand)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.5229702Z Copying Microsoft_English language (United Kingdom)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.5383398Z Copying Microsoft_English language (United States)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.5549000Z Copying Microsoft_Error Messages with Recommendations_22.5.59966.60711.app from Container
2023-09-22T12:45:34.5639664Z Copying Microsoft_Essential Business Headlines_22.5.59966.60711.app from Container
2023-09-22T12:45:34.5747193Z Copying Microsoft_EU 3-Party Trade Purchase_22.5.59966.60711.app from Container
2023-09-22T12:45:34.5808871Z Copying Microsoft_Finnish language (Finland)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.6038439Z Copying Microsoft_French language (Belgium)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.6265802Z Copying Microsoft_French language (Canada)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.6549543Z Copying Microsoft_French language (France)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.6880471Z Copying Microsoft_French language (Switzerland)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.6982037Z Copying Microsoft_German language (Austria)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.7255928Z Copying Microsoft_German language (Germany)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.7554984Z Copying Microsoft_German language (Switzerland)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.8097786Z Copying Microsoft_Icelandic language (Iceland)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.8385678Z Copying Microsoft_Intelligent Cloud Base_22.5.59966.60711.app from Container
2023-09-22T12:45:34.8550060Z Copying Microsoft_Intrastat Core_22.5.59966.60711.app from Container
2023-09-22T12:45:34.8682584Z Copying Microsoft_Intrastat NL_22.5.59966.60711.app from Container
2023-09-22T12:45:34.8795846Z Copying Microsoft_Italian language (Italy)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.9045952Z Copying Microsoft_Italian language (Switzerland)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.9272600Z Copying Microsoft_Late Payment Prediction_22.5.59966.60711.app from Container
2023-09-22T12:45:34.9358496Z Copying Microsoft_Library Assert_22.5.59966.60711.app from Container
2023-09-22T12:45:34.9435469Z Copying Microsoft_Library Variable Storage_22.5.59966.60711.app from Container
2023-09-22T12:45:34.9514627Z Copying Microsoft_Microsoft Pay Payments_22.5.59966.60711.app from Container
2023-09-22T12:45:34.9611739Z Copying Microsoft_Norwegian language (Norway)_22.5.59966.60711.app from Container
2023-09-22T12:45:34.9878094Z Copying Microsoft_Payment Links to PayPal_22.5.59966.60711.app from Container
2023-09-22T12:45:34.9953470Z Copying Microsoft_Payment Practices_22.5.59966.60711.app from Container
2023-09-22T12:45:35.0025101Z Copying Microsoft_Performance Toolkit_22.5.59966.60711.app from Container
2023-09-22T12:45:35.0098665Z Copying Microsoft_Permissions Mock_22.5.59966.60711.app from Container
2023-09-22T12:45:35.0173133Z Copying Microsoft_Recommended Apps_22.5.59966.60711.app from Container
2023-09-22T12:45:35.0225662Z Copying Microsoft_Russian language (Russia)_22.5.59966.60711.app from Container
2023-09-22T12:45:35.0482360Z Copying Microsoft_Sales and Inventory Forecast_22.5.59966.60711.app from Container
2023-09-22T12:45:35.0625085Z Copying Microsoft_Send To Email Printer_22.5.59966.60711.app from Container
2023-09-22T12:45:35.0729915Z Copying Microsoft_Shopify Connector_22.5.59966.60711.app from Container
2023-09-22T12:45:35.0901026Z Copying Microsoft_Simplified Bank Statement Import_22.5.59966.60711.app from Container
2023-09-22T12:45:35.1001385Z Copying Microsoft_Spanish language (Mexico)_22.5.59966.60711.app from Container
2023-09-22T12:45:35.1204426Z Copying Microsoft_Spanish language (Spain)_22.5.59966.60711.app from Container
2023-09-22T12:45:35.1452935Z Copying Microsoft_Statistical Accounts_22.5.59966.60711.app from Container
2023-09-22T12:45:35.1546204Z Copying Microsoft_Swedish language (Sweden)_22.5.59966.60711.app from Container
2023-09-22T12:45:35.1776947Z Copying Microsoft_System Application_22.5.59966.60711.app from Container
2023-09-22T12:45:35.2059233Z Copying Microsoft_Test Runner_22.5.59966.60711.app from Container
2023-09-22T12:45:35.2149356Z Copying Microsoft_Troubleshoot FA Ledger Entries_22.5.59966.60711.app from Container
2023-09-22T12:45:35.2229726Z Copying Microsoft_Universal Print Integration_22.5.59966.60711.app from Container
2023-09-22T12:45:35.2299384Z Copying Microsoft_VAT Group Management_22.5.59966.60711.app from Container
2023-09-22T12:45:35.2380380Z Copying Microsoft_WorldPay Payments Standard_22.5.59966.60711.app from Container
2023-09-22T12:45:35.2444431Z Copying Microsoft__Exclude_AnonymizedDataSharing__22.5.59966.60711.app from Container
2023-09-22T12:45:35.2503916Z Copying Microsoft__Exclude_APIV1__22.5.59966.60711.app from Container
2023-09-22T12:45:35.2589817Z Copying Microsoft__Exclude_APIV2__22.5.59966.60711.app from Container
2023-09-22T12:45:35.2680222Z Copying Microsoft__Exclude_Bank Deposits_22.5.59966.60711.app from Container
2023-09-22T12:45:35.2763649Z Copying Microsoft__Exclude_Business_Events__22.5.59966.60711.app from Container
2023-09-22T12:45:35.2834400Z Copying Microsoft__Exclude_ClientAddIns__22.5.59966.60711.app from Container
2023-09-22T12:45:35.2900032Z Copying Microsoft__Exclude_Connectivity Apps_22.5.59966.60711.app from Container
2023-09-22T12:45:35.2976138Z Copying Microsoft__Exclude_Email Logging Using Graph API_22.5.59966.60711.app from Container
2023-09-22T12:45:35.3036408Z Copying Microsoft__Exclude_Master_Data_Management_22.5.59966.60711.app from Container
2023-09-22T12:45:35.3099715Z Copying Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_22.5.59966.60711.app from Container
2023-09-22T12:45:35.3160036Z Copying Microsoft__Exclude_Onboarding Signals_22.5.59966.60711.app from Container
2023-09-22T12:45:35.3217856Z Copying Microsoft__Exclude_PlanConfiguration__22.5.59966.60711.app from Container
2023-09-22T12:45:35.3265907Z Copying Microsoft__Exclude_ReportLayouts_22.5.59966.60711.app from Container
2023-09-22T12:45:35.3320491Z Copying Microsoft__Exclude_Review_General_Ledger_Entries_22.5.59966.60711.app from Container
2023-09-22T12:45:35.3405164Z Copying Microsoft__Exclude_SyncBaseApp__22.5.59966.60711.app from Container
2023-09-22T12:46:12.5659310Z INFO: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
2023-09-22T12:46:12.5738923Z Processing dependency Microsoft_Application_21.1.0.0 ()
2023-09-22T12:46:12.5860659Z Dependency App exists
2023-09-22T12:46:12.5886008Z Processing dependency Microsoft_System_15.0.0.0 ()
2023-09-22T12:46:12.6032438Z Dependency App exists
2023-09-22T12:46:15.7620221Z Compiling...
2023-09-22T12:46:15.8016492Z .\alc.exe /project:"C:\src\extension" /packagecachepath:"C:\src\extension\.alpackages" /out:"C:\src\extension\output\MyCompany_MyApp_23.10.9.16617.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /assemblyprobingpaths:"C:\Program Files\dotnet\shared","C:\ProgramData\BcContainerHelper\Extensions\build-cont\.netPackages\Service"
2023-09-22T12:46:32.7463464Z Microsoft (R) AL Compiler version 11.8.13.18663
2023-09-22T12:46:32.7489073Z Copyright (C) Microsoft Corporation. All rights reserved
2023-09-22T12:46:32.7495696Z
2023-09-22T12:46:32.7510988Z Compilation started for project 'MyApp' containing '872' files at '14:46:16.367'.
2023-09-22T12:46:32.7517467Z
...
2023-09-22T12:46:32.8022521Z
2023-09-22T12:46:32.8038707Z Compilation ended at '14:46:32.538'.
2023-09-22T12:46:32.8045657Z
2023-09-22T12:46:32.8163707Z C:\agent\_work\1\s\extension\output\MyCompany_MyApp_23.10.9.16617.app successfully created in 70 seconds
2023-09-22T12:46:32.8176047Z C:\agent\_work\1\s\extension\output\MyCompany_MyApp_23.10.9.16617.app
2023-09-22T12:46:33.2521342Z Signing the app file.
2023-09-22T12:46:33.5093145Z Copying certificate file to container
2023-09-22T12:46:36.8521999Z Downloading Signing Tools
2023-09-22T12:46:37.1073222Z Installing Signing Tools
2023-09-22T12:46:43.5464071Z Signing C:\src\extension\output\MyCompany_MyApp_23.10.9.16617.app
2023-09-22T12:46:43.7673196Z Done Adding Additional Store
2023-09-22T12:46:44.1953611Z Successfully signed: C:\src\extension\output\MyCompany_MyApp_23.10.9.16617.app
With failed signing against BC 22.5.59966.60789:
2023-09-26T07:50:03.3666828Z Create container build-cont.
2023-09-26T07:50:10.2329530Z BcContainerHelper is version 5.0.3
2023-09-26T07:50:10.2345847Z BcContainerHelper is not running as administrator
2023-09-26T07:50:10.2414849Z UsePsSession is False
2023-09-26T07:50:10.2442826Z Host is Microsoft Windows Server 2022 Datacenter - 10.0.20348.1970
2023-09-26T07:50:10.3603022Z Docker Client Version is 20.10.23
2023-09-26T07:50:10.3628540Z Docker Server Version is 20.10.23
2023-09-26T07:50:10.7133775Z Removing Desktop shortcuts
2023-09-26T07:50:11.3069386Z Fetching all docker images
2023-09-26T07:50:11.4265499Z Fetching all docker volumes
2023-09-26T07:50:11.9266301Z Using image mcr.microsoft.com/businesscentral:10.0.20348.1906-filesonly
2023-09-26T07:50:12.5431263Z Creating Container build-cont
2023-09-26T07:50:12.5453210Z Style: sandbox
2023-09-26T07:50:12.5479645Z Multitenant: Yes
2023-09-26T07:50:12.5494891Z Version: 22.5.59966.60789
2023-09-26T07:50:12.5512996Z Platform: 22.0.60783.0
2023-09-26T07:50:12.5529166Z Generic Tag: 1.0.2.14
2023-09-26T07:50:12.5609043Z Container OS Version: 10.0.20348.1906 (ltsc2022)
2023-09-26T07:50:12.5622323Z Host OS Version: 10.0.20348.1970 (ltsc2022)
2023-09-26T07:50:12.5740103Z Using hyperv isolation
2023-09-26T07:50:12.5790060Z Using locale nl-NL
2023-09-26T07:50:12.5986661Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2023-09-26T07:50:12.6002404Z Using license file C:\Data\BC\lic\license.bclicense
2023-09-26T07:50:12.6983414Z Additional Parameters:
2023-09-26T07:50:12.7019987Z -v C:\agent\_work\1\s\:C:\src
2023-09-26T07:50:12.7050003Z Files in C:\ProgramData\BcContainerHelper\Extensions\build-cont\my:
2023-09-26T07:50:12.7109653Z - AdditionalOutput.ps1
2023-09-26T07:50:12.7122035Z - license.bclicense
2023-09-26T07:50:12.7135195Z - MainLoop.ps1
2023-09-26T07:50:12.7147131Z - SetupVariables.ps1
2023-09-26T07:50:12.7159910Z - updatecontainerhosts.ps1
2023-09-26T07:50:12.7173795Z Creating container build-cont from image mcr.microsoft.com/businesscentral:10.0.20348.1906-filesonly
2023-09-26T07:50:12.9320581Z beb71bf29d8205908067cd615144f0c43bfcd8af360fe1f71e96ba1a146f900a
2023-09-26T07:50:18.4797299Z Waiting for container build-cont to be ready
2023-09-26T07:50:25.2657403Z Using artifactUrl https://bcartifacts.azureedge.net/sandbox/22.5.59966.60789/nl
2023-09-26T07:50:25.2670362Z Using installer from C:\Run\210-new
2023-09-26T07:50:25.2683271Z Installing Business Central
2023-09-26T07:50:25.2696324Z Installing from artifacts
2023-09-26T07:50:25.2710067Z Copying Service Tier Files
2023-09-26T07:50:29.6791184Z c:\dl\sandbox\22.5.59966.60789\platform\ServiceTier\Program Files
2023-09-26T07:50:29.6803247Z c:\dl\sandbox\22.5.59966.60789\platform\ServiceTier\System64Folder
2023-09-26T07:50:29.6819207Z Copying PowerShell Scripts
2023-09-26T07:50:29.6832108Z c:\dl\sandbox\22.5.59966.60789\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2023-09-26T07:50:29.6844246Z c:\dl\sandbox\22.5.59966.60789\platform\WindowsPowerShellScripts\WebSearch
2023-09-26T07:50:29.6856034Z Copying Web Client Files
2023-09-26T07:50:34.0990531Z c:\dl\sandbox\22.5.59966.60789\platform\WebClient\Microsoft Dynamics NAV
2023-09-26T07:50:34.1003698Z Copying ModernDev Files
2023-09-26T07:50:34.1019980Z c:\dl\sandbox\22.5.59966.60789\platform
2023-09-26T07:50:34.1034016Z c:\dl\sandbox\22.5.59966.60789\platform\ModernDev\program files\Microsoft Dynamics NAV
2023-09-26T07:50:34.1048490Z Copying additional files
2023-09-26T07:50:34.1062839Z Copying ConfigurationPackages
2023-09-26T07:50:34.1075225Z C:\dl\sandbox\22.5.59966.60789\nl\ConfigurationPackages
2023-09-26T07:50:34.1086808Z Copying Test Assemblies
2023-09-26T07:50:34.1099485Z C:\dl\sandbox\22.5.59966.60789\platform\Test Assemblies
2023-09-26T07:50:34.1112233Z Copying Extensions
2023-09-26T07:50:35.2033231Z C:\dl\sandbox\22.5.59966.60789\nl\Extensions
2023-09-26T07:50:35.2047185Z Copying Applications
2023-09-26T07:50:37.4885939Z C:\dl\sandbox\22.5.59966.60789\platform\Applications
2023-09-26T07:50:37.4902849Z Copying Applications.NL
2023-09-26T07:50:38.6083369Z C:\dl\sandbox\22.5.59966.60789\nl\Applications.NL
2023-09-26T07:50:38.6100323Z Copying dependencies
2023-09-26T07:50:49.9684090Z Copying ReportBuilder
2023-09-26T07:50:49.9699701Z Importing PowerShell Modules
2023-09-26T07:50:49.9714498Z Skipping restore of Cronus database
2023-09-26T07:50:49.9729266Z Modifying Business Central Service Tier Config File for Docker
2023-09-26T07:50:49.9746068Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2023-09-26T07:50:49.9760322Z Installation took 25 seconds
2023-09-26T07:50:49.9774714Z Installation complete
2023-09-26T07:50:49.9787053Z Ready for connections!
2023-09-26T07:50:51.7999986Z Reading CustomSettings.config from build-cont
2023-09-26T07:50:54.7824227Z Cleanup old dotnet core assemblies
2023-09-26T07:50:56.7659812Z Build app from container.
2023-09-26T07:50:59.0840157Z Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\220\Service to assemblyProbingPath
2023-09-26T07:51:04.4140223Z Removing dotnet Framework Assemblies
2023-09-26T07:51:05.6652115Z Using Symbols Folder: C:\agent\_work\1\s\extension\.alpackages
2023-09-26T07:51:07.3411257Z Copying System.app from Container
2023-09-26T07:51:07.3694570Z Copying Microsoft_AMC Banking 365 Fundamentals_22.5.59966.60789.app from Container
2023-09-26T07:51:07.3813033Z Copying Microsoft_Any_22.5.59966.60789.app from Container
2023-09-26T07:51:07.3929010Z Copying Microsoft_API Reports - Finance_22.5.59966.60789.app from Container
2023-09-26T07:51:07.4000395Z Copying Microsoft_Application_22.5.59966.60789.app from Container
2023-09-26T07:51:07.4098322Z Copying Microsoft_Audit File Export_22.5.59966.60789.app from Container
2023-09-26T07:51:07.4172145Z Copying Microsoft_Base Application_22.5.59966.60789.app from Container
2023-09-26T07:51:07.4932474Z Copying Microsoft_Business Central Cloud Migration - Previous Release_22.5.59966.60789.app from Container
2023-09-26T07:51:07.5050711Z Copying Microsoft_Business Central Cloud Migration API_22.5.59966.60789.app from Container
2023-09-26T07:51:07.5143411Z Copying Microsoft_Business Central Intelligent Cloud_22.5.59966.60789.app from Container
2023-09-26T07:51:07.5222049Z Copying Microsoft_Company Hub_22.5.59966.60789.app from Container
2023-09-26T07:51:07.5316051Z Copying Microsoft_Contoso Coffee Demo Dataset (NL)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.5401943Z Copying Microsoft_Contoso Coffee Demo Dataset_22.5.59966.60789.app from Container
2023-09-26T07:51:07.5526275Z Copying Microsoft_Czech language (Czechia)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.5742870Z Copying Microsoft_Danish language (Denmark)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.5940046Z Copying Microsoft_Data Archive_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6011533Z Copying Microsoft_Data Search_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6082873Z Copying Microsoft_Digital Tax Declaration for the Netherlands_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6161558Z Copying Microsoft_Dutch language (Belgium)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6357806Z Copying Microsoft_Dutch language (Netherlands)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6563687Z Copying Microsoft_Email - Current User Connector_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6614775Z Copying Microsoft_Email - Microsoft 365 Connector_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6703212Z Copying Microsoft_Email - Outlook REST API_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6780192Z Copying Microsoft_Email - SMTP API_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6849329Z Copying Microsoft_Email - SMTP Connector_22.5.59966.60789.app from Container
2023-09-26T07:51:07.6910619Z Copying Microsoft_English language (Australia)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.7076211Z Copying Microsoft_English language (Canada)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.7269105Z Copying Microsoft_English language (New Zealand)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.7413745Z Copying Microsoft_English language (United Kingdom)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.7605367Z Copying Microsoft_English language (United States)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.7847422Z Copying Microsoft_Error Messages with Recommendations_22.5.59966.60789.app from Container
2023-09-26T07:51:07.7940096Z Copying Microsoft_Essential Business Headlines_22.5.59966.60789.app from Container
2023-09-26T07:51:07.8042922Z Copying Microsoft_EU 3-Party Trade Purchase_22.5.59966.60789.app from Container
2023-09-26T07:51:07.8123245Z Copying Microsoft_Finnish language (Finland)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.8393572Z Copying Microsoft_French language (Belgium)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.8626579Z Copying Microsoft_French language (Canada)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.8912426Z Copying Microsoft_French language (France)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.9505657Z Copying Microsoft_French language (Switzerland)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.9539035Z Copying Microsoft_German language (Austria)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.9737872Z Copying Microsoft_German language (Germany)_22.5.59966.60789.app from Container
2023-09-26T07:51:07.9948581Z Copying Microsoft_German language (Switzerland)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.0499890Z Copying Microsoft_Icelandic language (Iceland)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.0733683Z Copying Microsoft_Intelligent Cloud Base_22.5.59966.60789.app from Container
2023-09-26T07:51:08.0821012Z Copying Microsoft_Intrastat Core_22.5.59966.60789.app from Container
2023-09-26T07:51:08.0906930Z Copying Microsoft_Intrastat NL_22.5.59966.60789.app from Container
2023-09-26T07:51:08.1000052Z Copying Microsoft_Italian language (Italy)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.1248175Z Copying Microsoft_Italian language (Switzerland)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.1495506Z Copying Microsoft_Late Payment Prediction_22.5.59966.60789.app from Container
2023-09-26T07:51:08.1619343Z Copying Microsoft_Library Assert_22.5.59966.60789.app from Container
2023-09-26T07:51:08.1678976Z Copying Microsoft_Library Variable Storage_22.5.59966.60789.app from Container
2023-09-26T07:51:08.1788657Z Copying Microsoft_Microsoft Pay Payments_22.5.59966.60789.app from Container
2023-09-26T07:51:08.1879720Z Copying Microsoft_Norwegian language (Norway)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2096377Z Copying Microsoft_Payment Links to PayPal_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2188514Z Copying Microsoft_Payment Practices_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2264634Z Copying Microsoft_Performance Toolkit_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2345075Z Copying Microsoft_Permissions Mock_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2422362Z Copying Microsoft_Recommended Apps_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2500517Z Copying Microsoft_Russian language (Russia)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2702890Z Copying Microsoft_Sales and Inventory Forecast_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2813719Z Copying Microsoft_Send To Email Printer_22.5.59966.60789.app from Container
2023-09-26T07:51:08.2892962Z Copying Microsoft_Shopify Connector_22.5.59966.60789.app from Container
2023-09-26T07:51:08.3051284Z Copying Microsoft_Simplified Bank Statement Import_22.5.59966.60789.app from Container
2023-09-26T07:51:08.3126604Z Copying Microsoft_Spanish language (Mexico)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.3360934Z Copying Microsoft_Spanish language (Spain)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.3593041Z Copying Microsoft_Statistical Accounts_22.5.59966.60789.app from Container
2023-09-26T07:51:08.3669936Z Copying Microsoft_Swedish language (Sweden)_22.5.59966.60789.app from Container
2023-09-26T07:51:08.3924178Z Copying Microsoft_System Application_22.5.59966.60789.app from Container
2023-09-26T07:51:08.4154739Z Copying Microsoft_Test Runner_22.5.59966.60789.app from Container
2023-09-26T07:51:08.4222288Z Copying Microsoft_Troubleshoot FA Ledger Entries_22.5.59966.60789.app from Container
2023-09-26T07:51:08.4290403Z Copying Microsoft_Universal Print Integration_22.5.59966.60789.app from Container
2023-09-26T07:51:08.4356649Z Copying Microsoft_VAT Group Management_22.5.59966.60789.app from Container
2023-09-26T07:51:08.4433232Z Copying Microsoft_WorldPay Payments Standard_22.5.59966.60789.app from Container
2023-09-26T07:51:08.4490661Z Copying Microsoft__Exclude_AnonymizedDataSharing__22.5.59966.60789.app from Container
2023-09-26T07:51:08.4576366Z Copying Microsoft__Exclude_APIV1__22.5.59966.60789.app from Container
2023-09-26T07:51:08.4656094Z Copying Microsoft__Exclude_APIV2__22.5.59966.60789.app from Container
2023-09-26T07:51:08.4755910Z Copying Microsoft__Exclude_Bank Deposits_22.5.59966.60789.app from Container
2023-09-26T07:51:08.4851390Z Copying Microsoft__Exclude_Business_Events__22.5.59966.60789.app from Container
2023-09-26T07:51:08.4944481Z Copying Microsoft__Exclude_ClientAddIns__22.5.59966.60789.app from Container
2023-09-26T07:51:08.5054673Z Copying Microsoft__Exclude_Connectivity Apps_22.5.59966.60789.app from Container
2023-09-26T07:51:08.5175381Z Copying Microsoft__Exclude_Email Logging Using Graph API_22.5.59966.60789.app from Container
2023-09-26T07:51:08.5251288Z Copying Microsoft__Exclude_Master_Data_Management_22.5.59966.60789.app from Container
2023-09-26T07:51:08.5341259Z Copying Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_22.5.59966.60789.app from Container
2023-09-26T07:51:08.5448437Z Copying Microsoft__Exclude_Onboarding Signals_22.5.59966.60789.app from Container
2023-09-26T07:51:08.5540895Z Copying Microsoft__Exclude_PlanConfiguration__22.5.59966.60789.app from Container
2023-09-26T07:51:08.5609287Z Copying Microsoft__Exclude_ReportLayouts_22.5.59966.60789.app from Container
2023-09-26T07:51:08.5685483Z Copying Microsoft__Exclude_Review_General_Ledger_Entries_22.5.59966.60789.app from Container
2023-09-26T07:51:08.5779870Z Copying Microsoft__Exclude_SyncBaseApp__22.5.59966.60789.app from Container
2023-09-26T07:51:45.2869588Z INFO: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
2023-09-26T07:51:45.2944940Z Processing dependency Microsoft_Application_21.1.0.0 ()
2023-09-26T07:51:45.3048452Z Dependency App exists
2023-09-26T07:51:45.3080633Z Processing dependency Microsoft_System_15.0.0.0 ()
2023-09-26T07:51:45.3204389Z Dependency App exists
2023-09-26T07:51:48.4227414Z Compiling...
2023-09-26T07:51:48.4671879Z .\alc.exe /project:"C:\src\extension" /packagecachepath:"C:\src\extension\.alpackages" /out:"C:\src\extension\output\MyCompany_MyApp_23.10.10.16656.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /assemblyprobingpaths:"C:\Program Files\dotnet\shared","C:\ProgramData\BcContainerHelper\Extensions\build-cont\.netPackages\Service"
2023-09-26T07:52:05.6645765Z Microsoft (R) AL Compiler version 11.8.13.18663
2023-09-26T07:52:05.6826966Z Copyright (C) Microsoft Corporation. All rights reserved
2023-09-26T07:52:05.6835678Z
2023-09-26T07:52:05.6868144Z Compilation started for project 'MyApp' containing '872' files at '09:51:49.106'.
2023-09-26T07:52:05.6879904Z
...
2023-09-26T07:52:05.7332587Z
2023-09-26T07:52:05.7343664Z Compilation ended at '09:52:05.463'.
2023-09-26T07:52:05.7348919Z
2023-09-26T07:52:05.7481312Z C:\agent\_work\1\s\extension\output\MyCompany_MyApp_23.10.10.16656.app successfully created in 69 seconds
2023-09-26T07:52:05.7494282Z C:\agent\_work\1\s\extension\output\MyCompany_MyApp_23.10.10.16656.app
2023-09-26T07:52:06.1736654Z Signing the app file.
2023-09-26T07:52:06.4440119Z Copying certificate file to container
2023-09-26T07:52:09.8523129Z Downloading Signing Tools
2023-09-26T07:52:10.0325532Z Installing Signing Tools
2023-09-26T07:52:17.4439068Z Signing C:\src\extension\output\MyCompany_MyApp_23.10.10.16656.app
2023-09-26T07:52:17.7311255Z Done Adding Additional Store
2023-09-26T07:52:17.7475003Z
2023-09-26T07:52:17.8280434Z ##[error]SignTool Error: This file format cannot be signed because it is not recognized.
SignTool Error: An error occurred while attempting to sign: C:\src\extension\output\MyCompany_MyApp_23.10.10.16656.app
2023-09-26T07:52:17.8293028Z Number of errors: 1
2023-09-26T07:52:17.8293120Z
Many things happened since 5.0.3 - could you retry the build on 5.0.4, 5.0.5 and 5.0.6 to see when the problem with the build occurs?
The builds start failing from BcContainerHelper 5.0.4. I did notice something in the logs that might help. In the builds that fail I noticed the following:
2023-09-26T11:02:47.5428972Z Creating Container user winrm
This is not present in the builds that succeed (5.0.3).
Okay, our builds are running again. We installed the latest version of BcContainerHelper (5.07) and now build against the latest BC image (23.0.12034.12824) and everything works again
2023-10-02T14:22:13.8097080Z Create container build-cont.
2023-10-02T14:22:21.4040151Z BcContainerHelper is version 5.0.7
2023-10-02T14:22:21.4064179Z BcContainerHelper is not running as administrator
2023-10-02T14:22:21.4098522Z UsePsSession is True
2023-10-02T14:22:21.4127657Z Host is Microsoft Windows Server 2022 Datacenter - 10.0.20348.1970
2023-10-02T14:22:21.5242853Z Docker Client Version is 24.0.6
2023-10-02T14:22:21.5260756Z Docker Server Version is 24.0.6
2023-10-02T14:22:21.8752284Z Removing Desktop shortcuts
2023-10-02T14:22:21.9811368Z Downloading artifact /sandbox/23.0.12034.12824/nl
2023-10-02T14:22:22.0047153Z Downloading C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\5feb6b7c-3167-4523-864b-70e7ae8cd20a.zip
2023-10-02T14:22:22.0172683Z Downloading using WebClient
2023-10-02T14:23:03.9071520Z Unpacking artifact to tmp folder using Expand-Archive
2023-10-02T14:23:13.8285448Z Downloading platform artifact /sandbox/23.0.12034.12824/platform
2023-10-02T14:23:13.8381450Z Downloading C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\4e87635e-a26a-4040-8686-35bd018392ca.zip
2023-10-02T14:23:13.8409847Z Downloading using WebClient
2023-10-02T14:23:56.6086902Z Unpacking platform artifact to tmp folder using Expand-Archive
2023-10-02T14:24:25.2989368Z Downloading Prerequisite Components
2023-10-02T14:24:25.3138083Z Downloading c:\bcartifacts.cache\sandbox\23.0.12034.12824\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
2023-10-02T14:24:25.3163507Z Downloading using WebClient
2023-10-02T14:24:25.6386503Z Downloading c:\bcartifacts.cache\sandbox\23.0.12034.12824\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
2023-10-02T14:24:25.6411059Z Downloading using WebClient
2023-10-02T14:24:28.6074474Z Fetching all docker images
2023-10-02T14:24:28.7144345Z Fetching all docker volumes
2023-10-02T14:24:29.9637209Z Using image mcr.microsoft.com/businesscentral:10.0.20348.1906-filesonly
2023-10-02T14:24:30.5525506Z Creating Container build-cont
2023-10-02T14:24:30.5545733Z Style: sandbox
2023-10-02T14:24:30.5565840Z Multitenant: Yes
2023-10-02T14:24:30.5595675Z Version: 23.0.12034.12824
2023-10-02T14:24:30.5625083Z Platform: 23.0.12789.0
2023-10-02T14:24:30.5651237Z Generic Tag: 1.0.2.14
2023-10-02T14:24:30.5678274Z Container OS Version: 10.0.20348.1906 (ltsc2022)
2023-10-02T14:24:30.5712839Z Host OS Version: 10.0.20348.1970 (ltsc2022)
2023-10-02T14:24:30.5787055Z Using hyperv isolation
2023-10-02T14:24:30.5835036Z Using locale nl-NL
2023-10-02T14:24:30.5885957Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2023-10-02T14:24:30.5989276Z Using license file C:\Data\BC\lic\license.bclicense
2023-10-02T14:24:30.9339211Z Additional Parameters:
2023-10-02T14:24:30.9388653Z -v C:\agent\_work\1\s\:C:\src
2023-10-02T14:24:30.9449364Z Files in C:\ProgramData\BcContainerHelper\Extensions\build-cont\my:
2023-10-02T14:24:30.9514689Z - AdditionalOutput.ps1
2023-10-02T14:24:30.9528195Z - license.bclicense
2023-10-02T14:24:30.9545838Z - MainLoop.ps1
2023-10-02T14:24:30.9558501Z - SetupVariables.ps1
2023-10-02T14:24:30.9569696Z - updatecontainerhosts.ps1
2023-10-02T14:24:30.9582314Z Creating container build-cont from image mcr.microsoft.com/businesscentral:10.0.20348.1906-filesonly
2023-10-02T14:24:31.4302030Z 2679a7d8bff429ee196ef4faff7b97d574f25498fcbc42e289fcd0faeef7651e
2023-10-02T14:24:36.8670830Z Waiting for container build-cont to be ready
2023-10-02T14:24:43.5174027Z Using artifactUrl https://bcartifacts.azureedge.net/sandbox/23.0.12034.12824/nl
2023-10-02T14:24:43.5189007Z Using installer from C:\Run\210-new
2023-10-02T14:24:43.5201483Z Installing Business Central
2023-10-02T14:24:43.5216125Z Installing from artifacts
2023-10-02T14:24:43.5231654Z Copying Service Tier Files
2023-10-02T14:24:46.8189595Z c:\dl\sandbox\23.0.12034.12824\platform\ServiceTier\Program Files
2023-10-02T14:24:46.8205431Z c:\dl\sandbox\23.0.12034.12824\platform\ServiceTier\System64Folder
2023-10-02T14:24:46.8221984Z Copying PowerShell Scripts
2023-10-02T14:24:46.8235428Z c:\dl\sandbox\23.0.12034.12824\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2023-10-02T14:24:46.8248896Z c:\dl\sandbox\23.0.12034.12824\platform\WindowsPowerShellScripts\WebSearch
2023-10-02T14:24:46.8261602Z Copying Web Client Files
2023-10-02T14:24:51.2397535Z c:\dl\sandbox\23.0.12034.12824\platform\WebClient\Microsoft Dynamics NAV
2023-10-02T14:24:51.2408615Z Copying ModernDev Files
2023-10-02T14:24:51.2420100Z c:\dl\sandbox\23.0.12034.12824\platform
2023-10-02T14:24:51.2430365Z c:\dl\sandbox\23.0.12034.12824\platform\ModernDev\program files\Microsoft Dynamics NAV
2023-10-02T14:24:51.2440659Z Copying additional files
2023-10-02T14:24:51.2450888Z Copying ConfigurationPackages
2023-10-02T14:24:52.3490619Z C:\dl\sandbox\23.0.12034.12824\nl\ConfigurationPackages
2023-10-02T14:24:52.3504594Z Copying Test Assemblies
2023-10-02T14:24:52.3519742Z C:\dl\sandbox\23.0.12034.12824\platform\Test Assemblies
2023-10-02T14:24:52.3532664Z Copying Extensions
2023-10-02T14:24:54.5667776Z C:\dl\sandbox\23.0.12034.12824\nl\Extensions
2023-10-02T14:24:54.5682471Z Copying Applications
2023-10-02T14:24:55.6670669Z C:\dl\sandbox\23.0.12034.12824\platform\Applications
2023-10-02T14:24:55.6686240Z Copying Applications.NL
2023-10-02T14:24:56.7653622Z C:\dl\sandbox\23.0.12034.12824\nl\Applications.NL
2023-10-02T14:24:56.7669782Z Copying dependencies
2023-10-02T14:25:08.0992540Z Copying ReportBuilder
2023-10-02T14:25:08.1004859Z Importing PowerShell Modules
2023-10-02T14:25:08.1016150Z Skipping restore of Cronus database
2023-10-02T14:25:08.1027475Z Modifying Business Central Service Tier Config File for Docker
2023-10-02T14:25:08.1039330Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2023-10-02T14:25:08.1051295Z Installation took 25 seconds
2023-10-02T14:25:08.1062824Z Installation complete
2023-10-02T14:25:08.1074467Z Ready for connections!
2023-10-02T14:25:13.0906737Z
2023-10-02T14:25:13.0931094Z Creating Container user winrm
2023-10-02T14:25:15.4709550Z Reading CustomSettings.config from build-cont
2023-10-02T14:25:16.2558965Z Cleanup old dotnet core assemblies
2023-10-02T14:25:17.8243203Z Build app from container.
2023-10-02T14:25:18.8349221Z Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\230\Service to assemblyProbingPath
2023-10-02T14:25:26.9055208Z Removing dotnet Framework Assemblies
2023-10-02T14:25:27.6989878Z Using Symbols Folder: C:\agent\_work\1\s\extension\.alpackages
2023-10-02T14:25:29.0875762Z Copying System.app from Container
2023-10-02T14:25:29.0905119Z Copying Microsoft_AMC Banking 365 Fundamentals_23.0.12034.12824.app from Container
2023-10-02T14:25:29.0929794Z Copying Microsoft_Any_23.0.12034.12824.app from Container
2023-10-02T14:25:29.0966884Z Copying Microsoft_API - Cross Environment Intercompany_23.0.12034.12824.app from Container
2023-10-02T14:25:29.0982395Z Copying Microsoft_API Reports - Finance_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1001462Z Copying Microsoft_Application_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1019662Z Copying Microsoft_Audit File Export_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1033730Z Copying Microsoft_Base Application_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1046302Z Copying Microsoft_Business Central Cloud Migration - Previous Release_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1060711Z Copying Microsoft_Business Central Cloud Migration API_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1075198Z Copying Microsoft_Business Central Intelligent Cloud_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1089142Z Copying Microsoft_Company Hub_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1102080Z Copying Microsoft_Contoso Coffee Demo Dataset (NL)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1113259Z Copying Microsoft_Contoso Coffee Demo Dataset_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1125388Z Copying Microsoft_Czech language (Czechia)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1136965Z Copying Microsoft_Danish language (Denmark)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1148267Z Copying Microsoft_Data Archive_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1159955Z Copying Microsoft_Data Search_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1171414Z Copying Microsoft_Digital Tax Declaration for the Netherlands_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1253548Z Copying Microsoft_Dutch language (Belgium)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1259765Z Copying Microsoft_Dutch language (Netherlands)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1261260Z Copying Microsoft_E-Document Core_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1263594Z Copying Microsoft_Email - Current User Connector_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1264412Z Copying Microsoft_Email - Microsoft 365 Connector_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1265163Z Copying Microsoft_Email - Outlook REST API_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1265881Z Copying Microsoft_Email - SMTP API_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1269207Z Copying Microsoft_Email - SMTP Connector_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1273405Z Copying Microsoft_English language (Australia)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1286695Z Copying Microsoft_English language (Canada)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1298191Z Copying Microsoft_English language (New Zealand)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1310491Z Copying Microsoft_English language (United Kingdom)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1321896Z Copying Microsoft_English language (United States)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1333029Z Copying Microsoft_Error Messages with Recommendations_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1344994Z Copying Microsoft_Essential Business Headlines_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1356636Z Copying Microsoft_EU 3-Party Trade Purchase_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1367199Z Copying Microsoft_Finnish language (Finland)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1378135Z Copying Microsoft_French language (Belgium)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1389291Z Copying Microsoft_French language (Canada)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1399595Z Copying Microsoft_French language (France)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1410282Z Copying Microsoft_French language (Switzerland)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1420612Z Copying Microsoft_German language (Austria)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1431153Z Copying Microsoft_German language (Germany)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1442219Z Copying Microsoft_German language (Switzerland)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1452750Z Copying Microsoft_Icelandic language (Iceland)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1463132Z Copying Microsoft_Intelligent Cloud Base_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1473606Z Copying Microsoft_Intrastat Core_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1484162Z Copying Microsoft_Intrastat NL_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1494085Z Copying Microsoft_Italian language (Italy)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1505109Z Copying Microsoft_Italian language (Switzerland)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1515904Z Copying Microsoft_Late Payment Prediction_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1526098Z Copying Microsoft_Library Assert_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1536651Z Copying Microsoft_Library Variable Storage_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1548051Z Copying Microsoft_Microsoft Pay Payments_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1558986Z Copying Microsoft_Norwegian language (Norway)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1569691Z Copying Microsoft_Payment Links to PayPal_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1580330Z Copying Microsoft_Payment Practices_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1590661Z Copying Microsoft_Performance Toolkit_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1601080Z Copying Microsoft_Permissions Mock_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1611565Z Copying Microsoft_Recommended Apps_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1622796Z Copying Microsoft_Russian language (Russia)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1634032Z Copying Microsoft_Sales and Inventory Forecast_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1648297Z Copying Microsoft_Send To Email Printer_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1671027Z Copying Microsoft_Shopify Connector_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1685768Z Copying Microsoft_Simplified Bank Statement Import_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1692884Z Copying Microsoft_Spanish language (Mexico)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1708567Z Copying Microsoft_Spanish language (Spain)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1722569Z Copying Microsoft_Statistical Accounts_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1742408Z Copying Microsoft_Swedish language (Sweden)_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1762555Z Copying Microsoft_System Application_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1765143Z Copying Microsoft_Test Runner_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1765922Z Copying Microsoft_Troubleshoot FA Ledger Entries_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1771352Z Copying Microsoft_Universal Print Integration_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1781372Z Copying Microsoft_VAT Group Management_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1791304Z Copying Microsoft_WorldPay Payments Standard_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1801192Z Copying Microsoft__Exclude_APIV1__23.0.12034.12824.app from Container
2023-10-02T14:25:29.1811400Z Copying Microsoft__Exclude_APIV2__23.0.12034.12824.app from Container
2023-10-02T14:25:29.1821375Z Copying Microsoft__Exclude_Bank Deposits_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1831256Z Copying Microsoft__Exclude_Business_Events__23.0.12034.12824.app from Container
2023-10-02T14:25:29.1841579Z Copying Microsoft__Exclude_ClientAddIns__23.0.12034.12824.app from Container
2023-10-02T14:25:29.1851491Z Copying Microsoft__Exclude_Connectivity Apps_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1863868Z Copying Microsoft__Exclude_Email Logging Using Graph API_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1874835Z Copying Microsoft__Exclude_Master_Data_Management_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1890095Z Copying Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1895312Z Copying Microsoft__Exclude_Onboarding Signals_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1905980Z Copying Microsoft__Exclude_PlanConfiguration__23.0.12034.12824.app from Container
2023-10-02T14:25:29.1915608Z Copying Microsoft__Exclude_ReportLayouts_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1926344Z Copying Microsoft__Exclude_Review_General_Ledger_Entries_23.0.12034.12824.app from Container
2023-10-02T14:25:29.1936052Z Copying Microsoft__Exclude_SyncBaseApp__23.0.12034.12824.app from Container
2023-10-02T14:26:11.3477852Z INFO: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
2023-10-02T14:26:11.3565140Z Processing dependency Microsoft_Application_22.5.0.0 ()
2023-10-02T14:26:11.3674245Z Dependency App exists
2023-10-02T14:26:11.3694389Z Processing dependency Microsoft_System_15.0.0.0 ()
2023-10-02T14:26:11.3918996Z Dependency App exists
2023-10-02T14:26:12.0890072Z Compiling...
2023-10-02T14:26:12.0919516Z .\alc.exe /project:"C:\src\extension" /packagecachepath:"C:\src\extension\.alpackages" /out:"C:\src\extension\output\MyCompany_MyApp_23.10.14.16879.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /BuildBy:"BcContainerHelper,5.0.7" /assemblyprobingpaths:"C:\Program Files\dotnet\shared","C:\ProgramData\BcContainerHelper\Extensions\build-cont\.netPackages\Service"
2023-10-02T14:26:28.5966774Z Microsoft (R) AL Compiler version 12.0.13.23827
2023-10-02T14:26:28.6001874Z Copyright (C) Microsoft Corporation. All rights reserved
2023-10-02T14:26:28.6007939Z
2023-10-02T14:26:28.6027277Z Compilation started for project 'MyApp' containing '872' files at '16:26:12.276'.
2023-10-02T14:26:28.6040956Z
...
2023-10-02T14:26:28.7159009Z
2023-10-02T14:26:28.7172813Z Compilation ended at '16:26:28.448'.
2023-10-02T14:26:28.7177673Z
2023-10-02T14:26:28.7389001Z C:\agent\_work\1\s\extension\output\MyCompany_MyApp_23.10.14.16879.app successfully created in 71 seconds
2023-10-02T14:26:28.7403908Z C:\agent\_work\1\s\extension\output\MyCompany_MyApp_23.10.14.16879.app
2023-10-02T14:26:29.1538238Z Signing the app file.
2023-10-02T14:26:29.4709326Z Copying certificate file to container
2023-10-02T14:26:32.8612403Z Downloading vcredist_x64 (version 140)
2023-10-02T14:26:33.7069291Z Installing vcredist_x64 (version 140)
2023-10-02T14:26:40.3609799Z Downloading Signing Tools
2023-10-02T14:26:40.5126481Z Installing Signing Tools
2023-10-02T14:26:45.6769946Z Signing C:\src\extension\output\MyCompany_MyApp_23.10.14.16879.app
2023-10-02T14:26:45.8849184Z Done Adding Additional Store
2023-10-02T14:26:46.3054792Z Successfully signed: C:\src\extension\output\MyCompany_MyApp_23.10.14.16879.app
I finally figured out what the actual problem was. Our pipeline agent service was not running as 'local system', now that I have set the service to run as 'local system' the pipelines run normally again.
Describe the issue We had the same error in our build pipeline as in #3190 so we updated to 5.0.7-preview1704. However now we get the following error when we try to build our app in our pipeline:
Scripts used to create container and cause the issue
Full output of scripts
Additional context