microsoft / AL-Go

The plug-and-play DevOps solution for Business Central app development on GitHub
MIT License
291 stars 123 forks source link

Deployment to the sandbox environment failed with the error message: "underlying connection was closed." #1086

Closed donah001 closed 1 week ago

donah001 commented 5 months ago

Hi team,

I'm deploying to the sandbox environment and have noticed that the first deployment attempt often fails with the error message "underlying connection was closed." Unfortunately, this issue causes the pipeline to uninstall the existing extension in the environment.

Can anyone explain why this error occurs? Also, is it possible to configure the system to reinstall the previous extension or automatically relaunch the pipeline whenever a deployment fails?

Any help would be appreciated.

image

Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
Downloading BcContainerHelper latest version from Blob Storage
Import from C:\ProgramData\BcContainerHelper\6.0.17\BcContainerHelper\BcContainerHelper.ps1
BcContainerHelper version 6.0.17
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 5.1.20348.2400
project '*'
Apps to deploy
D:\a\alairhomebc\alairhomebc\.artifacts\alairhomebc-main-Apps-1.7.18.0

Publishing apps using development endpoint
InstalledApps:
- de0ad312-13dc-48bc-9aa4-eec46e388ee0 AL Compiler and Interpreter 1.0.0.240 'Global' True Hougaard
- e9edf932-2e03-479e-977f-289a0f6d32d1 Alair CCP Data 1.0.0.2 ' PTE' True E Foqus Canada
- 21e85f25-b30a-4ad8-8668-27547d08d8d0 Alair Data Tool 1.0.0.3 ' PTE' True Alairhomes
- ea1add5a-420e-44cc-a46e-a3e1838f9955 Alair Homes 1.7.17.0 ' Dev' True E Foqus Canada
- 16319982-4995-4fb1-8fb2-2b1e13773e3b AMC Banking 365 Fundamentals 23.5.16502.16887 'Global' True Microsoft
- a190e87b-2f59-4e14-a727-421877802768 API - Cross Environment Intercompany 23.5.16502.19413 'Global' True Microsoft
- a2cc2ef8-949f-43d4-45b8-10bd6f8bc62c API Reports - Finance 23.5.16502.16887 'Global' True Microsoft
- a57b1fea-4287-438b-9e1f-8a7be9e4efc6 App Licensing 106.0.23.0 'Global' True Softera Baltic
- c1335042-3002-4257-bf8a-75c898ccb1b8 Application 23.5.16502.16887 'Global' True Microsoft
- a41b0c3e-bf1c-4c97-ad1b-b430a3933ada Audit File Export 23.5.16502.16887 'Global' True Microsoft
- 63c9fbe6-d4f3-458c-8c25-644c90a0874a Bank Account Reconciliation With AI 23.5.16502.16887 'Global' True Microsoft
- 7f42e1a0-b773-4a1c-8614-d4ba20aed398 Bank of Canada 1.0.0.9 'Global' True E Foqus Canada Inc.
- 74689c09-2ed3-4e69-a2e8-c9310a271b9a Bankfeed - Bank Statement Import & Reconciliation 23.0.19.6 'Global' True Softera Baltic
- 8051ee19-8246-489f-9f2c-4d89e1710f7e Bankfeed - Core 219.6.23.0 'Global' True Softera Baltic
- a6c4f59a-958a-474b-b4f9-c0dcf2a4fa5e Bankfeed - Data Generator 219.6.23.0 'Global' True Softera Baltic
- c894826f-70d2-45c4-9d48-162807e61881 Bankfeed - Docura Bank Data Provider 219.6.23.0 'Global' True Softera Baltic
- e6b85eec-4003-4b2d-b46a-7911f0738bf7 Bankfeed - Plaid Bank Data Provider 219.6.23.0 'Global' True Softera Baltic
- 437dbf0e-84ff-417a-965d-ed2bb9650972 Base Application 23.5.16502.19562 'Global' True Microsoft
- 09cf1442-5df6-44e5-91df-681f80802a55 BCCL 2.22.0.267 'Global' True Hougaard
- 6992416f-3f39-4d3c-8242-3fff61350bea Business Central Cloud Migration - Previous Release 23.5.16502.16887 'Global' True Microsoft
- 3cb4ddcd-36ed-4043-8194-b40efdb46165 Business Central Cloud Migration - Previous Release (CA) 23.5.16502.16887 'Global' True Microsoft
- 57623bfa-0559-4bc2-ae1c-0979c29fc8d1 Business Central Cloud Migration API 23.5.16502.16887 'Global' True Microsoft
- 334ef79e-547e-4631-8ba1-7a7f18e14de6 Business Central Intelligent Cloud 23.5.16502.16887 'Global' True Microsoft
- 30828ce4-53e3-407f-ba80-13ce8d79d110 Ceridian Payroll 23.5.16502.16887 'Global' True Microsoft
- c512d720-63b9-4b26-b062-a0c09b4ed322 Company Hub 23.5.16502.16887 'Global' True Microsoft
- 5a0b41e9-7a42-4123-d[52](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:54)1-2265186cfb31 Contoso Coffee Demo Dataset 23.5.16502.16887 'Global' True Microsoft
- 5b0b41a1-7b42-3113-a521-2265186cfb33 Contoso Coffee Demo Dataset (CA) 23.5.16502.16887 'Global' True Microsoft
- 7819d79d-feea-4f09-bbed-5bbaca4bf323 Data Archive 23.5.16502.16887 'Global' True Microsoft
- ac14293f-1eb7-4a7b-9936-b280da31970b Data Search 23.5.16502.16887 'Global' True Microsoft
- ea2add4a-[53](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:55)0e-44cc-a46e-c3c1838f7855 DesignerFields 1.0.0.0 ' PTE' True E Foqus Canada
- adc18994-073b-4840-a144-2a5e3a0d9d1e DIOT - Localization for Mexico 23.5.16502.16887 'Global' True Microsoft
- 7c7d97ca-3598-40f5-b263-f713f49bd2a5 Dynamics GP Historical Data 23.5.16502.16887 'Global' True Microsoft
- feeb3504-556e-4790-b28d-a2b9ce302d81 Dynamics GP Intelligent Cloud 23.5.16502.16887 'Global' True Microsoft
- e1d97edc-c239-46b4-8d84-6368bdf67c8b E-Document Core 23.5.16502.16887 'Global' True Microsoft
- d852a468-263e-49e5-bfda-f09e33342b89 E-Documents Connector with External Endpoints 23.5.16502.16887 'Global' True Microsoft
- 08d69832-9231-429e-be2c-8bab2c96905b Email - Current User Connector 23.5.16502.16887 'Global' True Microsoft
- aceb66c8-472e-437c-81d3-27e6c07d0f14 Email - Microsoft 365 Connector 23.5.16502.16887 'Global' True Microsoft
- e6328152-bb29-4664-9dae-3bc7eaae1fd8 Email - Outlook REST API 23.5.16502.16887 'Global' True Microsoft
- 8fc50dfb-d338-4fd9-9499-5e44cc8cbf50 Email - SMTP API 23.5.16502.16887 'Global' True Microsoft
- 68e13fa3-217a-4be0-9141-99e5bf0ca818 Email - SMTP Connector 23.5.16502.16887 'Global' True Microsoft
- e2ae191d-8829-44c3-a373-3749a2742d4e Enforced Digital Vouchers 23.5.16502.16887 'Global' True Microsoft
- e2743298-9ccb-49cd-9d8e-4b2d1ab91d36 Envestnet Yodlee Bank Feeds 23.5.16502.18664 'Global' True Microsoft
- 64c9d5e2-7744-4866-bc0e-5ebc2898e651 Error Messages with Recommendations 23.5.16502.16887 'Global' True Microsoft
- 2a89f298-7ffd-44a5-a7ce-e08dac98abce Essential Business Headlines 23.5.16502.16887 'Global' True Microsoft
- 479e77f3-031a-49fe-bb6a-314464c6a9a8 G/L Source Names 19.0.42.0 'Global' True Objects4NAV
- e868ad92-21b8-4e08-af2b-8975a8b06e04 Image Analyzer 23.5.16502.16887 'Global' True Microsoft
- bc45ae22-3b5b-44b5-beb4-2a42bf79cc34 Import of QuickBooks Payroll Files 23.5.16502.16887 'Global' True Microsoft
- 58623bfa-0559-4bc2-ae1c-0979c29fd9e0 Intelligent Cloud Base 23.5.16502.16887 'Global' True Microsoft
- 3d5b2137-efeb-4014-8489-41d37f8fd4c3 Late Payment Prediction 23.5.16502.16887 'Global' True Microsoft
- 1b80b577-772f-4e0f-bc13-50214fb3da6e Migration of QuickBooks Data 23.5.16502.16887 'Global' True Microsoft
- d09fa965-9a2a-424d-b704-69f3b[54](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:56)ed0ce Payment Links to PayPal 23.5.16502.16887 'Global' True Microsoft
- 64977288-facd-4b48-aaaa-bb0e288edfb3 Payment Practices 23.5.16502.16887 'Global' True Microsoft
- 6ba99025-acf4-4bc4-9067-3f45ae9dba49 QB Staging tables 1.0.0.2 ' PTE' True E Foqus Canada
- a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8 Recommended Apps 23.5.16502.16887 'Global' True Microsoft
- 87990153-0e35-4e5d-ba61-2e93077d1699 Review General Ledger Entries 23.5.16502.16887 'Global' True Microsoft
- 2cd7a9[55](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:57)-fdab-4b28-a485-d427143dcfff Sage Staging Tables 1.0.0.7 ' PTE' True E Foqus Canada
- c526b3e9-b8ca-4683-81ba-fcd5f6b1472a Sales and Inventory Forecast 23.5.16502.16887 'Global' True Microsoft
- e97bbbc7-16b6-470b-9428-376baa778970 Send remittance advice by email 23.5.16502.16887 'Global' True Microsoft
- 8c972[57](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:59)8-fe72-4aa5-ae51-cc5575fef2ea Send To Email Printer 23.5.16502.16887 'Global' True Microsoft
- 23ebd065-b289-4a68-85e3-b8410e360157 SharePoint Connector 5.0.0.308 'Global' True hougaard.com
- ec255f57-31d0-4ca2-b751-f2fa7c745abb Shopify Connector 23.5.16502.16887 'Global' True Microsoft
- 79b1a79a-2f66-4736-bc1b-8abb3537eb51 Simplified Bank Statement Import 23.5.16502.16887 'Global' True Microsoft
- 36448715-3331-4b7e-ba16-824f90[58](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:60)f9e1 Softera Baltic Common Functions 106.0.22.0 'Global' True Softera Baltic
- ea130081-c669-4[60](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:62)f-a5f4-5dde14f03131 Statistical Accounts 23.5.16502.16887 'Global' True Microsoft
- 63ca2fa4-4f03-4f2b-a480-172fef340d3f System Application 23.5.16502.17067 'Global' True Microsoft
- fe7b0b6a-e183-4606-882d-6adff0ce9401 ToolBox 1.0.0.240 'Global' True Hougaard
- 79[61](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:63)e9dc-a8e5-49b1-839b-3a78803a4cb8 Troubleshoot FA Ledger Entries 23.5.16502.16887 'Global' True Microsoft
- 2654d7e7-9afd-4947-9e02-6bb8f3e0cd04 Universal Print Integration 23.5.1[65](https://github.com/alairhomes/alairhomebc/actions/runs/9212012040/job/25342898702#step:7:67)02.19179 'Global' True Microsoft
Publishing E Foqus Canada_Alair Homes_1.7.18.0.app to https://api.businesscentral.dynamics.com/v2.0/Test/dev/apps?SchemaUpdateMode=synchronize
**Exception calling "GetResult" with "0" argument(s): "An error occurred while sending the request."
An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a receive.
Publish-BcContainerApp Telemetry Correlation Id: 1b1bc33e-14ab-4c96-9429-b95a9445a0bc
Error: Deploying to Test failed.  Exception calling "GetResult" with "0" argument(s): "An error occurred while sending the request."
Error: Process completed with exit code 1.**
freddydk commented 5 months ago

could you include timestamps in the dump? Does extension management inside Business Central reveal anything?

donah001 commented 5 months ago
2024-06-05T12:40:33.8705092Z Current runner version: '2.316.1'
2024-06-05T12:40:33.8737517Z ##[group]Operating System
2024-06-05T12:40:33.8738304Z Microsoft Windows Server 2022
2024-06-05T12:40:33.8738990Z 10.0.20348
2024-06-05T12:40:33.8739412Z Datacenter
2024-06-05T12:40:33.8739893Z ##[endgroup]
2024-06-05T12:40:33.8740445Z ##[group]Runner Image
2024-06-05T12:40:33.8741052Z Image: windows-2022
2024-06-05T12:40:33.8741634Z Version: 20240514.3.0
2024-06-05T12:40:33.8743092Z Included Software: https://github.com/actions/runner-images/blob/win22/20240514.3/images/windows/Windows2022-Readme.md
2024-06-05T12:40:33.8745077Z Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20240514.3
2024-06-05T12:40:33.8746065Z ##[endgroup]
2024-06-05T12:40:33.8746541Z ##[group]Runner Image Provisioner
2024-06-05T12:40:33.8747103Z 2.0.370.1
2024-06-05T12:40:33.8747566Z ##[endgroup]
2024-06-05T12:40:33.8749082Z ##[group]GITHUB_TOKEN Permissions
2024-06-05T12:40:33.8750992Z Actions: read
2024-06-05T12:40:33.8751791Z Contents: read
2024-06-05T12:40:33.8752448Z Metadata: read
2024-06-05T12:40:33.8752977Z Pages: read
2024-06-05T12:40:33.8753572Z ##[endgroup]
2024-06-05T12:40:33.8756431Z Secret source: Actions
2024-06-05T12:40:33.8757401Z Prepare workflow directory
2024-06-05T12:40:34.0078699Z Prepare all required actions
2024-06-05T12:40:34.0242128Z Getting action download info
2024-06-05T12:40:34.2245885Z Download action repository 'actions/checkout@v4' (SHA:a5ac7e51b41094c92402da3b24376905380afc29)
2024-06-05T12:40:34.9269419Z Download action repository 'actions/download-artifact@v4' (SHA:65a9edc5881444af0b9093a5e628f2fe47ea3b2e)
2024-06-05T12:40:35.3907990Z Download action repository 'microsoft/AL-Go-Actions@v5.1' (SHA:60dcf203bcbeabc2fee2f8228ac12cc3818ba9b0)
2024-06-05T12:40:35.9786911Z Complete job name: Deploy to Test
2024-06-05T12:40:36.1480844Z ##[group]Run actions/checkout@v4
2024-06-05T12:40:36.1481299Z with:
2024-06-05T12:40:36.1481538Z   repository: alairhomes/alairhomebc
2024-06-05T12:40:36.1482134Z   token: ***
2024-06-05T12:40:36.1482379Z   ssh-strict: true
2024-06-05T12:40:36.1482614Z   ssh-user: git
2024-06-05T12:40:36.1482858Z   persist-credentials: true
2024-06-05T12:40:36.1483134Z   clean: true
2024-06-05T12:40:36.1483369Z   sparse-checkout-cone-mode: true
2024-06-05T12:40:36.1483666Z   fetch-depth: 1
2024-06-05T12:40:36.1483906Z   fetch-tags: false
2024-06-05T12:40:36.1484145Z   show-progress: true
2024-06-05T12:40:36.1484392Z   lfs: false
2024-06-05T12:40:36.1484600Z   submodules: false
2024-06-05T12:40:36.1484834Z   set-safe-directory: true
2024-06-05T12:40:36.1485081Z env:
2024-06-05T12:40:36.1485268Z   workflowDepth: 1
2024-06-05T12:40:36.1485973Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:36.1487703Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:36.1488225Z ##[endgroup]
2024-06-05T12:40:37.4800977Z Syncing repository: alairhomes/alairhomebc
2024-06-05T12:40:37.4803235Z ##[group]Getting Git version info
2024-06-05T12:40:37.4804286Z Working directory is 'D:\a\alairhomebc\alairhomebc'
2024-06-05T12:40:37.6657876Z [command]"C:\Program Files\Git\bin\git.exe" version
2024-06-05T12:40:37.7580475Z git version 2.45.1.windows.1
2024-06-05T12:40:37.7664989Z ##[endgroup]
2024-06-05T12:40:37.7819983Z Temporarily overriding HOME='D:\a\_temp\2bcac677-6a80-4a2e-bc28-38c9f06f730d' before making global git config changes
2024-06-05T12:40:37.7821983Z Adding repository directory to the temporary git global config as a safe directory
2024-06-05T12:40:37.7833331Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\alairhomebc\alairhomebc
2024-06-05T12:40:37.9558783Z Deleting the contents of 'D:\a\alairhomebc\alairhomebc'
2024-06-05T12:40:37.9564537Z ##[group]Initializing the repository
2024-06-05T12:40:37.9575892Z [command]"C:\Program Files\Git\bin\git.exe" init D:\a\alairhomebc\alairhomebc
2024-06-05T12:40:38.1817437Z Initialized empty Git repository in D:/a/alairhomebc/alairhomebc/.git/
2024-06-05T12:40:38.1862870Z [command]"C:\Program Files\Git\bin\git.exe" remote add origin https://github.com/alairhomes/alairhomebc
2024-06-05T12:40:38.3166847Z ##[endgroup]
2024-06-05T12:40:38.3186892Z ##[group]Disabling automatic garbage collection
2024-06-05T12:40:38.3212251Z [command]"C:\Program Files\Git\bin\git.exe" config --local gc.auto 0
2024-06-05T12:40:38.3470281Z ##[endgroup]
2024-06-05T12:40:38.3518520Z ##[group]Setting up auth
2024-06-05T12:40:38.3532650Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2024-06-05T12:40:38.3766174Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
2024-06-05T12:40:42.0061533Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-06-05T12:40:42.0325255Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
2024-06-05T12:40:42.4627540Z [command]"C:\Program Files\Git\bin\git.exe" config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ***"
2024-06-05T12:40:42.4882873Z ##[endgroup]
2024-06-05T12:40:42.4883913Z ##[group]Fetching the repository
2024-06-05T12:40:42.4904440Z [command]"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +743460a3b55dad84023a747e3eeb899039f359db:refs/remotes/origin/main
2024-06-05T12:40:47.5505591Z From https://github.com/alairhomes/alairhomebc
2024-06-05T12:40:47.5507138Z  * [new ref]         743460a3b55dad84023a747e3eeb899039f359db -> origin/main
2024-06-05T12:40:47.5830818Z ##[endgroup]
2024-06-05T12:40:47.5831763Z ##[group]Determining the checkout info
2024-06-05T12:40:47.5833178Z ##[endgroup]
2024-06-05T12:40:47.5845664Z [command]"C:\Program Files\Git\bin\git.exe" sparse-checkout disable
2024-06-05T12:40:47.6900583Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all extensions.worktreeConfig
2024-06-05T12:40:47.7186608Z ##[group]Checking out the ref
2024-06-05T12:40:47.7203359Z [command]"C:\Program Files\Git\bin\git.exe" checkout --progress --force -B main refs/remotes/origin/main
2024-06-05T12:40:47.9362247Z branch 'main' set up to track 'origin/main'.
2024-06-05T12:40:47.9368701Z Switched to a new branch 'main'
2024-06-05T12:40:47.9406671Z ##[endgroup]
2024-06-05T12:40:47.9728763Z [command]"C:\Program Files\Git\bin\git.exe" log -1 --format='%H'
2024-06-05T12:40:47.9946131Z '743460a3b55dad84023a747e3eeb899039f359db'
2024-06-05T12:40:48.0394471Z ##[group]Run actions/download-artifact@v4
2024-06-05T12:40:48.0394914Z with:
2024-06-05T12:40:48.0395121Z   path: .artifacts
2024-06-05T12:40:48.0395367Z   merge-multiple: false
2024-06-05T12:40:48.0395643Z   repository: alairhomes/alairhomebc
2024-06-05T12:40:48.0395934Z   run-id: 9384207366
2024-06-05T12:40:48.0396150Z env:
2024-06-05T12:40:48.0396332Z   workflowDepth: 1
2024-06-05T12:40:48.0396968Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:48.0397821Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:48.0398281Z ##[endgroup]
2024-06-05T12:40:48.8745835Z Found 2 artifact(s)
2024-06-05T12:40:48.8748228Z No input name or pattern filtered specified, downloading all artifacts
2024-06-05T12:40:48.8749695Z An extra directory with the artifact name will be created for each download
2024-06-05T12:40:48.8751068Z Preparing to download the following artifacts:
2024-06-05T12:40:48.8757063Z - alairhomebc-main-BuildOutput-1.7.42.0 (ID: 1570929538, Size: 3427)
2024-06-05T12:40:48.8762396Z - alairhomebc-main-Apps-1.7.42.0 (ID: 1570929384, Size: 2816556)
2024-06-05T12:40:48.9640904Z Redirecting to blob download url: https://productionresultssa12.blob.core.windows.net/actions-results/7fa799f5-30d4-4f1c-afcc-7ca5c2ed0748/workflow-job-run-4caa117b-327d-5347-6808-22ba054c582e/artifacts/125d3485325f2b9028d9ac3aa928e168accb4ea58df348697cba85ea6896b1ba.zip
2024-06-05T12:40:48.9644842Z Starting download of artifact to: D:\a\alairhomebc\alairhomebc\.artifacts\alairhomebc-main-BuildOutput-1.7.42.0
2024-06-05T12:40:49.0301991Z Redirecting to blob download url: https://productionresultssa12.blob.core.windows.net/actions-results/7fa799f5-30d4-4f1c-afcc-7ca5c2ed0748/workflow-job-run-4caa117b-327d-5347-6808-22ba054c582e/artifacts/88bf22451dc9f80aa189003f2af46eb9e2159cd56a7b17fac0b3c241cc5a309d.zip
2024-06-05T12:40:49.0307145Z Starting download of artifact to: D:\a\alairhomebc\alairhomebc\.artifacts\alairhomebc-main-Apps-1.7.42.0
2024-06-05T12:40:49.0702658Z (node:4092) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2024-06-05T12:40:49.0705797Z (Use `node --trace-deprecation ...` to show where the warning was created)
2024-06-05T12:40:49.0779265Z Artifact download completed successfully.
2024-06-05T12:40:49.3231783Z Artifact download completed successfully.
2024-06-05T12:40:49.3233009Z Total of 2 artifact(s) downloaded
2024-06-05T12:40:49.3244614Z Download artifact has finished successfully
2024-06-05T12:40:49.3525234Z ##[group]Run microsoft/AL-Go-Actions/ReadSettings@v5.1
2024-06-05T12:40:49.3525798Z with:
2024-06-05T12:40:49.3526063Z   shell: powershell
2024-06-05T12:40:49.3526370Z   project: .
2024-06-05T12:40:49.3526650Z env:
2024-06-05T12:40:49.3526914Z   workflowDepth: 1
2024-06-05T12:40:49.3527637Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:49.3528601Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:49.3529126Z ##[endgroup]
2024-06-05T12:40:49.3903227Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-06-05T12:40:49.3904376Z $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-06-05T12:40:49.3905103Z try {
2024-06-05T12:40:49.3905904Z   D:\a\_actions\microsoft\AL-Go-Actions\v5.1\ReadSettings/ReadSettings.ps1 -project $ENV:_project -get $ENV:_get
2024-06-05T12:40:49.3906643Z }
2024-06-05T12:40:49.3906920Z catch {
2024-06-05T12:40:49.3907900Z   Write-Host "::ERROR::Unexpected error when running action. Error Message: $($_.Exception.Message.Replace("`r",'').Replace("`n",' ')), StackTrace: $($_.ScriptStackTrace.Replace("`r",'').Replace("`n",' <- '))";
2024-06-05T12:40:49.3908957Z   exit 1
2024-06-05T12:40:49.3909212Z }
2024-06-05T12:40:49.4013129Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-06-05T12:40:49.4014078Z env:
2024-06-05T12:40:49.4014431Z   workflowDepth: 1
2024-06-05T12:40:49.4015936Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:49.4017241Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:49.4017729Z   _project: .
2024-06-05T12:40:49.4017953Z   _get: 
2024-06-05T12:40:49.4018163Z ##[endgroup]
2024-06-05T12:40:50.2797198Z Applying settings from D:\a\alairhomebc\alairhomebc\.github\AL-Go-Settings.json
2024-06-05T12:40:50.3984546Z Applying settings from D:\a\alairhomebc\alairhomebc\.AL-Go\settings.json
2024-06-05T12:40:50.4010189Z No settings found in D:\a\alairhomebc\alairhomebc\.github\CICD.settings.json
2024-06-05T12:40:50.4036154Z No settings found in D:\a\alairhomebc\alairhomebc\.AL-Go\CICD.settings.json
2024-06-05T12:40:50.4050005Z No settings found in D:\a\alairhomebc\alairhomebc\.AL-Go\donah001.settings.json
2024-06-05T12:40:50.8984222Z SETTINGS:
2024-06-05T12:40:51.0172798Z {
2024-06-05T12:40:51.0173422Z     "keyVaultCertificateUrlSecretName":  "",
2024-06-05T12:40:51.0175809Z     "microsoftTelemetryConnectionString":  "InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/",
2024-06-05T12:40:51.0177488Z     "type":  "PTE",
2024-06-05T12:40:51.0178072Z     "sendExtendedTelemetryToMicrosoft":  false,
2024-06-05T12:40:51.0179045Z     "appBuild":  42,
2024-06-05T12:40:51.0179813Z     "doNotRunBcptTests":  true,
2024-06-05T12:40:51.0180571Z     "versioningStrategy":  16,
2024-06-05T12:40:51.0181218Z     "installApps":  [
2024-06-05T12:40:51.0183056Z                         "https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"
2024-06-05T12:40:51.0184855Z                     ],
2024-06-05T12:40:51.0185516Z     "installTestLibraries":  false,
2024-06-05T12:40:51.0186217Z     "runNumberOffset":  0,
2024-06-05T12:40:51.0187233Z     "codeSignCertificatePasswordSecretName":  "codeSignCertificatePassword",
2024-06-05T12:40:51.0188326Z     "vsixFile":  "",
2024-06-05T12:40:51.0188889Z     "country":  "us",
2024-06-05T12:40:51.0189437Z     "alDoc":  {
2024-06-05T12:40:51.0193028Z                   "continuousDeployment":  false,
2024-06-05T12:40:51.0194048Z                   "deployToGitHubPages":  true,
2024-06-05T12:40:51.0194849Z                   "maxReleases":  3,
2024-06-05T12:40:51.0195621Z                   "groupByProject":  true,
2024-06-05T12:40:51.0196439Z                   "includeProjects":  [
2024-06-05T12:40:51.0197048Z 
2024-06-05T12:40:51.0197390Z                                       ],
2024-06-05T12:40:51.0198135Z                   "excludeProjects":  [
2024-06-05T12:40:51.0198693Z 
2024-06-05T12:40:51.0198992Z                                       ],
2024-06-05T12:40:51.0199837Z                   "header":  "Documentation for {REPOSITORY} {VERSION}",
2024-06-05T12:40:51.0203727Z                   "footer":  "Documentation for \u003ca href=\"https://github.com/{REPOSITORY}\"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href=\"https://aka.ms/AL-Go\"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=2247728\"\u003eALDoc\u003c/a\u003e and \u003ca href=\"https://dotnet.github.io/docfx\"\u003eDocFx\u003c/a\u003e",
2024-06-05T12:40:51.0210837Z                   "defaultIndexMD":  "## Reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}",
2024-06-05T12:40:51.0219028Z                   "defaultReleaseMD":  "## Release reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}"
2024-06-05T12:40:51.0223398Z               },
2024-06-05T12:40:51.0223955Z     "templateSha":  "",
2024-06-05T12:40:51.0224668Z     "partnerTelemetryConnectionString":  "",
2024-06-05T12:40:51.0226219Z     "doNotRunTests":  false,
2024-06-05T12:40:51.0226940Z     "enableCodeAnalyzersOnTestApps":  false,
2024-06-05T12:40:51.0227918Z     "runs-on":  "windows-latest",
2024-06-05T12:40:51.0228685Z     "generateDependencyArtifact":  true,
2024-06-05T12:40:51.0229251Z     "excludeEnvironments":  [
2024-06-05T12:40:51.0229574Z 
2024-06-05T12:40:51.0229713Z                             ],
2024-06-05T12:40:51.0230219Z     "keyVaultCertificatePasswordSecretName":  "",
2024-06-05T12:40:51.0230793Z     "rulesetFile":  "",
2024-06-05T12:40:51.0231278Z     "licenseFileUrlSecretName":  "licenseFileUrl",
2024-06-05T12:40:51.0231956Z     "enableExternalRulesets":  false,
2024-06-05T12:40:51.0232482Z     "memoryLimit":  "",
2024-06-05T12:40:51.0232951Z     "keyVaultClientIdSecretName":  "",
2024-06-05T12:40:51.0233454Z     "testFolders":  [
2024-06-05T12:40:51.0233704Z 
2024-06-05T12:40:51.0233835Z                     ],
2024-06-05T12:40:51.0234391Z     "githubRunner":  "windows-latest",
2024-06-05T12:40:51.0234929Z     "doNotBuildTests":  false,
2024-06-05T12:40:51.0235363Z     "environments":  [
2024-06-05T12:40:51.0235611Z 
2024-06-05T12:40:51.0235727Z                      ],
2024-06-05T12:40:51.0236137Z     "companyName":  "AlairHomes",
2024-06-05T12:40:51.0236613Z     "assignPremiumPlan":  false,
2024-06-05T12:40:51.0237247Z     "artifact":  "bcartifacts/sandbox/23.5.16502.16589/us/closest",
2024-06-05T12:40:51.0238084Z     "ghTokenWorkflowSecretName":  "ghTokenWorkflow",
2024-06-05T12:40:51.0238788Z     "enableTaskScheduler":  false,
2024-06-05T12:40:51.0239328Z     "enableCodeCop":  false,
2024-06-05T12:40:51.0240818Z     "repoVersion":  "1.7",
2024-06-05T12:40:51.0241380Z     "doNotPublishApps":  true,
2024-06-05T12:40:51.0241952Z     "doNotSignApps":  false,
2024-06-05T12:40:51.0242489Z     "githubRunnerShell":  "powershell",
2024-06-05T12:40:51.0243072Z     "cacheKeepDays":  3,
2024-06-05T12:40:51.0243536Z     "bcptTestFolders":  [
2024-06-05T12:40:51.0243850Z 
2024-06-05T12:40:51.0244002Z                         ],
2024-06-05T12:40:51.0244487Z     "updateDependencies":  false,
2024-06-05T12:40:51.0245024Z     "cacheImageName":  "my",
2024-06-05T12:40:51.0245578Z     "treatTestFailuresAsWarnings":  false,
2024-06-05T12:40:51.0246208Z     "useProjectDependencies":  false,
2024-06-05T12:40:51.0246779Z     "additionalCountries":  [
2024-06-05T12:40:51.0247108Z 
2024-06-05T12:40:51.0247254Z                             ],
2024-06-05T12:40:51.0247691Z     "enableUICop":  false,
2024-06-05T12:40:51.0248131Z     "customCodeCops":  [
2024-06-05T12:40:51.0248424Z 
2024-06-05T12:40:51.0248559Z                        ],
2024-06-05T12:40:51.0248988Z     "appDependencies":  [
2024-06-05T12:40:51.0249283Z 
2024-06-05T12:40:51.0249419Z                         ],
2024-06-05T12:40:51.0250336Z     "applicationInsightsConnectionStringSecretName":  "applicationInsightsConnectionString",
2024-06-05T12:40:51.0251383Z     "appDependencyProbingPaths":  [
2024-06-05T12:40:51.0251795Z 
2024-06-05T12:40:51.0251938Z                                   ],
2024-06-05T12:40:51.0252449Z     "useCompilerFolder":  true,
2024-06-05T12:40:51.0252962Z     "installTestFramework":  false,
2024-06-05T12:40:51.0253543Z     "keyVaultCodesignCertificateName":  "",
2024-06-05T12:40:51.0254130Z     "keyVaultName":  "",
2024-06-05T12:40:51.0254597Z     "installOnlyReferencedApps":  true,
2024-06-05T12:40:51.0255228Z     "obsoleteTagMinAllowedMajorMinor":  "",
2024-06-05T12:40:51.0255855Z     "applicationDependency":  "18.0.0.0",
2024-06-05T12:40:51.0256404Z     "shell":  "powershell",
2024-06-05T12:40:51.0256849Z     "deliverToAppSource":  {
2024-06-05T12:40:51.0257378Z                                "mainAppFolder":  "",
2024-06-05T12:40:51.0257992Z                                "productId":  "",
2024-06-05T12:40:51.0258575Z                                "includeDependencies":  [
2024-06-05T12:40:51.0258979Z 
2024-06-05T12:40:51.0259143Z                                                        ],
2024-06-05T12:40:51.0260818Z                                "continuousDelivery":  false
2024-06-05T12:40:51.0261403Z                            },
2024-06-05T12:40:51.0261842Z     "failOn":  "error",
2024-06-05T12:40:51.0262637Z     "templateUrl":  "https://github.com/microsoft/AL-Go-PTE@main",
2024-06-05T12:40:51.0263366Z     "installTestApps":  [
2024-06-05T12:40:51.0263671Z 
2024-06-05T12:40:51.0263803Z                         ],
2024-06-05T12:40:51.0264315Z     "appSourceCopMandatoryAffixes":  [
2024-06-05T12:40:51.0264724Z 
2024-06-05T12:40:51.0264872Z                                      ],
2024-06-05T12:40:51.0265376Z     "projectName":  ".",
2024-06-05T12:40:51.0265793Z     "testDependencies":  [
2024-06-05T12:40:51.0266089Z 
2024-06-05T12:40:51.0266221Z                          ],
2024-06-05T12:40:51.0266660Z     "appRevision":  0,
2024-06-05T12:40:51.0267402Z     "codeSignCertificateUrlSecretName":  "codeSignCertificateUrl",
2024-06-05T12:40:51.0268218Z     "configPackages":  [
2024-06-05T12:40:51.0268687Z                            "STANDARD"
2024-06-05T12:40:51.0269197Z                        ],
2024-06-05T12:40:51.0269623Z     "projects":  [
2024-06-05T12:40:51.0269890Z 
2024-06-05T12:40:51.0270022Z                  ],
2024-06-05T12:40:51.0270467Z     "unusedALGoSystemFiles":  [
2024-06-05T12:40:51.0270835Z 
2024-06-05T12:40:51.0270985Z                               ],
2024-06-05T12:40:51.0271463Z     "buildModes":  [
2024-06-05T12:40:51.0271752Z 
2024-06-05T12:40:51.0271878Z                    ],
2024-06-05T12:40:51.0272312Z     "templateBranch":  "",
2024-06-05T12:40:51.0273027Z     "installPerformanceToolkit":  false,
2024-06-05T12:40:51.0273701Z     "pullRequestTrigger":  "pull_request_target",
2024-06-05T12:40:51.0274314Z     "appFolders":  [
2024-06-05T12:40:51.0274711Z                        "App"
2024-06-05T12:40:51.0275130Z                    ],
2024-06-05T12:40:51.0275537Z     "repoName":  "alairhomebc",
2024-06-05T12:40:51.0276038Z     "fullBuildPatterns":  [
2024-06-05T12:40:51.0276374Z 
2024-06-05T12:40:51.0276507Z                           ],
2024-06-05T12:40:51.0276990Z     "alwaysBuildAllProjects":  false,
2024-06-05T12:40:51.0277532Z     "skipUpgrade":  false,
2024-06-05T12:40:51.0277989Z     "installTestRunner":  false,
2024-06-05T12:40:51.0278747Z     "adminCenterApiCredentialsSecretName":  "adminCenterApiCredentials"
2024-06-05T12:40:51.0279518Z }
2024-06-05T12:40:52.0588477Z GitHubRunnerJson="windows-latest"
2024-06-05T12:40:52.0601370Z GitHubRunnerShell=powershell
2024-06-05T12:40:52.0950421Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-06-05T12:40:52.0951974Z $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-06-05T12:40:52.0952637Z $envName = 'Test'.split(' ')[0]
2024-06-05T12:40:52.0953177Z Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "envName=$envName"
2024-06-05T12:40:52.0984394Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-06-05T12:40:52.0984914Z env:
2024-06-05T12:40:52.0985110Z   workflowDepth: 1
2024-06-05T12:40:52.0985738Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:52.0986580Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:52.1006313Z   Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":42,"doNotRunBcptTests":true,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href=\"https://github.com/{REPOSITORY}\"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href=\"https://aka.ms/AL-Go\"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=2247728\"\u003eALDoc\u003c/a\u003e and \u003ca href=\"https://dotnet.github.io/docfx\"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyName":"AlairHomes","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.7","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["App"],"repoName":"alairhomebc","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-06-05T12:40:52.1024387Z ##[endgroup]
2024-06-05T12:40:52.4368449Z ##[group]Run microsoft/AL-Go-Actions/ReadSecrets@v5.1
2024-06-05T12:40:52.4368917Z with:
2024-06-05T12:40:52.4369122Z   shell: powershell
2024-06-05T12:40:52.4375871Z   gitHubSecrets: {
  "github_token": "***",
  "TEST_AUTHCONTEXT": "***",
  "GHTOKENWORKFLOW": "***"
}
2024-06-05T12:40:52.4376832Z   getSecrets: Test-AuthContext,Test_AuthContext,AuthContext,Test-EnvironmentName,Test_EnvironmentName,EnvironmentName,projects
2024-06-05T12:40:52.4377579Z   useGhTokenWorkflowForPush: false
2024-06-05T12:40:52.4377866Z env:
2024-06-05T12:40:52.4378056Z   workflowDepth: 1
2024-06-05T12:40:52.4378687Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:52.4379524Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:52.4399902Z   Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":42,"doNotRunBcptTests":true,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href=\"https://github.com/{REPOSITORY}\"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href=\"https://aka.ms/AL-Go\"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=2247728\"\u003eALDoc\u003c/a\u003e and \u003ca href=\"https://dotnet.github.io/docfx\"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyName":"AlairHomes","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.7","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["App"],"repoName":"alairhomebc","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-06-05T12:40:52.4417923Z ##[endgroup]
2024-06-05T12:40:52.4525529Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-06-05T12:40:52.4526487Z $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-06-05T12:40:52.4527088Z try {
2024-06-05T12:40:52.4527594Z   D:\a\_actions\microsoft\AL-Go-Actions\v5.1\ReadSecrets/ReadSecrets.ps1 -gitHubSecrets '{
2024-06-05T12:40:52.4528482Z   "github_token": "***",
2024-06-05T12:40:52.4534278Z   "TEST_AUTHCONTEXT": "***",
2024-06-05T12:40:52.4534768Z   "GHTOKENWORKFLOW": "***"
2024-06-05T12:40:52.4535342Z }' -getSecrets $ENV:_getSecrets -useGhTokenWorkflowForPush $ENV:_useGhTokenWorkflowForPush
2024-06-05T12:40:52.4535891Z }
2024-06-05T12:40:52.4536086Z catch {
2024-06-05T12:40:52.4536978Z   Write-Host "::ERROR::Unexpected error when running action. Error Message: $($_.Exception.Message.Replace("`r",'').Replace("`n",' ')), StackTrace: $($_.ScriptStackTrace.Replace("`r",'').Replace("`n",' <- '))";
2024-06-05T12:40:52.4537929Z   exit 1
2024-06-05T12:40:52.4538142Z }
2024-06-05T12:40:52.4570068Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-06-05T12:40:52.4570597Z env:
2024-06-05T12:40:52.4570797Z   workflowDepth: 1
2024-06-05T12:40:52.4571452Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:52.4572320Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:52.4590716Z   Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":42,"doNotRunBcptTests":true,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href=\"https://github.com/{REPOSITORY}\"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href=\"https://aka.ms/AL-Go\"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=2247728\"\u003eALDoc\u003c/a\u003e and \u003ca href=\"https://dotnet.github.io/docfx\"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyName":"AlairHomes","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.7","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["App"],"repoName":"alairhomebc","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-06-05T12:40:52.4609583Z   _getSecrets: Test-AuthContext,Test_AuthContext,AuthContext,Test-EnvironmentName,Test_EnvironmentName,EnvironmentName,projects
2024-06-05T12:40:52.4610355Z   _useGhTokenWorkflowForPush: false
2024-06-05T12:40:52.4610679Z ##[endgroup]
2024-06-05T12:40:53.0179355Z Trying to get the secret (Test-AuthContext) from the github environment.
2024-06-05T12:40:53.0281997Z Could not find secret Test-AuthContext in Github secrets or Azure Key Vault.
2024-06-05T12:40:53.0291777Z Trying to get the secret (Test_AuthContext) from the github environment.
2024-06-05T12:40:53.0339937Z Masking value for Test_AuthContext
2024-06-05T12:40:53.0727405Z Secret (Test_AuthContext) was retrieved from the github environment.
2024-06-05T12:40:53.0800621Z Masking value for Test_AuthContext.RefreshToken
2024-06-05T12:40:53.0947591Z Masking value for Test_AuthContext.ClientID
2024-06-05T12:40:53.1007271Z Test_AuthContext successfully read from secret Test_AuthContext
2024-06-05T12:40:53.1033917Z Trying to get the secret (AuthContext) from the github environment.
2024-06-05T12:40:53.1043955Z Could not find secret AuthContext in Github secrets or Azure Key Vault.
2024-06-05T12:40:53.1053718Z Trying to get the secret (Test-EnvironmentName) from the github environment.
2024-06-05T12:40:53.1063168Z Could not find secret Test-EnvironmentName in Github secrets or Azure Key Vault.
2024-06-05T12:40:53.1072283Z Trying to get the secret (Test_EnvironmentName) from the github environment.
2024-06-05T12:40:53.1081472Z Could not find secret Test_EnvironmentName in Github secrets or Azure Key Vault.
2024-06-05T12:40:53.1090717Z Trying to get the secret (EnvironmentName) from the github environment.
2024-06-05T12:40:53.1099795Z Could not find secret EnvironmentName in Github secrets or Azure Key Vault.
2024-06-05T12:40:53.1109577Z Trying to get the secret (projects) from the github environment.
2024-06-05T12:40:53.1118705Z Could not find secret projects in Github secrets or Azure Key Vault.
2024-06-05T12:40:53.1186419Z The following secrets was not found: Test-AuthContext, AuthContext, Test-EnvironmentName, Test_EnvironmentName, EnvironmentName, projects
2024-06-05T12:40:53.1609255Z ##[group]Run microsoft/AL-Go-Actions/Deploy@v5.1
2024-06-05T12:40:53.1609817Z with:
2024-06-05T12:40:53.1610167Z   shell: powershell
2024-06-05T12:40:53.1610499Z   environmentName: Test
2024-06-05T12:40:53.1610844Z   artifacts: .artifacts
2024-06-05T12:40:53.1611183Z   type: CD
2024-06-05T12:40:53.1612272Z   deploymentEnvironmentsJson: {"Test":{"EnvironmentType":"SaaS","Branches":[],"EnvironmentName":"Test","runs-on":["windows-latest"],"Projects":"*","continuousDeployment":null,"shell":"powershell","BranchesFromPolicy":[],"SyncMode":null}}
2024-06-05T12:40:53.1613610Z   token: ***
2024-06-05T12:40:53.1613944Z   parentTelemetryScopeJson: 7b7d
2024-06-05T12:40:53.1614351Z env:
2024-06-05T12:40:53.1614640Z   workflowDepth: 1
2024-06-05T12:40:53.1615382Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:53.1616464Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:53.1636319Z   Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":42,"doNotRunBcptTests":true,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href=\"https://github.com/{REPOSITORY}\"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href=\"https://aka.ms/AL-Go\"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=2247728\"\u003eALDoc\u003c/a\u003e and \u003ca href=\"https://dotnet.github.io/docfx\"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyName":"AlairHomes","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.7","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["App"],"repoName":"alairhomebc","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-06-05T12:40:53.1690075Z   Secrets: {"Test_AuthContext":"***","Test-AuthContext":"","AuthContext":"","Test-EnvironmentName":"","Test_EnvironmentName":"","EnvironmentName":"","projects":""}
2024-06-05T12:40:53.1707790Z ##[endgroup]
2024-06-05T12:40:53.1824545Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-06-05T12:40:53.1825546Z $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-06-05T12:40:53.1826197Z try {
2024-06-05T12:40:53.1827515Z   D:\a\_actions\microsoft\AL-Go-Actions\v5.1\Deploy/Deploy.ps1 -token $ENV:_token -parentTelemetryScopeJson $ENV:_parentTelemetryScopeJson -environmentName $ENV:_environmentName -artifacts $ENV:_artifacts -type $ENV:_type -deploymentEnvironmentsJson $ENV:_deploymentEnvironmentsJson
2024-06-05T12:40:53.1828876Z }
2024-06-05T12:40:53.1829101Z catch {
2024-06-05T12:40:53.1830029Z   Write-Host "::ERROR::Unexpected error when running action. Error Message: $($_.Exception.Message.Replace("`r",'').Replace("`n",' ')), StackTrace: $($_.ScriptStackTrace.Replace("`r",'').Replace("`n",' <- '))";
2024-06-05T12:40:53.1830993Z   exit 1
2024-06-05T12:40:53.1831243Z }
2024-06-05T12:40:53.1863362Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-06-05T12:40:53.1863916Z env:
2024-06-05T12:40:53.1864137Z   workflowDepth: 1
2024-06-05T12:40:53.1864979Z   ALGoOrgSettings: {
    "useCompilerFolder": true,
    "doNotPublishApps": true,
    "artifact": "bcartifacts/sandbox/23.5.16502.16589/us/closest"
  }
