Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scope and SyncMode on AL-Go Settings won't work. #1137

Closed
DesarrolloBC opened this issue Jul 11, 2024 · 11 comments · Fixed by #1150
Closed

Scope and SyncMode on AL-Go Settings won't work. #1137

DesarrolloBC opened this issue Jul 11, 2024 · 11 comments · Fixed by #1150
Labels
documentation Improvements or additions to documentation enhancement New feature or request Fix Ready Fix Ready In Preview Currently available in AL-Go for GitHub preview

Comments

@DesarrolloBC
Copy link

DesarrolloBC commented Jul 11, 2024

Hello,

After the setup of AL-Go, the pipeline always deploys in Dev Scope, and if a field or table is removed, then it won't ForceSync, always does "Add" mode. I've encountered this issue that is translated that after a minor update, all the apps published by the pipeline are removed, so the users won't find the customizations. I'm using the latest AL-Go System files, and I've executed the Update AL-Go System Files Action in order to be sure to be using the latest version, but the problem still persists.

Here is my settings:

{
  "country": "es",
  "appFolders": [
    "xx",
    "xx1",
    "xx2"
  ],
  "testFolders": [],
  "repoVersion": "24.6",
  "bcptTestFolders": [],
  "CICDPushBranches":
  [
    "main", "test"
  ],
  "versioningStrategy": 16,
  "CICDPullRequestBranches":
  [
    "main", "test"
  ],
  "DeployToMy-MXSandboxTest": {
    "EnvironmentName": "MXSandboxTest",
    "Scope": "PTE",
    "continuousDeployment": false,
    "SyncMode": "ForceSync"
  }
}

Thanks in advance for your help, it is really appreciated.

Best regards.

@freddydk
Copy link
Collaborator

If you include the log of the deployment step, then we might be able to see what is going on?

@DesarrolloBC
Copy link
Author

DesarrolloBC commented Jul 12, 2024

Sure!

Here it is:

