Creating AAD App for WebClient Creating AAD App for API Access Creating AAD App for Excel Add-in Creating AAD App for PowerBI Service Creating AAD App for EMail Service BcContainerHelper is version 3.0.11 BcContainerHelper is running as administrator Hyper-V is Enabled UsePsSession is True Host is Microsoft Windows Server 2019 Datacenter - ltsc2019 Docker Client Version is 20.10.9 Docker Server Version is 20.10.9 Removing Desktop shortcuts Downloading application artifact /onprem/20.3.42673.43026/de Downloading C:\Users\vmadmin\AppData\Local\Temp\3\04b129d2-af68-4f8a-acfc-a3fb0f8e87dc.zip Unpacking application artifact to tmp folder using Expand-Archive Fetching all docker images Fetching all docker volumes ArtifactUrl and ImageName specified Building image mybc:onprem-20.3.42673.43026-de based on mcr.microsoft.com/businesscentral:10.0.17763.3046 with https://bcartifacts.azureedge.net/onprem/20.3.42673.43026/de Pulling latest image mcr.microsoft.com/businesscentral:10.0.17763.3046 10.0.17763.3046: Pulling from businesscentral Digest: sha256:9102d13f165b268c6f6f4cf6972fef4340e399cead8ed1d2bde21d3101eaa9d6 Status: Image is up to date for mcr.microsoft.com/businesscentral:10.0.17763.3046 mcr.microsoft.com/businesscentral:10.0.17763.3046 Generic Tag: 1.0.2.10 Container OS Version: 10.0.17763.3046 (ltsc2019) Host OS Version: 10.0.17763.3165 (ltsc2019) Using hyperv isolation Files in c:\bcartifacts.cache\hvdavmmd.dmj\my: Copying Platform Artifacts c:\bcartifacts.cache\onprem\20.3.42673.43026\platform Copying Database Copying Licensefile Copying ConfigurationPackages C:\bcartifacts.cache\onprem\20.3.42673.43026\de\ConfigurationPackages Copying Applications C:\bcartifacts.cache\onprem\20.3.42673.43026\de\Applications c:\bcartifacts.cache\hvdavmmd.dmj Sending build context to Docker daemon 2.112GB Step 1/6 : FROM mcr.microsoft.com/businesscentral:10.0.17763.3046 ---> 309fb957835a Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=N artifactUrl=https://bcartifacts.azureedge.net/onprem/20.3.42673.43026/de filesOnly=False ---> Running in 2656323f49c8 Removing intermediate container 2656323f49c8 ---> 7b15c9eaa51d Step 3/6 : COPY my /run/ ---> 9ac76ccc4978 Step 4/6 : COPY NAVDVD /NAVDVD/ ---> 2d12bcd4e192 Step 5/6 : RUN \Run\start.ps1 -installOnly ---> Running in 808f70260e47 c:\run\my folder doesn't exist, creating it Using installer from C:\Run\150-new Installing Business Central Installing from DVD Starting Local SQL Server 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 Client Files C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV C:\NAVDVD\LegacyDlls\systemFolder 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 Applications C:\NAVDVD\Applications 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 150 seconds Installation complete Removing intermediate container 808f70260e47 ---> e6b137e9f2f9 Step 6/6 : LABEL legal="http://go.microsoft.com/fwlink/?LinkId=837447" created="202207191847" nav="" cu="" country="de" version="20.3.42673.43026" platform="20.0.42 653.43007" ---> Running in c388cd1997ca Removing intermediate container c388cd1997ca ---> eb97b85c4348 Successfully built eb97b85c4348 Successfully tagged mybc:onprem-20.3.42673.43026-de Building image took 590 seconds Enabling SSL as otherwise all clients will see mixed HTTP / HTTPS request, which will cause problems e.g. on the mobile and modern windows clients Using image mybc:onprem-20.3.42673.43026-de PublicDnsName is repro-aad-vm.westeurope.cloudapp.azure.com Creating Container bcaad Style: onprem Multitenant: No Version: 20.3.42673.43026 Platform: 20.0.42653.43007 Generic Tag: 1.0.2.10 Container OS Version: 10.0.17763.3046 (ltsc2019) Host OS Version: 10.0.17763.3165 (ltsc2019) Using hyperv isolation Using locale de-DE Adding special CheckHealth.ps1 to enable Traefik support Additional Parameters: --env RemovePasswordKeyFile=N --storage-opt size=100GB -e webserverinstance=bcaad -e publicdnsname=repro-aad-vm.westeurope.cloudapp.azure.com -l "traefik.protocol=https" -l "traefik.web.frontend.rule=PathPrefix:/bcaad" -l "traefik.web.port=443" -l "traefik.soap.frontend.rule=PathPrefix:/bcaadsoap;ReplacePathRegex: ^/bcaadsoap(.*) /BC$1" -l "traefik.soap.port=7047" -l "traefik.rest.frontend.rule=PathPrefix:/bcaadrest;ReplacePathRegex: ^/bcaadrest(.*) /BC$1" -l "traefik.rest.port=7048" -l "traefik.dev.frontend.rule=PathPrefix:/bcaaddev;ReplacePathRegex: ^/bcaaddev(.*) /BC$1" -l "traefik.dev.port=7049" -l "traefik.snap.frontend.rule=PathPrefix:/bcaadsnap;ReplacePathRegex: ^/bcaadsnap(.*) /BC$1" -l "traefik.snap.port=7083" -l "traefik.dl.frontend.rule=PathPrefixStrip:/bcaaddl" -l "traefik.dl.port=8080" -l "traefik.dl.protocol=http" -l "traefik.enable=true" -l "traefik.frontend.entryPoints=https" --env customNavSettings=ValidAudiences=7a6562fa-84e3-4e7a-95f3-6264d0ba60b5;https://api.businesscentral.dynamics.com,DisableTokenSigningCertificateValidation=True,ExtendedSecurityTokenLifetime=24,Clie ntServicesCredentialType=NavUserPassword,PublicODataBaseUrl=https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaadrest/odata,PublicSOAPBaseUrl=https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaa dsoap/ws,PublicWebBaseUrl=https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaad --env customWebSettings=AadApplicationId=7a6562fa-84e3-4e7a-95f3-6264d0ba60b5,AadAuthorityUri=https://login.microsoftonline.com/arssolvendi.onmicrosoft.com Files in C:\ProgramData\BcContainerHelper\Extensions\bcaad\my: - AdditionalOutput.ps1 - CheckHealth.ps1 - SetupConfiguration.ps1 - SetupVariables.ps1 - SetupWebClient.ps1 - SetupWindowsUsers.ps1 - updatecontainerhosts.ps1 Creating container bcaad from image mybc:onprem-20.3.42673.43026-de 95a8e7c1161c4a474bd4861707c949d1f7721d59d295bead6ff1442e19d1fef4 Waiting for container bcaad to be ready Initializing... Setting host.containerhelper.internal to 172.19.208.1 in container hosts file Starting Container Hostname is bcaad PublicDnsName is repro-aad-vm.westeurope.cloudapp.azure.com Using AccessControlService Authentication Starting Local SQL Server Starting Internet Information Server Creating Self Signed Certificate Self Signed Certificate Thumbprint E7E8774A35B60E9666478C539FCB24A1E88D57AA DNS identity repro-aad-vm.westeurope.cloudapp.azure.com Modifying Service Tier Config File with Instance Specific Settings Modifying Service Tier Config File with settings from environment variable Setting ValidAudiences to 7a6562fa-84e3-4e7a-95f3-6264d0ba60b5;https://api.businesscentral.dynamics.com Setting DisableTokenSigningCertificateValidation to True Setting ExtendedSecurityTokenLifetime to 24 Setting ClientServicesCredentialType to NavUserPassword Setting PublicODataBaseUrl to https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaadrest/odata Setting PublicSOAPBaseUrl to https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaadsoap/ws Setting PublicWebBaseUrl to https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaad Changing Server config to NavUserPassword to enable basic web services Starting Service Tier CertificateThumprint E7E8774A35B60E9666478C539FCB24A1E88D57AA Registering event sources Creating DotNetCore Web Server Instance Using application pool name: bcaad Using default container name: NavWebApplicationContainer Copy files to WWW root C:\inetpub\wwwroot\bcaad Create the application pool bcaad Create website: NavWebApplicationContainer with SSL Update configuration: navsettings.json Done Configuring Web Client Modifying Web Client config with settings from environment variable Setting AadApplicationId to 7a6562fa-84e3-4e7a-95f3-6264d0ba60b5 Setting AadAuthorityUri to https://login.microsoftonline.com/arssolvendi.onmicrosoft.com Creating http download site Creating Host Windows user Setting SA Password and enabling SA Creating tobias.fenster@arssolvendi.onmicrosoft.com as SQL User and add to sysadmin Creating SUPER user Container IP Address: 172.19.222.216 Container Hostname : bcaad Container Dns Name : repro-aad-vm.westeurope.cloudapp.azure.com Web Client : https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaad/ Dev. Server : https://repro-aad-vm.westeurope.cloudapp.azure.com Dev. ServerInstance : BC Files: http://repro-aad-vm.westeurope.cloudapp.azure.com:8080/ALLanguage.vsix http://repro-aad-vm.westeurope.cloudapp.azure.com:8080/certificate.cer Container Total Physical Memory is 8.5Gb Container Free Physical Memory is 6.2Gb Initialization took 75 seconds Ready for connections! Starting EventLog Monitor Monitoring EventSources from EventLog[Application]: - MicrosoftDynamicsNAVClientClientService - MicrosoftDynamicsNAVClientWebClient - MicrosoftDynamicsNavServer$BC - MSSQL$SQLEXPRESS Reading CustomSettings.config from bcaad Creating Desktop Shortcuts for bcaad Container bcaad successfully created Because of Traefik, the following URLs need to be used when accessing the container from outside your Docker host: Web Client: https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaad SOAP WebServices: https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaadsoap OData WebServices: https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaadrest Dev Service: https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaaddev Snapshot Service: https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaadsnap File downloads: https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaaddl Health check returns False, restarting container Removing Session bcaad bcaad Waiting for container bcaad to be ready Initializing... Setting host.containerhelper.internal to 172.19.208.1 in container hosts file Restarting Container PublicDnsName unchanged Hostname is bcaad PublicDnsName is repro-aad-vm.westeurope.cloudapp.azure.com Using AccessControlService Authentication Starting Local SQL Server Starting Internet Information Server Starting Service Tier Container IP Address: 172.19.211.166 Container Hostname : bcaad Container Dns Name : repro-aad-vm.westeurope.cloudapp.azure.com Web Client : https://repro-aad-vm.westeurope.cloudapp.azure.com/bcaad Dev. Server : https://repro-aad-vm.westeurope.cloudapp.azure.com Dev. ServerInstance : BC Files: http://repro-aad-vm.westeurope.cloudapp.azure.com:8080/ALLanguage.vsix http://repro-aad-vm.westeurope.cloudapp.azure.com:8080/certificate.cer Container Total Physical Memory is 8.5Gb Container Free Physical Memory is 6.8Gb Initialization took 34 seconds Ready for connections! Starting EventLog Monitor Monitoring EventSources from EventLog[Application]: - MicrosoftDynamicsNAVClientClientService - MicrosoftDynamicsNAVClientWebClient - MicrosoftDynamicsNavServer$BC - MSSQL$SQLEXPRESS Use: Get-BcContainerEventLog -containerName bcaad to retrieve a snapshot of the event log from the container Get-BcContainerDebugInfo -containerName bcaad to get debug information about the container Enter-BcContainer -containerName bcaad to open a PowerShell prompt inside the container Remove-BcContainer -containerName bcaad to remove the container again docker logs bcaad to retrieve information about URL's again