2024-06-05T12:40:53.1865866Z   ALGoRepoSettings: {
    "repoVersion": "1.7",
    "versioningStrategy": +16
}
2024-06-05T12:40:53.1884652Z   Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":42,"doNotRunBcptTests":true,"versioningStrategy":16,"installApps":["https://www.hougaard.com/on-premises/SharePoint%20Connector/SharePoint%20Connector.5.0.0.283.BC23.4/SharePoint%20Connector.BC23.4.RunTime.v5.0.0.283.app"],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"us","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href=\"https://github.com/{REPOSITORY}\"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href=\"https://aka.ms/AL-Go\"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=2247728\"\u003eALDoc\u003c/a\u003e and \u003ca href=\"https://dotnet.github.io/docfx\"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}"},"templateSha":"","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyName":"AlairHomes","assignPremiumPlan":false,"artifact":"bcartifacts/sandbox/23.5.16502.16589/us/closest","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.7","doNotPublishApps":true,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"useProjectDependencies":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","appDependencyProbingPaths":[],"useCompilerFolder":true,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","installTestApps":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":0,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","configPackages":["STANDARD"],"projects":[],"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","appFolders":["App"],"repoName":"alairhomebc","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-06-05T12:40:53.1939368Z   Secrets: {"Test_AuthContext":"***","Test-AuthContext":"","AuthContext":"","Test-EnvironmentName":"","Test_EnvironmentName":"","EnvironmentName":"","projects":""}
2024-06-05T12:40:53.1940266Z   _token: ***
2024-06-05T12:40:53.1940531Z   _parentTelemetryScopeJson: 7b7d
2024-06-05T12:40:53.1940862Z   _environmentName: Test
2024-06-05T12:40:53.1941136Z   _artifacts: .artifacts
2024-06-05T12:40:53.1941426Z   _type: CD
2024-06-05T12:40:53.1942593Z   _deploymentEnvironmentsJson: {"Test":{"EnvironmentType":"SaaS","Branches":[],"EnvironmentName":"Test","runs-on":["windows-latest"],"Projects":"*","continuousDeployment":null,"shell":"powershell","BranchesFromPolicy":[],"SyncMode":null}}
2024-06-05T12:40:53.1943639Z ##[endgroup]
2024-06-05T12:40:53.7370321Z Downloading BcContainerHelper latest version from Blob Storage
2024-06-05T12:40:56.5161225Z Import from C:\ProgramData\BcContainerHelper\6.0.18\BcContainerHelper\BcContainerHelper.ps1
2024-06-05T12:40:57.7467995Z BcContainerHelper version 6.0.18
2024-06-05T12:41:03.9127417Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2024-06-05T12:41:04.0284604Z Running on Windows, PowerShell 5.1.20348.2400
2024-06-05T12:41:06.4981094Z project '*'
2024-06-05T12:41:06.5022075Z Apps to deploy
2024-06-05T12:41:06.5037233Z D:\a\alairhomebc\alairhomebc\.artifacts\alairhomebc-main-Apps-1.7.42.0
2024-06-05T12:41:06.5536290Z Attempting authentication to https://api.businesscentral.dynamics.com/user_impersonation offline_access using refresh token...
2024-06-05T12:41:06.8387261Z Authenticated using refresh token as user ....
2024-06-05T12:41:06.8546022Z EnvironmentUrl: https://businesscentral.dynamics.com/639a1e57-c476-423a-871d-b2bb02c725d0/Test
2024-06-05T12:41:07.1446160Z Publishing apps using development endpoint
2024-06-05T12:41:09.4476090Z InstalledApps:
2024-06-05T12:41:09.4564840Z - de0ad312-13dc-48bc-9aa4-eec46e388ee0 AL Compiler and Interpreter 1.0.0.240 'Global' True Hougaard
2024-06-05T12:41:09.4571741Z - e9edf932-2e03-479e-977f-289a0f6d32d1 Alair CCP Data 1.0.0.2 ' PTE' True E Foqus Canada
2024-06-05T12:41:09.4581663Z - 21e85f25-b30a-4ad8-8668-27547d08d8d0 Alair Data Tool 1.0.0.7 ' Dev' True Alair Enterprises Ltd
2024-06-05T12:41:09.4590653Z - ea1add5a-420e-44cc-a46e-a3e1838f9955 Alair Homes 1.7.41.0 ' Dev' True Alair Enterprises Ltd
2024-06-05T12:41:09.4598897Z - 16319982-4995-4fb1-8fb2-2b1e13773e3b AMC Banking 365 Fundamentals 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4606551Z - a190e87b-2f59-4e14-a727-421877802768 API - Cross Environment Intercompany 23.5.16502.19413 'Global' True Microsoft
2024-06-05T12:41:09.4614343Z - a2cc2ef8-949f-43d4-45b8-10bd6f8bc62c API Reports - Finance 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4622255Z - a57b1fea-4287-438b-9e1f-8a7be9e4efc6 App Licensing 106.0.23.0 'Global' True Softera Baltic
2024-06-05T12:41:09.4630873Z - c1335042-3002-4257-bf8a-75c898ccb1b8 Application 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4639331Z - a41b0c3e-bf1c-4c97-ad1b-b430a3933ada Audit File Export 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4648065Z - 63c9fbe6-d4f3-458c-8c25-644c90a0874a Bank Account Reconciliation With AI 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4655197Z - 7f42e1a0-b773-4a1c-8614-d4ba20aed398 Bank of Canada 1.0.0.9 'Global' True E Foqus Canada Inc.
2024-06-05T12:41:09.4662610Z - 74689c09-2ed3-4e69-a2e8-c9310a271b9a Bankfeed - Bank Statement Import & Reconciliation 23.0.19.6 'Global' True Softera Baltic
2024-06-05T12:41:09.4669735Z - 8051ee19-8246-489f-9f2c-4d89e1710f7e Bankfeed - Core 219.6.23.0 'Global' True Softera Baltic
2024-06-05T12:41:09.4677152Z - a6c4f59a-958a-474b-b4f9-c0dcf2a4fa5e Bankfeed - Data Generator 219.6.23.0 'Global' True Softera Baltic
2024-06-05T12:41:09.4686364Z - c894826f-70d2-45c4-9d48-162807e61881 Bankfeed - Docura Bank Data Provider 219.6.23.0 'Global' True Softera Baltic
2024-06-05T12:41:09.4694179Z - e6b85eec-4003-4b2d-b46a-7911f0738bf7 Bankfeed - Plaid Bank Data Provider 219.6.23.0 'Global' True Softera Baltic
2024-06-05T12:41:09.4701780Z - 437dbf0e-84ff-417a-965d-ed2bb9650972 Base Application 23.5.16502.20066 'Global' True Microsoft
2024-06-05T12:41:09.4710159Z - 09cf1442-5df6-44e5-91df-681f80802a55 BCCL 2.22.0.267 'Global' True Hougaard
2024-06-05T12:41:09.4719502Z - 6992416f-3f39-4d3c-8242-3fff61350bea Business Central Cloud Migration - Previous Release 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4726952Z - 3cb4ddcd-36ed-4043-8194-b40efdb46165 Business Central Cloud Migration - Previous Release (CA) 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4732311Z - 57623bfa-0559-4bc2-ae1c-0979c29fc8d1 Business Central Cloud Migration API 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4744108Z - 334ef79e-547e-4631-8ba1-7a7f18e14de6 Business Central Intelligent Cloud 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4751801Z - 30828ce4-53e3-407f-ba80-13ce8d79d110 Ceridian Payroll 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4760349Z - c512d720-63b9-4b26-b062-a0c09b4ed322 Company Hub 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4769455Z - 5a0b41e9-7a42-4123-d521-2265186cfb31 Contoso Coffee Demo Dataset 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4777121Z - 5b0b41a1-7b42-3113-a521-2265186cfb33 Contoso Coffee Demo Dataset (CA) 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4785734Z - 7819d79d-feea-4f09-bbed-5bbaca4bf323 Data Archive 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4790527Z - ac14293f-1eb7-4a7b-9936-b280da31970b Data Search 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4801814Z - ea2add4a-530e-44cc-a46e-c3c1838f7855 DesignerFields 1.0.0.0 ' PTE' True E Foqus Canada
2024-06-05T12:41:09.4809980Z - adc18994-073b-4840-a144-2a5e3a0d9d1e DIOT - Localization for Mexico 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.4818426Z - 7c7d97ca-3598-40f5-b263-f713f49bd2a5 Dynamics GP Historical Data 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5352398Z - feeb3504-556e-4790-b28d-a2b9ce302d81 Dynamics GP Intelligent Cloud 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5390623Z - e1d97edc-c239-46b4-8d84-6368bdf67c8b E-Document Core 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5393168Z - d852a468-263e-49e5-bfda-f09e33342b89 E-Documents Connector with External Endpoints 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5396442Z - 08d69832-9231-429e-be2c-8bab2c96905b Email - Current User Connector 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5406360Z - aceb66c8-472e-437c-81d3-27e6c07d0f14 Email - Microsoft 365 Connector 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5408465Z - e6328152-bb29-4664-9dae-3bc7eaae1fd8 Email - Outlook REST API 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5410387Z - 8fc50dfb-d338-4fd9-9499-5e44cc8cbf50 Email - SMTP API 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5412271Z - 68e13fa3-217a-4be0-9141-99e5bf0ca818 Email - SMTP Connector 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5414228Z - e2ae191d-8829-44c3-a373-3749a2742d4e Enforced Digital Vouchers 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5416182Z - e2743298-9ccb-49cd-9d8e-4b2d1ab91d36 Envestnet Yodlee Bank Feeds 23.5.16502.18664 'Global' True Microsoft
2024-06-05T12:41:09.5418466Z - 64c9d5e2-7744-4866-bc0e-5ebc2898e651 Error Messages with Recommendations 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5420502Z - 2a89f298-7ffd-44a5-a7ce-e08dac98abce Essential Business Headlines 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5422353Z - 479e77f3-031a-49fe-bb6a-314464c6a9a8 G/L Source Names 19.0.42.0 'Global' True Objects4NAV
2024-06-05T12:41:09.5424104Z - e868ad92-21b8-4e08-af2b-8975a8b06e04 Image Analyzer 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5426075Z - bc45ae22-3b5b-44b5-beb4-2a42bf79cc34 Import of QuickBooks Payroll Files 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5428013Z - 58623bfa-0559-4bc2-ae1c-0979c29fd9e0 Intelligent Cloud Base 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5429945Z - 3d5b2137-efeb-4014-8489-41d37f8fd4c3 Late Payment Prediction 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5431862Z - 1b80b577-772f-4e0f-bc13-50214fb3da6e Migration of QuickBooks Data 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5435155Z - d09fa965-9a2a-424d-b704-69f3b54ed0ce Payment Links to PayPal 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5437100Z - 64977288-facd-4b48-aaaa-bb0e288edfb3 Payment Practices 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5438879Z - 6ba99025-acf4-4bc4-9067-3f45ae9dba49 QB Staging tables 1.0.0.2 ' PTE' True E Foqus Canada
2024-06-05T12:41:09.5440669Z - a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8 Recommended Apps 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5442545Z - 87990153-0e35-4e5d-ba61-2e93077d1699 Review General Ledger Entries 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5444428Z - 2cd7a955-fdab-4b28-a485-d427143dcfff Sage Staging Tables 1.0.0.7 ' PTE' True E Foqus Canada
2024-06-05T12:41:09.5446381Z - c526b3e9-b8ca-4683-81ba-fcd5f6b1472a Sales and Inventory Forecast 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5448322Z - e97bbbc7-16b6-470b-9428-376baa778970 Send remittance advice by email 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5450003Z - 8c972578-fe72-4aa5-ae51-cc5575fef2ea Send To Email Printer 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5451235Z - 23ebd065-b289-4a68-85e3-b8410e360157 SharePoint Connector 5.0.0.308 'Global' True hougaard.com
2024-06-05T12:41:09.5452138Z - ec255f57-31d0-4ca2-b751-f2fa7c745abb Shopify Connector 23.5.16502.20066 'Global' True Microsoft
2024-06-05T12:41:09.5453128Z - 79b1a79a-2f66-4736-bc1b-8abb3537eb51 Simplified Bank Statement Import 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5454151Z - 36448715-3331-4b7e-ba16-824f9058f9e1 Softera Baltic Common Functions 106.0.22.0 'Global' True Softera Baltic
2024-06-05T12:41:09.5455099Z - ea130081-c669-460f-a5f4-5dde14f03131 Statistical Accounts 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5456019Z - 63ca2fa4-4f03-4f2b-a480-172fef340d3f System Application 23.5.16502.20066 'Global' True Microsoft
2024-06-05T12:41:09.5456851Z - fe7b0b6a-e183-4606-882d-6adff0ce9401 ToolBox 1.0.0.240 'Global' True Hougaard
2024-06-05T12:41:09.5457739Z - 7961e9dc-a8e5-49b1-839b-3a78803a4cb8 Troubleshoot FA Ledger Entries 23.5.16502.16887 'Global' True Microsoft
2024-06-05T12:41:09.5458744Z - 2654d7e7-9afd-4947-9e02-6bb8f3e0cd04 Universal Print Integration 23.5.16502.19179 'Global' True Microsoft
2024-06-05T12:41:10.7774782Z Publishing Alair Enterprises Ltd_Alair Homes_1.7.42.0.app to https://api.businesscentral.dynamics.com/v2.0/Test/dev/apps?SchemaUpdateMode=synchronize
2024-06-05T12:45:54.9635264Z Exception calling "GetResult" with "0" argument(s): "An error occurred while sending the request."
2024-06-05T12:45:54.9636545Z An error occurred while sending the request.
2024-06-05T12:45:54.9637574Z The underlying connection was closed: An unexpected error occurred on a receive.
2024-06-05T12:45:55.8070892Z Publish-BcContainerApp Telemetry Correlation Id: 7d474ef8-804f-4761-a9eb-67c2ff0d4229
2024-06-05T12:45:55.8150108Z ##[error]Deploying to Test failed.  Exception calling "GetResult" with "0" argument(s): "An error occurred while sending the request."
2024-06-05T12:45:55.9789089Z ##[error]Process completed with exit code 1.
2024-06-05T12:45:55.9984846Z Post job cleanup.
2024-06-05T12:45:56.2307721Z [command]"C:\Program Files\Git\bin\git.exe" version
2024-06-05T12:45:56.2641208Z git version 2.45.1.windows.1
2024-06-05T12:45:56.2776494Z Temporarily overriding HOME='D:\a\_temp\d77531be-4c38-4fb5-b89c-fe5d36f18487' before making global git config changes
2024-06-05T12:45:56.2778239Z Adding repository directory to the temporary git global config as a safe directory
2024-06-05T12:45:56.2780226Z [command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\alairhomebc\alairhomebc
2024-06-05T12:45:56.3045590Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
2024-06-05T12:45:56.3303700Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
2024-06-05T12:45:56.7873928Z [command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2024-06-05T12:45:56.8089553Z http.https://github.com/.extraheader
2024-06-05T12:45:56.8133481Z [command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
2024-06-05T12:45:56.8386566Z [command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
2024-06-05T12:45:57.3024463Z Evaluate and set environment url
2024-06-05T12:45:57.3028349Z Evaluated environment url: https://businesscentral.dynamics.com/639a1e57-c476-423a-871d-b2bb02c725d0/Test
2024-06-05T12:45:57.3029295Z Cleaning up orphan processes
donah001 commented 5 months ago

@freddydk The timestamp in the dump is noted above.

Additionally, the Business Central extension isn't providing any insights.

The issue stems from the previously installed extension being uninstalled after a deployment failure, which is causing access problems for the user. Although rerunning the CI/CD pipeline sometimes resolves the deployment issue after 2-3 attempts, we need a solution to prevent deployment failures caused by the "underlying connection was closed" error.

Thanks for your assistance.

donah001 commented 4 months ago

Any update on this issue?

freddydk commented 4 months ago

Sorry for the delay here Is this a very large app? How frequently does it fail? (like 1 out of x times / x out of 10 times) Would it be possible for me to get the app and try this out myself with a debugger?

donah001 commented 4 months ago

Sure. It fail 4 times to deploy a merged commit. But the strange part is that after like the 3-4 times of failing, we get the failure error that says "Cannot install extension because another service is currently modifying the state of extensions on tenant msca1a7355t13127366". How can we setup the debugger up?

donah001 commented 4 months ago

Is there a way to increase the timeout, it seems that the app is still deploying but it time out early with an error @freddydk

freddydk commented 1 week ago

I think this problem was addressed in an update in BcContainerHelper last week. Let me know if this wasn't the case.