Run` microsoft/AL-Go-Actions/Deploy@v5.2
  with:
    shell: powershell
    environmentName: MXSandboxTest
    artifactsFolder: .artifacts
    type: CD
    deploymentEnvironmentsJson: {"MXSandboxTest":{"companyId":"","EnvironmentType":"SaaS","ppEnvironmentUrl":"","Branches":[],"EnvironmentName":"MXSandboxTest","runs-on":["windows-latest"],"Projects":"*","continuousDeployment":null,"shell":"powershell","BranchesFromPolicy":["test"],"SyncMode":null}}
    token: ***
  env:
    workflowDepth: 1
    ALGoOrgSettings: 
    ALGoRepoSettings: 
    type: PTE
    powerPlatformSolutionFolder: 
    Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":49,"installTestApps":[],"versioningStrategy":16,"installApps":[],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","country":"es","templateSha":"81cff3d03e8fe6b88ee3fc0848594bfd4d9039a4","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","configPackages":[],"generateDependencyArtifact":false,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyName":"","assignPremiumPlan":false,"artifact":"","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"24.6","doNotPublishApps":false,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","powerPlatformSolutionFolder":"","treatTestFailuresAsWarnings":false,"additionalCountries":[],"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}"},"customCodeCops":[],"appDependencies":[],"doNotRunBcptTests":false,"DeployToMy-MXSandboxTest":{"EnvironmentName":"MXSandboxTest","Scope":"PTE","continuousDeployment":false,"SyncMode":"ForceSync"},"appDependencyProbingPaths":[],"useCompilerFolder":false,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"CICDPushBranches":["main","test"],"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","projects":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":1,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","vsixFile":"","useProjectDependencies":false,"unusedALGoSystemFiles":[],"buildModes":[],"enableUICop":false,"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","CICDPullRequestBranches":["main","test"],"appFolders":["x","x","x","X","X","x","X.Financials","x"],"repoName":"D365BC","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
    Secrets: {"AuthContext":"***","MXSandboxTest-AuthContext":"","MXSandboxTest_AuthContext":"","MXSandboxTest-EnvironmentName":"","MXSandboxTest_EnvironmentName":"","EnvironmentName":"","projects":""}
Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
Downloading BcContainerHelper latest version from Blob Storage
Import from C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\BcContainerHelper.ps1
BcContainerHelper version 6.0.19
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 5.1.20348.2400
project '*'
Apps to deploy
D:\a\D365BC\D365BC\.artifacts\D365BC-test-Apps-24.6.49.0
Attempting authentication to https://api.businesscentral.dynamics.com/user_impersonation offline_access using refresh token...
Authenticated using refresh token as user Desarrollo (x@x)
EnvironmentUrl: https://businesscentral.dynamics.com/{guid}/MXSandboxTest
Publishing apps using development endpoint
InstalledApps:
- 16319982-4995-4fb1-8fb2-2b1e13773e3b AMC Banking 365 Fundamentals 24.1.18927.21567 'Global' True Microsoft
- a190e87b-2f59-4e14-a727-421877802768 API - Cross Environment Intercompany 24.1.18927.20657 'Global' True Microsoft
- a2cc2ef8-949f-43d4-45b8-10bd6f8bc62c API Reports - Finance 24.1.18927.20657 'Global' True Microsoft
- c1335042-3002-4257-bf8a-75c898ccb1b8 Application 24.1.18927.20657 'Global' True Microsoft
- a41b0c3e-bf1c-4c97-ad1b-b430a3933ada Audit File Export 24.1.18927.20657 'Global' True Microsoft
- 63c9fbe6-d4f3-458c-8c25-644c90a0874a Bank Account Reconciliation With AI 24.1.18927.20657 'Global' True Microsoft
- 437dbf0e-84ff-417a-965d-ed2bb9650972 Base Application 24.1.18927.21567 'Global' True Microsoft
- 6992416f-3f39-4d3c-8242-3fff61350bea Business Central Cloud Migration - Previous Release 24.1.18927.20657 'Global' True Microsoft
- 6babad6a-c6b1-4842-b3e2-50c3db9085d7 Business Central Cloud Migration - Previous Release (ES) 24.1.18927.20657 'Global' True Microsoft
- 57623bfa-0559-4bc2-ae1c-0979c29fc8d1 Business Central Cloud Migration API 24.1.18927.20657 'Global' True Microsoft
- 334ef79e-547e-4631-8ba1-7a7f18e14de6 Business Central Intelligent Cloud 24.1.18927.20657 'Global' True Microsoft
- f3552374-a1f2-4356-848e-196002525837 Business Foundation 24.1.18927.21567 'Global' True Microsoft
- c512d720-63b9-4b26-b062-a0c09b4ed322 Company Hub 24.1.18927.20657 'Global' True Microsoft
- 5a0b41e9-7a42-4123-d521-2265186cfb31 Contoso Coffee Demo Dataset 24.1.18927.20657 'Global' True Microsoft
- 5b0a41a1-7b42-4123-a521-2265186cfb31 Contoso Coffee Demo Dataset (ES) 24.1.18927.20657 'Global' True Microsoft
- 7819d79d-feea-4f09-bbed-5bbaca4bf323 Data Archive 24.1.18927.20657 'Global' True Microsoft
- e28d62da-ceb0-46e7-9e06-774bc46f4bac Data Editor Tool 3.0.0.0 ' PTE' True Volodymyr Dvernytskyi
- ac14293f-1eb7-4a7b-9936-b280da31970b Data Search 24.1.18927.20657 'Global' True Microsoft
- cc11c22e-5ca3-423f-8804-88cac6d91983 Dynamics BC Excel Reports 24.1.18927.20657 'Global' True Microsoft
- e1d97edc-c239-46b4-8d84-6368bdf67c8b E-Document Core 24.1.18927.20657 'Global' True Microsoft
- de0dddf3-9917-430d-8d20-6e7679a08500 E-Document Core Demo Data 24.1.18927.20657 'Global' True Microsoft
- d852a468-263e-49e5-bfda-f09e33342b89 E-Documents Connector with External Endpoints 24.1.18927.20657 'Global' True Microsoft
- 08d69832-9231-429e-be2c-8bab2c96905b Email - Current User Connector 24.1.18927.20657 'Global' True Microsoft
- aceb66c8-472e-437c-81d3-27e6c07d0f14 Email - Microsoft 365 Connector 24.1.18927.20657 'Global' True Microsoft
- e6328152-bb29-4664-9dae-3bc7eaae1fd8 Email - Outlook REST API 24.1.18927.21567 'Global' True Microsoft
- 8fc50dfb-d338-4fd9-9499-5e44cc8cbf50 Email - SMTP API 24.1.18927.20657 'Global' True Microsoft
- 68e13fa3-217a-4be0-9141-99e5bf0ca818 Email - SMTP Connector 24.1.18927.20657 'Global' True Microsoft
- e2ae191d-8829-44c3-a373-3749a2742d4e Enforced Digital Vouchers 24.1.18927.21567 'Global' True Microsoft
- 64c9d5e2-7744-4866-bc0e-5ebc2898e651 Error Messages with Recommendations 24.1.18927.20657 'Global' True Microsoft
- 2a89f298-7ffd-44a5-a7ce-e08dac98abce Essential Business Headlines 24.1.18927.20657 'Global' True Microsoft
- 58623bfa-0559-4bc2-ae1c-0979c29fd9e0 Intelligent Cloud Base 24.1.18927.20657 'Global' True Microsoft
- 70912191-3c4c-49fc-a1de-bc6ea1ac9da6 Intrastat Core 24.1.18927.20657 'Global' True Microsoft
- bb959a21-0424-439f-bbcc-77280721a9ae Intrastat ES 24.1.18927.20657 'Global' True Microsoft
- 3d5b2137-efeb-4014-8489-41d37f8fd4c3 Late Payment Prediction 24.1.18927.20657 'Global' True Microsoft
- d09fa965-9a2a-424d-b704-69f3b54ed0ce Payment Links to PayPal 24.1.18927.20657 'Global' True Microsoft
- 64977288-facd-4b48-aaaa-bb0e288edfb3 Payment Practices 24.1.18927.20657 'Global' True Microsoft
- a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8 Recommended Apps 24.1.18927.20657 'Global' True Microsoft
- 87990153-0e35-4e5d-ba61-2e93077d1699 Review General Ledger Entries 24.1.18927.20657 'Global' True Microsoft
- c526b3e9-b8ca-4683-81ba-fcd5f6b1472a Sales and Inventory Forecast 24.1.18927.20657 'Global' True Microsoft
- dd3f226b-40bf-4b3c-9988-9b1e0f74edd8 Sales Lines Suggestions 24.1.18927.20657 'Global' True Microsoft
- 8c972578-fe72-4aa5-ae51-cc5575fef2ea Send To Email Printer 24.1.18927.20657 'Global' True Microsoft
- e2ae191d-8829-44c3-a373-3749a2742d4d Service Declaration 24.1.18927.20657 'Global' True Microsoft
- ec255f57-31d0-4ca2-b751-f2fa7c745abb Shopify Connector 24.1.18927.21567 'Global' True Microsoft
- 79b1a79a-2f66-4736-bc1b-8abb3537eb51 Simplified Bank Statement Import 24.1.18927.20657 'Global' True Microsoft
- ea130081-c669-460f-a5f4-5dde14f03131 Statistical Accounts 24.1.18927.20657 'Global' True Microsoft
- b3780cd9-f8f8-4a83-a4d5-0c2ad87b28af Sustainability 24.1.18927.20657 'Global' True Microsoft
- a0673989-48a4-48a0-9517-499c9f4037d3 Sustainability Contoso Coffee Demo Dataset 24.1.18927.20657 'Global' True Microsoft
- 63ca2fa4-4f03-4f2b-a480-172fef340d3f System Application 24.1.18927.20657 'Global' True Microsoft
- 7961e9dc-a8e5-49b1-839b-3a78803a4cb8 Troubleshoot FA Ledger Entries 24.1.18927.20657 'Global' True Microsoft
- 2654d7e7-9afd-4947-9e02-6bb8f3e0cd04 Universal Print Integration 24.1.18927.20657 'Global' True Microsoft
- c50a4bf0-db51-4ad2-88d5-fe2287da0eb8 VAT Group Management 24.1.18927.20657 'Global' True Microsoft
- bae453ed-0fd8-4416-afdc-4b09db6c12c3 WorldPay Payments Standard 24.1.18927.20657 'Global' True Microsoft
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\2d8541f7-afa1-4a2c-9cbf-60cde86ec626\x_24.6.49.0.app
Replacing Package ID with new GUID
Publishing x_24.6.49.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.49.0.app successfully published
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\2d8541f7-afa1-4a2c-9cbf-60cde86ec626\x_24.6.49.0.app
Replacing Package ID with new GUID
Publishing x_24.6.49.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.49.0.app successfully published
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\2d8541f7-afa1-4a2c-9cbf-60cde86ec626\x_24.6.49.0.app
Replacing Package ID with new GUID
Publishing x_24.6.49.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.49.0.app successfully published
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\2d8541f7-afa1-4a2c-9cbf-60cde86ec626\x_24.6.49.0.app
Replacing Package ID with new GUID
Publishing x_24.6.49.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.49.0.app successfully published
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\2d8541f7-afa1-4a2c-9cbf-60cde86ec626\x_24.6.49.0.app
Replacing Package ID with new GUID
Publishing x_24.6.49.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.49.0.app successfully published
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\2d8541f7-afa1-4a2c-9cbf-60cde86ec626\x_24.6.49.0.app
Replacing Package ID with new GUID
Publishing x_24.6.49.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.49.0.app successfully published
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\2d8541f7-afa1-4a2c-9cbf-60cde86ec626\x_24.6.49.0.app
Replacing Package ID with new GUID
Publishing x_24.6.49.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.49.0.app successfully published
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\2d8541f7-afa1-4a2c-9cbf-60cde86ec626\X GROUP_x_24.6.49.0.app
Replacing Package ID with new GUID
Publishing X GROUP_x_24.6.49.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App X GROUP_x_24.6.49.0.app successfully published

Hope it will help.

@DesarrolloBC
Copy link
Author

DesarrolloBC commented Jul 12, 2024

Here is the one that failed:

Run microsoft/AL-Go-Actions/Deploy@v5.2
  with:
    shell: powershell
    environmentName: MXSandboxTest
    artifactsFolder: .artifacts
    type: CD
    deploymentEnvironmentsJson: {"MXSandboxTest":{"companyId":"","EnvironmentType":"SaaS","ppEnvironmentUrl":"","Branches":[],"EnvironmentName":"MXSandboxTest","runs-on":["windows-latest"],"Projects":"*","continuousDeployment":null,"shell":"powershell","BranchesFromPolicy":["test"],"SyncMode":null}}
    token: ***
  env:
    workflowDepth: 1
    ALGoOrgSettings: 
    ALGoRepoSettings: 
    type: PTE
    powerPlatformSolutionFolder: 
    Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":47,"installTestApps":[],"versioningStrategy":16,"installApps":[],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","country":"es","templateSha":"81cff3d03e8fe6b88ee3fc0848594bfd4d9039a4","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","configPackages":[],"generateDependencyArtifact":false,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyName":"","assignPremiumPlan":false,"artifact":"","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"24.6","doNotPublishApps":false,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","powerPlatformSolutionFolder":"","treatTestFailuresAsWarnings":false,"additionalCountries":[],"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}"},"customCodeCops":[],"appDependencies":[],"doNotRunBcptTests":false,"DeployToMy-MXSandboxTest":{"EnvironmentName":"MXSandboxTest","Scope":"PTE","continuousDeployment":false,"SyncMode":"ForceSync"},"appDependencyProbingPaths":[],"useCompilerFolder":false,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"CICDPushBranches":["main","test"],"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","projects":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":1,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","vsixFile":"","useProjectDependencies":false,"unusedALGoSystemFiles":[],"buildModes":[],"enableUICop":false,"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","CICDPullRequestBranches":["main","test"],"appFolders":["x","ExtensionTemporal","x","x","x","x","x","x"],"repoName":"D365BC","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
    Secrets: {"AuthContext":"***","MXSandboxTest-AuthContext":"","MXSandboxTest_AuthContext":"","MXSandboxTest-EnvironmentName":"","MXSandboxTest_EnvironmentName":"","EnvironmentName":"","projects":""}
Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
  $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
  try {
    D:\a\_actions\microsoft\AL-Go-Actions\v5.2\Deploy/Deploy.ps1 -token $ENV:_token -environmentName $ENV:_environmentName -artifactsFolder $ENV:_artifactsFolder -type $ENV:_type -deploymentEnvironmentsJson $ENV:_deploymentEnvironmentsJson
  }
  catch {
    Write-Host "::ERROR::Unexpected error when running action. Error Message: $($_.Exception.Message.Replace("`r",'').Replace("`n",' ')), StackTrace: $($_.ScriptStackTrace.Replace("`r",'').Replace("`n",' <- '))";
    exit 1
  }
  shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
  env:
    workflowDepth: 1
    ALGoOrgSettings: 
    ALGoRepoSettings: 
    type: PTE
    powerPlatformSolutionFolder: 
    Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":47,"installTestApps":[],"versioningStrategy":16,"installApps":[],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","country":"es","templateSha":"81cff3d03e8fe6b88ee3fc0848594bfd4d9039a4","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","configPackages":[],"generateDependencyArtifact":false,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyName":"","assignPremiumPlan":false,"artifact":"","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"24.6","doNotPublishApps":false,"doNotSignApps":false,"githubRunnerShell":"powershell","cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","powerPlatformSolutionFolder":"","treatTestFailuresAsWarnings":false,"additionalCountries":[],"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}"},"customCodeCops":[],"appDependencies":[],"doNotRunBcptTests":false,"DeployToMy-MXSandboxTest":{"EnvironmentName":"MXSandboxTest","Scope":"PTE","continuousDeployment":false,"SyncMode":"ForceSync"},"appDependencyProbingPaths":[],"useCompilerFolder":false,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"CICDPushBranches":["main","test"],"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","shell":"powershell","deliverToAppSource":{"mainAppFolder":"","productId":"","includeDependencies":[],"continuousDelivery":false},"failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","projects":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":1,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","vsixFile":"","useProjectDependencies":false,"unusedALGoSystemFiles":[],"buildModes":[],"enableUICop":false,"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","CICDPullRequestBranches":["main","test"],"appFolders":["x","ExtensionTemporal","x","x","x","x","x","x"],"repoName":"D365BC","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
    Secrets: {"AuthContext":"***","MXSandboxTest-AuthContext":"","MXSandboxTest_AuthContext":"","MXSandboxTest-EnvironmentName":"","MXSandboxTest_EnvironmentName":"","EnvironmentName":"","projects":""}
    _token: ***
    _environmentName: MXSandboxTest
    _artifactsFolder: .artifacts
    _type: CD
    _deploymentEnvironmentsJson: {"MXSandboxTest":{"companyId":"","EnvironmentType":"SaaS","ppEnvironmentUrl":"","Branches":[],"EnvironmentName":"MXSandboxTest","runs-on":["windows-latest"],"Projects":"*","continuousDeployment":null,"shell":"powershell","BranchesFromPolicy":["test"],"SyncMode":null}}
Downloading BcContainerHelper latest version from Blob Storage
Import from C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\BcContainerHelper.ps1
BcContainerHelper version 6.0.19
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 5.1.20348.2400
project '*'
Apps to deploy
D:\a\D365BC\D365BC\.artifacts\D365BC-test-Apps-24.6.47.0
Attempting authentication to https://api.businesscentral.dynamics.com/user_impersonation offline_access using refresh token...
Authenticated using refresh token as user Desarrollo (x@x)
EnvironmentUrl: https://businesscentral.dynamics.com/{guid}/MXSandboxTest
Publishing apps using development endpoint
InstalledApps:
- 16319982-4995-4fb1-8fb2-2b1e13773e3b AMC Banking 365 Fundamentals 24.1.18927.21567 'Global' True Microsoft
- a190e87b-2f59-4e14-a727-421877802768 API - Cross Environment Intercompany 24.1.18927.20657 'Global' True Microsoft
- a2cc2ef8-949f-43d4-45b8-10bd6f8bc62c API Reports - Finance 24.1.18927.20657 'Global' True Microsoft
- c1335042-3002-4257-bf8a-75c898ccb1b8 Application 24.1.18927.20657 'Global' True Microsoft
- a41b0c3e-bf1c-4c97-ad1b-b430a3933ada Audit File Export 24.1.18927.20657 'Global' True Microsoft
- 63c9fbe6-d4f3-458c-8c25-644c90a0874a Bank Account Reconciliation With AI 24.1.18927.20657 'Global' True Microsoft
- 437dbf0e-84ff-417a-965d-ed2bb9650972 Base Application 24.1.18927.21567 'Global' True Microsoft
- 6992416f-3f39-4d3c-8242-3fff61350bea Business Central Cloud Migration - Previous Release 24.1.18927.20657 'Global' True Microsoft
- 6babad6a-c6b1-4842-b3e2-50c3db9085d7 Business Central Cloud Migration - Previous Release (ES) 24.1.18927.20657 'Global' True Microsoft
- 57623bfa-0559-4bc2-ae1c-0979c29fc8d1 Business Central Cloud Migration API 24.1.18927.20657 'Global' True Microsoft
- 334ef79e-547e-4631-8ba1-7a7f18e14de6 Business Central Intelligent Cloud 24.1.18927.20657 'Global' True Microsoft
- f3552374-a1f2-4356-848e-196002525837 Business Foundation 24.1.18927.21567 'Global' True Microsoft
- c512d720-63b9-4b26-b062-a0c09b4ed322 Company Hub 24.1.18927.20657 'Global' True Microsoft
- 5a0b41e9-7a42-4123-d521-2265186cfb31 Contoso Coffee Demo Dataset 24.1.18927.20657 'Global' True Microsoft
- 5b0a41a1-7b42-4123-a521-2265186cfb31 Contoso Coffee Demo Dataset (ES) 24.1.18927.20657 'Global' True Microsoft
- 7819d79d-feea-4f09-bbed-5bbaca4bf323 Data Archive 24.1.18927.20657 'Global' True Microsoft
- e28d62da-ceb0-46e7-9e06-774bc46f4bac Data Editor Tool 3.0.0.0 ' PTE' True Volodymyr Dvernytskyi
- ac14293f-1eb7-4a7b-9936-b280da31970b Data Search 24.1.18927.20657 'Global' True Microsoft
- cc11c22e-5ca3-423f-8804-88cac6d91983 Dynamics BC Excel Reports 24.1.18927.20657 'Global' True Microsoft
- e1d97edc-c239-46b4-8d84-6368bdf67c8b E-Document Core 24.1.18927.20657 'Global' True Microsoft
- de0dddf3-9917-430d-8d20-6e7679a08500 E-Document Core Demo Data 24.1.18927.20657 'Global' True Microsoft
- d852a468-263e-49e5-bfda-f09e33342b89 E-Documents Connector with External Endpoints 24.1.18927.20657 'Global' True Microsoft
- 08d69832-9231-429e-be2c-8bab2c96905b Email - Current User Connector 24.1.18927.20657 'Global' True Microsoft
- aceb66c8-472e-437c-81d3-27e6c07d0f14 Email - Microsoft 365 Connector 24.1.18927.20657 'Global' True Microsoft
- e6328152-bb29-4664-9dae-3bc7eaae1fd8 Email - Outlook REST API 24.1.18927.21567 'Global' True Microsoft
- 8fc50dfb-d338-4fd9-9499-5e44cc8cbf50 Email - SMTP API 24.1.18927.20657 'Global' True Microsoft
- 68e13fa3-217a-4be0-9141-99e5bf0ca818 Email - SMTP Connector 24.1.18927.20657 'Global' True Microsoft
- e2ae191d-8829-44c3-a373-3749a2742d4e Enforced Digital Vouchers 24.1.18927.21567 'Global' True Microsoft
- 64c9d5e2-7744-4866-bc0e-5ebc2898e651 Error Messages with Recommendations 24.1.18927.20657 'Global' True Microsoft
- 2a89f298-7ffd-44a5-a7ce-e08dac98abce Essential Business Headlines 24.1.18927.20657 'Global' True Microsoft
- 58623bfa-0559-4bc2-ae1c-0979c29fd9e0 Intelligent Cloud Base 24.1.18927.20657 'Global' True Microsoft
- 70912191-3c4c-49fc-a1de-bc6ea1ac9da6 Intrastat Core 24.1.18927.20657 'Global' True Microsoft
- bb959a21-0424-439f-bbcc-77280721a9ae Intrastat ES 24.1.18927.20657 'Global' True Microsoft
- 3d5b2137-efeb-4014-8489-41d37f8fd4c3 Late Payment Prediction 24.1.18927.20657 'Global' True Microsoft
- d09fa965-9a2a-424d-b704-69f3b54ed0ce Payment Links to PayPal 24.1.18927.20657 'Global' True Microsoft
- 64977288-facd-4b48-aaaa-bb0e288edfb3 Payment Practices 24.1.18927.20657 'Global' True Microsoft
- a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8 Recommended Apps 24.1.18927.20657 'Global' True Microsoft
- 87990153-0e35-4e5d-ba61-2e93077d1699 Review General Ledger Entries 24.1.18927.20657 'Global' True Microsoft
- c526b3e9-b8ca-4683-81ba-fcd5f6b1472a Sales and Inventory Forecast 24.1.18927.20657 'Global' True Microsoft
- dd3f226b-40bf-4b3c-9988-9b1e0f74edd8 Sales Lines Suggestions 24.1.18927.20657 'Global' True Microsoft
- 8c972578-fe72-4aa5-ae51-cc5575fef2ea Send To Email Printer 24.1.18927.20657 'Global' True Microsoft
- e2ae191d-8829-44c3-a373-3749a2742d4d Service Declaration 24.1.18927.20657 'Global' True Microsoft
- ec255f57-31d0-4ca2-b751-f2fa7c745abb Shopify Connector 24.1.18927.21567 'Global' True Microsoft
- 79b1a79a-2f66-4736-bc1b-8abb3537eb51 Simplified Bank Statement Import 24.1.18927.20657 'Global' True Microsoft
- ea130081-c669-460f-a5f4-5dde14f03131 Statistical Accounts 24.1.18927.20657 'Global' True Microsoft
- b3780cd9-f8f8-4a83-a4d5-0c2ad87b28af Sustainability 24.1.18927.20657 'Global' True Microsoft
- a0673989-48a4-48a0-9517-499c9f4037d3 Sustainability Contoso Coffee Demo Dataset 24.1.18927.20657 'Global' True Microsoft
- 63ca2fa4-4f03-4f2b-a480-172fef340d3f System Application 24.1.18927.20657 'Global' True Microsoft
- 7961e9dc-a8e5-49b1-839b-3a78803a4cb8 Troubleshoot FA Ledger Entries 24.1.18927.20657 'Global' True Microsoft
- 2654d7e7-9afd-4947-9e02-6bb8f3e0cd04 Universal Print Integration 24.1.18927.20657 'Global' True Microsoft
- c50a4bf0-db51-4ad2-88d5-fe2287da0eb8 VAT Group Management 24.1.18927.20657 'Global' True Microsoft
- bae453ed-0fd8-4416-afdc-4b09db6c12c3 WorldPay Payments Standard 24.1.18927.20657 'Global' True Microsoft
Replacing Package ID with new GUID
Publishing x.x_24.6.47.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
Status Code 422 : Unprocessable Entity
No se puede actualizar la extensión NAV 'x.x by x 24.6.47.0' debido al error siguiente: 'TableExtension 70012 x :: No se encuentra el campo 'Last Date'. No se permite quitar campos.
TableExtension 70001 x :: No se encuentra el campo 'Calculation Day'. No se permite quitar campos.
TableExtension 70001 x :: No se encuentra el campo 'Location Filter'. No se permite quitar campos.
TableExtension 70001 x :: No se encuentra el campo 'Email'. No se permite quitar campos.'.

Publish-BcContainerApp Telemetry Correlation Id: c188e000-4a16-429e-8475-6130e5e12579
Error: Deploying to MXSandboxTest failed.  Status Code 422 : Unprocessable Entity No se puede actualizar la extensión NAV 'x.x by x 24.6.47.0' debido al error siguiente: TableExtension 70001 x :: No se encuentra el campo 'Calculation Day'. No se permite quitar campos.TableExtension 70001 x :: No se encuentra el campo 'Location Filter'. No se permite quitar campos.TableExtension 70001 x :: No se encuentra el campo 'Email'. No se permite quitar campos.'.
Error: Process completed with exit code 1.

@freddydk
Copy link
Collaborator

The deployment scope is only added to preview at this time - https://github.com/microsoft/AL-Go/blob/main/RELEASENOTES.md

This above v5.2 is not included in v5.2 - and v5.3 will ship in 2-3 weeks.

if you run Update AL-Go System Files with microsoft/AL-Go-PTE@preview - it should work.

@DesarrolloBC
Copy link
Author

Hello @freddydk,

First of all, thanks for your help. I've already done what you suggest, and it is still deploying it in Dev Mode and in SchemaUpdateMode=synchronize.

Of course, I'm using the latest AL Go Preview.

Here I attach you again the logcat, and hope we can find together a solution for this.

Run microsoft/AL-Go/Actions/Deploy@5eeeec54ab7e6a9d97701effe420ef74bda08c67
  with:
    shell: powershell
    environmentName: MXSandboxTest
    artifactsFolder: .artifacts
    type: CD
    deploymentEnvironmentsJson: {"MXSandboxTest":{"BranchesFromPolicy":["test"],"ppEnvironmentUrl":"","Scope":null,"EnvironmentName":"MXSandboxTest","continuousDeployment":null,"shell":"powershell","Projects":"*","EnvironmentType":"SaaS","runs-on":["windows-latest"],"companyId":"","Branches":[],"SyncMode":null}}
  env:
    workflowDepth: 1
    ALGoOrgSettings: 
    ALGoRepoSettings: 
    type: PTE
    powerPlatformSolutionFolder: 
    Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":56,"installTestApps":[],"versioningStrategy":16,"installApps":[],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"es","templateSha":"0aab342a0ddd80612fafbc5149c8e95b3476b12a","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":false,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyNa
    Secrets: {"AuthContext":"***","MXSandboxTest-AuthContext":"","MXSandboxTest_AuthContext":""}
Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
  $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
  try {
    D:\a\_actions\microsoft\AL-Go\5eeeec54ab7e6a9d97701effe420ef74bda08c67\Actions/Deploy/Deploy.ps1 -environmentName $ENV:_environmentName -artifactsFolder $ENV:_artifactsFolder -type $ENV:_type -deploymentEnvironmentsJson $ENV:_deploymentEnvironmentsJson
  }
  catch {
    Write-Host "::ERROR::Unexpected error when running action. Error Message: $($_.Exception.Message.Replace("`r",'').Replace("`n",' ')), StackTrace: $($_.ScriptStackTrace.Replace("`r",'').Replace("`n",' <- '))";
    exit 1
  }
  shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
  env:
    workflowDepth: 1
    ALGoOrgSettings: 
    ALGoRepoSettings: 
    type: PTE
    powerPlatformSolutionFolder: 
    Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":56,"installTestApps":[],"versioningStrategy":16,"installApps":[],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","vsixFile":"","country":"es","templateSha":"0aab342a0ddd80612fafbc5149c8e95b3476b12a","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","generateDependencyArtifact":false,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"windows-latest","doNotBuildTests":false,"environments":[],"companyNa
    Secrets: {"AuthContext":"***","MXSandboxTest-AuthContext":"","MXSandboxTest_AuthContext":""}
    _environmentName: MXSandboxTest
    _artifactsFolder: .artifacts
    _type: CD
    _deploymentEnvironmentsJson: {"MXSandboxTest":{"BranchesFromPolicy":["test"],"ppEnvironmentUrl":"","Scope":null,"EnvironmentName":"MXSandboxTest","continuousDeployment":null,"shell":"powershell","Projects":"*","EnvironmentType":"SaaS","runs-on":["windows-latest"],"companyId":"","Branches":[],"SyncMode":null}}
  
Downloading BcContainerHelper preview version from Blob Storage
Import from C:\ProgramData\BcContainerHelper\6.0.20-preview1214\BcContainerHelper\BcContainerHelper.ps1
BcContainerHelper version 6.0.20-preview1214
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 5.1.20348.2582
project '*'
Apps to deploy
D:\a\D365BC\D365BC\.artifacts\D365BC-test-Apps-24.6.56.0
Attempting authentication to https://api.businesscentral.dynamics.com/user_impersonation offline_access using refresh token...
Authenticated using refresh token as user x (x@x.com)
EnvironmentUrl: https://businesscentral.dynamics.com/{guid}/MXSandboxTest
Publishing apps using development endpoint
InstalledApps:
- 16319982-4995-4fb1-8fb2-2b1e13773e3b AMC Banking 365 Fundamentals 24.2.20227.20808 'Global' True Microsoft
- a190e87b-2f59-4e14-a727-421877802768 API - Cross Environment Intercompany 24.2.20227.20579 'Global' True Microsoft
- a2cc2ef8-949f-43d4-45b8-10bd6f8bc62c API Reports - Finance 24.2.20227.20579 'Global' True Microsoft
- c1335042-3002-4257-bf8a-75c898ccb1b8 Application 24.2.20227.20579 'Global' True Microsoft
- a41b0c3e-bf1c-4c97-ad1b-b430a3933ada Audit File Export 24.2.20227.20579 'Global' True Microsoft
- 63c9fbe6-d4f3-458c-8c25-644c90a0874a Bank Account Reconciliation With AI 24.2.20227.20579 'Global' True Microsoft
- 437dbf0e-84ff-417a-965d-ed2bb9650972 Base Application 24.2.20227.21800 'Global' True Microsoft
- 6992416f-3f39-4d3c-8242-3fff61350bea Business Central Cloud Migration - Previous Release 24.2.20227.20579 'Global' True Microsoft
- 6babad6a-c6b1-4842-b3e2-50c3db9085d7 Business Central Cloud Migration - Previous Release (ES) 24.2.20227.20579 'Global' True Microsoft
- 57623bfa-0559-4bc2-ae1c-0979c29fc8d1 Business Central Cloud Migration API 24.2.20227.20579 'Global' True Microsoft
- 334ef79e-547e-4631-8ba1-7a7f18e14de6 Business Central Intelligent Cloud 24.2.20227.20579 'Global' True Microsoft
- f3552374-a1f2-4356-848e-196002525837 Business Foundation 24.2.20227.21800 'Global' True Microsoft
- c512d720-63b9-4b26-b062-a0c09b4ed322 Company Hub 24.2.20227.20579 'Global' True Microsoft
- 5a0b41e9-7a42-4123-d521-2265186cfb31 Contoso Coffee Demo Dataset 24.2.20227.20579 'Global' True Microsoft
- 5b0a41a1-7b42-4123-a521-2265186cfb31 Contoso Coffee Demo Dataset (ES) 24.2.20227.20579 'Global' True Microsoft
- 7819d79d-feea-4f09-bbed-5bbaca4bf323 Data Archive 24.2.20227.20579 'Global' True Microsoft
- e28d62da-ceb0-46e7-9e06-774bc46f4bac Data Editor Tool 3.0.0.0 ' PTE' True Volodymyr Dvernytskyi
- ac14293f-1eb7-4a7b-9936-b280da31970b Data Search 24.2.20227.20579 'Global' True Microsoft
- cc11c22e-5ca3-423f-8804-88cac6d91983 Dynamics BC Excel Reports 24.2.20227.20579 'Global' True Microsoft
- e1d97edc-c239-46b4-8d84-6368bdf67c8b E-Document Core 24.2.20227.20579 'Global' True Microsoft
- de0dddf3-9917-430d-8d20-6e7679a08500 E-Document Core Demo Data 24.2.20227.20579 'Global' True Microsoft
- d852a468-263e-49e5-bfda-f09e33342b89 E-Documents Connector with External Endpoints 24.2.20227.20579 'Global' True Microsoft
- 08d69832-9231-429e-be2c-8bab2c96905b Email - Current User Connector 24.2.20227.20579 'Global' True Microsoft
- aceb66c8-472e-437c-81d3-27e6c07d0f14 Email - Microsoft 365 Connector 24.2.20227.20579 'Global' True Microsoft
- e6328152-bb29-4664-9dae-3bc7eaae1fd8 Email - Outlook REST API 24.2.20227.20808 'Global' True Microsoft
- 8fc50dfb-d338-4fd9-9499-5e44cc8cbf50 Email - SMTP API 24.2.20227.20579 'Global' True Microsoft
- 68e13fa3-217a-4be0-9141-99e5bf0ca818 Email - SMTP Connector 24.2.20227.20579 'Global' True Microsoft
- e2ae191d-8829-44c3-a373-3749a2742d4e Enforced Digital Vouchers 24.2.20227.21800 'Global' True Microsoft
- 64c9d5e2-7744-4866-bc0e-5ebc2898e651 Error Messages with Recommendations 24.2.20227.20579 'Global' True Microsoft
- 2a89f298-7ffd-44a5-a7ce-e08dac98abce Essential Business Headlines 24.2.20227.20579 'Global' True Microsoft
- 58623bfa-0559-4bc2-ae1c-0979c29fd9e0 Intelligent Cloud Base 24.2.20227.20579 'Global' True Microsoft
- 70912191-3c4c-49fc-a1de-bc6ea1ac9da6 Intrastat Core 24.2.20227.20579 'Global' True Microsoft
- bb959a21-0424-439f-bbcc-77280721a9ae Intrastat ES 24.2.20227.20579 'Global' True Microsoft
- 3d5b2137-efeb-4014-8489-41d37f8fd4c3 Late Payment Prediction 24.2.20227.20579 'Global' True Microsoft
- d09fa965-9a2a-424d-b704-69f3b54ed0ce Payment Links to PayPal 24.2.20227.20579 'Global' True Microsoft
- 64977288-facd-4b48-aaaa-bb0e288edfb3 Payment Practices 24.2.20227.20579 'Global' True Microsoft
- a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8 Recommended Apps 24.2.20227.20579 'Global' True Microsoft
- 87990153-0e35-4e5d-ba61-2e93077d1699 Review General Ledger Entries 24.2.20227.20579 'Global' True Microsoft
- c526b3e9-b8ca-4683-81ba-fcd5f6b1472a Sales and Inventory Forecast 24.2.20227.20579 'Global' True Microsoft
- dd3f226b-40bf-4b3c-9988-9b1e0f74edd8 Sales Lines Suggestions 24.2.20227.20579 'Global' True Microsoft
- 8c972578-fe72-4aa5-ae51-cc5575fef2ea Send To Email Printer 24.2.20227.20579 'Global' True Microsoft
- e2ae191d-8829-44c3-a373-3749a2742d4d Service Declaration 24.2.20227.20579 'Global' True Microsoft
- ec255f57-31d0-4ca2-b751-f2fa7c745abb Shopify Connector 24.2.20227.21800 'Global' True Microsoft
- 79b1a79a-2f66-4736-bc1b-8abb3537eb51 Simplified Bank Statement Import 24.2.20227.20579 'Global' True Microsoft
- ea130081-c669-460f-a5f4-5dde14f03131 Statistical Accounts 24.2.20227.20579 'Global' True Microsoft
- b3780cd9-f8f8-4a83-a4d5-0c2ad87b28af Sustainability 24.2.20227.20579 'Global' True Microsoft
- a0673989-48a4-48a0-9517-499c9f4037d3 Sustainability Contoso Coffee Demo Dataset 24.2.20227.20579 'Global' True Microsoft
- 63ca2fa4-4f03-4f2b-a480-172fef340d3f System Application 24.2.20227.21800 'Global' True Microsoft
- 7961e9dc-a8e5-49b1-839b-3a78803a4cb8 Troubleshoot FA Ledger Entries 24.2.20227.20579 'Global' True Microsoft
- 2654d7e7-9afd-4947-9e02-6bb8f3e0cd04 Universal Print Integration 24.2.20227.21800 'Global' True Microsoft
- c50a4bf0-db51-4ad2-88d5-fe2287da0eb8 VAT Group Management 24.2.20227.20579 'Global' True Microsoft
- bae453ed-0fd8-4416-afdc-4b09db6c12c3 WorldPay Payments Standard 24.2.20227.20579 'Global' True Microsoft
Replacing Package ID with new GUID
Replacing Package ID with new GUID
Replacing Package ID with new GUID
Replacing Package ID with new GUID
Replacing Package ID with new GUID
Replacing Package ID with new GUID
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\4b556c47-48e0-4fd9-9ce0-b8c4479b72e3\x_24.6.56.0.app
Replacing Package ID with new GUID
Publishing x_24.6.56.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.56.0.app successfully published
Checking dependencies in C:\Users\runneradmin\AppData\Local\Temp\4b556c47-48e0-4fd9-9ce0-b8c4479b72e3\x_24.6.56.0.app
Replacing Package ID with new GUID
Publishing x_24.6.56.0.app to https://api.businesscentral.dynamics.com/v2.0/MXSandboxTest/dev/apps?SchemaUpdateMode=synchronize
App x_24.6.56.0.app successfully published

image

@freddydk
Copy link
Collaborator

It looks like it doesn't find your settings at all.
What is the name or the GitHub environment?
Is that My-MXSandboxTest or MXSandboxTest ?

@DesarrolloBC
Copy link
Author

DesarrolloBC commented Jul 18, 2024

It's MXSandboxTest, but it doesn't have sense the way it tries to find the environment, as I think it has to find the name of the environment after the "-".

image

@freddydk
Copy link
Collaborator

Then the deployto setting needs to be DeploToMXSandboxTest without the my-

@DesarrolloBC
Copy link
Author

DesarrolloBC commented Jul 18, 2024

Okay,

now it seems to be working fine @freddydk . This was an easy one I think.

Just as a suggestion, to prevent anyone from fighting against AL Go with this scenario, it would be great if you can improve the documentation for 3 facts, I think it will help for a lot of people out there.

1- Scope and syncmode is only available at the moment for Preview.
2- How it has to be named the env inside the settings.json in order for the pipeline to grab these settings and apply them during the deployment.
3- There has to be a Warning or error during the execution displaying that no setting was found.

This issue can be closed.

Thanks again for your help.

@freddydk
Copy link
Collaborator

Currently, the way to determine what's in preview and what's in a specific version is to look in the releasenotes and see under which version a feature is described. If it isn't under a specific version, it is either not yet released or in preview.
We will work on making this more transparent using the roadmap and GitHub project management better.

I will add a small description to https://aka.ms/algosettings#deployto, explaining that the environment name to use for the property is the GitHub environment name, but in your case, the GitHub environment name and the BC environment name is identical, so I would like to know where you got My-MXSandboxTest from? There shouldn't be any documentation stating that this should be used?

On the setting not found - most environments won't need settings. It might however be a good idea to have the troubleshooting workflow look through settings for things like this - I will consider adding that.

@freddydk freddydk added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 19, 2024
@freddydk
Copy link
Collaborator

I have added the troubleshooting item to the backlog: https://github.com/orgs/microsoft/projects/521/views/1?pane=issue&itemId=71625987

freddydk added a commit that referenced this issue Jul 23, 2024
Fixes #1137
Fixes #1143
Fixes #1136
Fixes #1147

---------

Co-authored-by: freddydk <freddydk@users.noreply.github.com>
@freddydk freddydk added Fix Ready Fix Ready In Preview Currently available in AL-Go for GitHub preview labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request Fix Ready Fix Ready In Preview Currently available in AL-Go for GitHub preview
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants