microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
381 stars 243 forks source link

VSIX in BCPublicPreview doesn't work with runtime 11 #2936

Closed nickgoddard777 closed 1 year ago

nickgoddard777 commented 1 year ago

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!

Describe the issue I have created a container from the BCPublicPreview of country GB Artifact. I have the Get-LatestAlLanguageExtensionUrl to get the AL extension vsix, I have then installed this in VS Code but it isn't compatible with runtime 11, which is used with v22 of BC. I get the following message when I try to download the symbols:

 This AL extension version for Visual Studio Code cannot be used with the specified server.
Please update the AL extension from the Visual Studio Code marketplace.

Additional information:
Server details
- Runtime: 11.0
- Web API: 6.0
- Debugger: 5.0

AL extension details
- Supported runtimes: 1.0, 2.0, 2.1, 2.2, 2.3, 2.4, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 6.0, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 7.0, 7.1, 7.2, 8.0, 8.1, 9.0, 9.1, 9.2, 10.0, 10.1, 10.2
- Supported Web API: 1.0, 2.0, 3.0, 4.0, 5.0, 6.0
- Supported debuggers: 1.0, 2.0, 3.0, 4.0, 5.0

Scripts used to create container and cause the issue

$containerName = 'bc22-fdl'
$credential = New-Object pscredential 'admin', $securePassword
$auth = 'UserPassword'
$artifactUrl = Get-BcArtifactUrl -type 'Sandbox' -country 'gb' -StorageAccount BcPublicPreview
New-BcContainer `
    -accept_eula `
    -containerName $containerName `
    -credential $credential `
    -auth $auth `
    -artifactUrl $artifactUrl `
    -imageName 'bc22-saas-090323' `
    -multitenant:$false `
    -includeTestToolkit `
    -assignPremiumPlan `
    -licenseFile $licenseFile `
    -vsixFile (Get-LatestAlLanguageExtensionUrl) `
    -updateHosts `
    -EnableTaskScheduler:$false
Setup-BcContainerTestUsers -containerName $containerName -Password $credential.Password -credential $credential

Full output of scripts

Default parameter Isolation = Process
BcContainerHelper is version 4.0.10
BcContainerHelper is running as administrator
Hyper-V is Disabled
UsePsSession is True
Host is Microsoft Windows Server 2019 Datacenter - ltsc2019
Docker Client Version is 20.10.17
Docker Server Version is 20.10.17
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
ArtifactUrl and ImageName specified
Building image bc22-saas-090323:sandbox-22.0.53722.0-gb based on mcr.microsoft.com/businesscentral:10.0.17763.3287 with https://BcPublicPreview.azureedge.net/sandbox/22.0.53722.0/gb
Pulling latest image mcr.microsoft.com/businesscentral:10.0.17763.3287
10.0.17763.3287: Pulling from businesscentral
Digest: sha256:c45a49da403e42118c5f1acf17b12503a0fc20f2bd1ee2d0486db6b4258af7f4
Status: Image is up to date for mcr.microsoft.com/businesscentral:10.0.17763.3287
mcr.microsoft.com/businesscentral:10.0.17763.3287
Generic Tag: 1.0.2.14
Container OS Version: 10.0.17763.3287 (ltsc2019)
Host OS Version: 10.0.17763.3287 (ltsc2019)
Using Process isolation
Using license file M:\Tools\Licences\5268414.bclicense
Files in c:\bcartifacts.cache\ineh1wrt.bcy\my:
Copying Platform Artifacts
c:\bcartifacts.cache\sandbox\22.0.53722.0\platform
Copying Database
Copying Licensefile
Copying ConfigurationPackages
C:\bcartifacts.cache\sandbox\22.0.53722.0\gb\ConfigurationPackages
Copying Extensions
C:\bcartifacts.cache\sandbox\22.0.53722.0\gb\Extensions
Copying Applications.GB
C:\bcartifacts.cache\sandbox\22.0.53722.0\gb\Applications.GB
c:\bcartifacts.cache\ineh1wrt.bcy
Sending build context to Docker daemon  2.484GB

Step 1/6 : FROM mcr.microsoft.com/businesscentral:10.0.17763.3287
 ---> d7fd1152d662
Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=Y artifactUrl=https://BcPublicPreview.azureedge.net/sandbox/22.0.53722.0/gb filesOnly=False
 ---> Running in fc63f0c4c9ed
Removing intermediate container fc63f0c4c9ed
 ---> 7dd4d66a0a04
Step 3/6 : COPY my /run/
 ---> 9011b140dbdf
Step 4/6 : COPY NAVDVD /NAVDVD/
 ---> 17b1de0dc9c0
Step 5/6 : RUN \Run\start.ps1 -installOnly -includeTestToolkit
 ---> Running in b467277fff3d
c:\run\my folder doesn't exist, creating it
Using installer from C:\Run\210-new
Installing Business Central
Installing from DVD
Starting Local SQL Server
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
Starting Internet Information Server
Copying Service Tier Files
C:\NAVDVD\ServiceTier\Program Files
C:\NAVDVD\ServiceTier\System64Folder
Copying PowerShell Scripts
C:\NAVDVD\WindowsPowerShellScripts\Cloud\NAVAdministration
C:\NAVDVD\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
C:\NAVDVD\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
C:\NAVDVD
C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\NAVDVD\ConfigurationPackages
Copying Test Assemblies
C:\NAVDVD\Test Assemblies
Copying Extensions
C:\NAVDVD\Extensions
Copying Applications
C:\NAVDVD\Applications
Copying Applications.GB
C:\NAVDVD\Applications.GB
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing CRONUS license file
Stopping Business Central Service Tier
Installation took 722 seconds
Installation complete
Removing intermediate container b467277fff3d
 ---> 6da219f28434
Step 6/6 : LABEL legal="http://go.microsoft.com/fwlink/?LinkId=837447"       created="202303091618"       nav=""       cu=""       country="GB"       version="22.0.53722.0"       platform="22
.0.53668.0"
 ---> Running in 5b96dc2e44e3
Removing intermediate container 5b96dc2e44e3
 ---> 8131e239ef57
Successfully built 8131e239ef57
Successfully tagged bc22-saas-090323:sandbox-22.0.53722.0-gb
Building image took 2042 seconds
Using image bc22-saas-090323:sandbox-22.0.53722.0-gb
Creating Container bc22-fdl
Style: sandbox
Multitenant: No
Version: 22.0.53722.0
Platform: 22.0.53668.0
Generic Tag: 1.0.2.14
Container OS Version: 10.0.17763.3287 (ltsc2019)
Host OS Version: 10.0.17763.3287 (ltsc2019)
Using Process isolation
Using locale en-GB
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading c:\programdata\navcontainerhelper\Extensions\bc22-fdl\Microsoft.VisualStudio.Services.VSIXPackage.vsix
Using WebClient
Using license file M:\Tools\Licences\5268414.bclicense
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=False
Files in c:\programdata\navcontainerhelper\Extensions\bc22-fdl\my:
- AdditionalOutput.ps1
- license.bclicense
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bc22-fdl from image bc22-saas-090323:sandbox-22.0.53722.0-gb
87cf6a1c9be4c63c522d4c6972dbc4ee9bed4fe33e43fe94f48917766ba6830d
Waiting for container bc22-fdl to be ready
Initializing...
Setting host.containerhelper.internal to 172.25.64.1 in container hosts file
Starting Container
Hostname is bc22-fdl
PublicDnsName is bc22-fdl
Using NavUserPassword Authentication
Starting Local SQL Server
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
start...
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint E09CBB153CEEA58EF706299E294F55830B787336
DNS identity bc22-fdl
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to False
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Using license file 'c:\run\my\license.bclicense'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
WARNING: Caution: Your program license expires in 11 days.
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: Caution: Your program license expires in 11 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 11 days.
WARNING: This license is not compatible with this version of Business Central.
WARNING: Caution: Your program license expires in 11 days.
WARNING: This license is not compatible with this version of Business Central.
Assign Premium plan for ADMIN
Container IP Address: 172.25.68.72
Container Hostname  : bc22-fdl
Container Dns Name  : bc22-fdl
Web Client          : http://bc22-fdl/BC/
Dev. Server         : http://bc22-fdl
Dev. ServerInstance : BC
Setting bc22-fdl to 172.25.68.72 in host hosts file

Files:
http://bc22-fdl:8080/Microsoft.VisualStudio.Services.VSIXPackage.vsix

WARNING: You are running a container which is 210 days old.
Microsoft recommends that you always run the latest version of our containers.

Container Total Physical Memory is 16.0Gb
Container Free Physical Memory is 1.9Gb

Initialization took 215 seconds
Ready for connections!
Reading CustomSettings.config from bc22-fdl
Creating Desktop Shortcuts for bc22-fdl
Synchronizing Permissions Mock on default
App successfully synchronized
Installing Permissions Mock on default
App successfully installed
Synchronizing Test Runner on default
App successfully synchronized
Installing Test Runner on default
App successfully installed
Synchronizing Any on default
App successfully synchronized
Installing Any on default
App successfully installed
Synchronizing Library Assert on default
App successfully synchronized
Installing Library Assert on default
App successfully installed
Skipping app 'C:\Applications.GB\Microsoft_Permissions Mock_22.0.53722.0.app' as it is already installed
Synchronizing Library Variable Storage on default
App successfully synchronized
Installing Library Variable Storage on default
App successfully installed
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\886b9ac3-d7b8-4f42-b767-7f55c74d9d3c\Microsoft_System Application Test Library_22.0.53722.0.app
Synchronizing System Application Test Library on tenant default
Installing System Application Test Library on tenant default
App Microsoft_System Application Test Library_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\47da5d0e-3b89-41e9-b8c2-aceb5d1b6994\Microsoft_Tests-TestLibraries_22.0.53722.0.app
Synchronizing Tests-TestLibraries on tenant default
Installing Tests-TestLibraries on tenant default
App Microsoft_Tests-TestLibraries_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\d3b82be3-0c13-4935-ab07-23e9a1895115\Microsoft_Tests-Bank_22.0.53722.0.app
Synchronizing Tests-Bank on tenant default
Installing Tests-Bank on tenant default
App Microsoft_Tests-Bank_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\0ad40917-42b4-4aee-9461-5db06742411a\Microsoft_Tests-Cash Flow_22.0.53722.0.app
Synchronizing Tests-Cash Flow on tenant default
Installing Tests-Cash Flow on tenant default
App Microsoft_Tests-Cash Flow_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\6054d348-86ab-48ca-8234-55f5161ffad1\Microsoft_Tests-Cost Accounting_22.0.53722.0.app
Synchronizing Tests-Cost Accounting on tenant default
Installing Tests-Cost Accounting on tenant default
App Microsoft_Tests-Cost Accounting_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\f936564e-ed64-45d4-8324-e4c36de5b1ae\Microsoft_Tests-CRM integration_22.0.53722.0.app
Synchronizing Tests-CRM integration on tenant default
Installing Tests-CRM integration on tenant default
App Microsoft_Tests-CRM integration_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\4ab0901b-41cd-4836-970a-8f05a00b9404\Microsoft_Tests-Data Exchange_22.0.53722.0.app
Synchronizing Tests-Data Exchange on tenant default
Installing Tests-Data Exchange on tenant default
App Microsoft_Tests-Data Exchange_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\1797300a-9bdd-4eb2-8841-7cc83f10e871\Microsoft_Tests-Dimension_22.0.53722.0.app
Synchronizing Tests-Dimension on tenant default
Installing Tests-Dimension on tenant default
App Microsoft_Tests-Dimension_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\0b48b4e8-b846-40b4-9a89-a7775c714b6e\Microsoft_Tests-ERM_22.0.53722.0.app
Synchronizing Tests-ERM on tenant default
Installing Tests-ERM on tenant default
App Microsoft_Tests-ERM_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\48903907-fc1e-48c5-8797-3d996e4bf8a4\Microsoft_Tests-Fixed Asset_22.0.53722.0.app
Synchronizing Tests-Fixed Asset on tenant default
Installing Tests-Fixed Asset on tenant default
App Microsoft_Tests-Fixed Asset_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\df5a0ffa-5d0e-4e81-a277-8fdfc13c5628\Microsoft_Tests-General Journal_22.0.53722.0.app
Synchronizing Tests-General Journal on tenant default
Installing Tests-General Journal on tenant default
App Microsoft_Tests-General Journal_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\f30907f1-1a8e-458f-8d4e-1b51dbb78f8d\Microsoft_Tests-Graph_22.0.53722.0.app
Synchronizing Tests-Graph on tenant default
Installing Tests-Graph on tenant default
App Microsoft_Tests-Graph_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\e5db6203-4080-4879-8f8a-767fec037b56\Microsoft_Tests-Integration_22.0.53722.0.app
Synchronizing Tests-Integration on tenant default
Installing Tests-Integration on tenant default
App Microsoft_Tests-Integration_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\99ae9bf4-6687-4b48-9aa6-7fc213ec9c45\Microsoft_Tests-Invoicing_22.0.53722.0.app
Synchronizing Tests-Invoicing on tenant default
Installing Tests-Invoicing on tenant default
App Microsoft_Tests-Invoicing_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\b5b936d3-028c-4ce5-bcf5-043fa225e390\Microsoft_Tests-Job_22.0.53722.0.app
Synchronizing Tests-Job on tenant default
Installing Tests-Job on tenant default
App Microsoft_Tests-Job_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\46635db3-0947-4314-a9d6-b91a3e06cd2d\Microsoft_Tests-Local_22.0.53722.0.app
Synchronizing Tests-Local on tenant default
Installing Tests-Local on tenant default
App Microsoft_Tests-Local_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\ec084120-42ca-46af-ba5a-c01c956ded11\Microsoft_Tests-Marketing_22.0.53722.0.app
Synchronizing Tests-Marketing on tenant default
Installing Tests-Marketing on tenant default
App Microsoft_Tests-Marketing_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\6cc29765-bbcd-4ff4-9f5d-3013dc1dcc85\Microsoft_Tests-Misc_22.0.53722.0.app
Synchronizing Tests-Misc on tenant default
Installing Tests-Misc on tenant default
App Microsoft_Tests-Misc_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\7c533686-1135-4cc7-813c-8587293a50ee\Microsoft_Tests-Monitor Sensitive Fields_22.0.53722.0.app
Synchronizing Tests-Monitor Sensitive Fields on tenant default
Installing Tests-Monitor Sensitive Fields on tenant default
App Microsoft_Tests-Monitor Sensitive Fields_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\8f9f21d7-1d4e-4f19-aef2-2b2e7fe4508c\Microsoft_Tests-Permissions_22.0.53722.0.app
Synchronizing Tests-Permissions on tenant default
Installing Tests-Permissions on tenant default
App Microsoft_Tests-Permissions_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\2ef45091-4797-48d4-8951-a480045d7b06\Microsoft_Tests-Physical Inventory_22.0.53722.0.app
Synchronizing Tests-Physical Inventory on tenant default
Installing Tests-Physical Inventory on tenant default
App Microsoft_Tests-Physical Inventory_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\b2838594-67a3-4d2d-8f12-c8249ec00df0\Microsoft_Tests-Prepayment_22.0.53722.0.app
Synchronizing Tests-Prepayment on tenant default
Installing Tests-Prepayment on tenant default
App Microsoft_Tests-Prepayment_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\f502058e-b544-4ca1-a353-e01abf66cc4f\Microsoft_Tests-Rapid Start_22.0.53722.0.app
Synchronizing Tests-Rapid Start on tenant default
Installing Tests-Rapid Start on tenant default
App Microsoft_Tests-Rapid Start_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\2a0cff9e-207f-48b1-b1ae-f76ae41b8857\Microsoft_Tests-Report_22.0.53722.0.app
Synchronizing Tests-Report on tenant default
Installing Tests-Report on tenant default
App Microsoft_Tests-Report_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\52d2fbe7-2c7d-4313-bac4-caa14acfd0cf\Microsoft_Tests-Resource_22.0.53722.0.app
Synchronizing Tests-Resource on tenant default
Installing Tests-Resource on tenant default
App Microsoft_Tests-Resource_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\c5c62f24-7601-4703-bf65-ef790028f5c2\Microsoft_Tests-Reverse_22.0.53722.0.app
Synchronizing Tests-Reverse on tenant default
Installing Tests-Reverse on tenant default
App Microsoft_Tests-Reverse_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\afd15c37-d6b1-4237-8424-e452a301e0d8\Microsoft_Tests-SCM_22.0.53722.0.app
Synchronizing Tests-SCM on tenant default
Installing Tests-SCM on tenant default
App Microsoft_Tests-SCM_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\e7f5450d-dd9b-4cfc-8e54-85f089b723ba\Microsoft_Tests-SMB_22.0.53722.0.app
Synchronizing Tests-SMB on tenant default
Installing Tests-SMB on tenant default
App Microsoft_Tests-SMB_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\eff6d7d7-0a18-4665-b8ec-d8e6d2b1ac48\Microsoft_Tests-Upgrade_22.0.53722.0.app
Synchronizing Tests-Upgrade on tenant default
Installing Tests-Upgrade on tenant default
App Microsoft_Tests-Upgrade_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\e8c10552-514d-4308-b578-1f2dd29de22e\Microsoft_Tests-User_22.0.53722.0.app
Synchronizing Tests-User on tenant default
Installing Tests-User on tenant default
App Microsoft_Tests-User_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\97d127ce-9749-4c2c-8abd-fa4d4950ede0\Microsoft_Tests-VAT_22.0.53722.0.app
Synchronizing Tests-VAT on tenant default
Installing Tests-VAT on tenant default
App Microsoft_Tests-VAT_22.0.53722.0.app successfully published
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\08d3750c-4522-45ba-8af8-db8d860fbba6\Microsoft_Tests-Workflow_22.0.53722.0.app
Synchronizing Tests-Workflow on tenant default
Installing Tests-Workflow on tenant default
App Microsoft_Tests-Workflow_22.0.53722.0.app successfully published
TestToolkit successfully imported
Container bc22-fdl successfully created

Use:
Get-BcContainerEventLog -containerName bc22-fdl to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName bc22-fdl to get debug information about the container
Enter-BcContainer -containerName bc22-fdl to open a PowerShell prompt inside the container
Remove-BcContainer -containerName bc22-fdl to remove the container again
docker logs bc22-fdl to retrieve information about URL's again
Skipping app 'C:\Applications.GB\Microsoft_Permissions Mock_22.0.53722.0.app' as it is already installed
Skipping app 'C:\Applications.GB\Microsoft_Test Runner_22.0.53722.0.app' as it is already installed
Skipping app 'C:\Applications.GB\Microsoft_Any_22.0.53722.0.app' as it is already installed
Skipping app 'C:\Applications.GB\Microsoft_Library Assert_22.0.53722.0.app' as it is already installed
Skipping app 'C:\Applications.GB\Microsoft_Permissions Mock_22.0.53722.0.app' as it is already installed
Skipping app 'C:\Applications.GB\Microsoft_Library Variable Storage_22.0.53722.0.app' as it is already installed
TestToolkit successfully imported
Downloading C:\Users\nick.goddard\AppData\Local\Temp\1d826e17-d84b-4b63-bb26-8c8cd8f32438
Using WebClient
Publishing c:\programdata\navcontainerhelper\Extensions\bc22-fdl\ff52d244-6f20-4423-b104-de7c66d1b7f1\Microsoft_CreateTestUsers_16.0.7.0.app
Synchronizing CreateTestUsers on tenant default
Installing CreateTestUsers on tenant default
App Microsoft_CreateTestUsers_16.0.7.0.app successfully published
Invoke GET on http://172.25.68.72:7048/BC/api/v1.0/companies?$filter=name%20eq%20%27CRONUS%20UK%20Ltd.%27&tenant=default
Invoke POST on http://172.25.68.72:7048/BC/api/Microsoft/Setup/beta/companies(7c75aaf2-98b6-ed11-a384-000d3a260b81)/testUsers?tenant=default
Uninstalling CreateTestUsers from tenant default
Unpublishing CreateTestUsers
App successfully unpublished

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

curateideas commented 1 year ago

Maybe "LatestAlLanguageExtensionUrl" provides the latest Version for Runtime 10, but not for the insider? If you skip the "-vsixFile" parameter, you get the insider compiler version inside the container, which you can download with the link provided in the information in "docker logs [containername]".

We had the same problem 30 minutes ago and solved it using the vsix from the preview container.

nickgoddard777 commented 1 year ago

Thanks, Christian, that was the issue, got it working now.