web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Unable to setup a local-hosted container sandbox

(0) ShareShare
ReportReport
Posted on by 259

I am trying to setup BC Sandbox and following below link

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-get-started-container-sandbox#set-up-a-local-hosted-container-sandbox

After the process completes, I am getting below information as mentioned in the link

Container IP Address, Container Hostname, Container Dns Name, Web Client, Dev. Server, Dev. ServerInstance & Files: http://MyBCApp*****

But I am getting a warning and an error as well

Warning: 

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

Error: 

Your program license does not allow you to publish 'User Login Test Library'.
at <ScriptBlock>, <No file>: line 12
Your program license does not allow you to publish 'User Login Test Library'.
At C:\Program
Files\WindowsPowerShell\Modules\navcontainerhelper\0.6.5.11\ContainerHandling\Invoke-ScriptInNavContainer.ps1:37 char:13
+ Invoke-Command -Session $session -ScriptBlock $scriptbloc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Publish-NAVApp], InvalidOperationException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC/nav-systemapplication,Microsoft.Dynamics.Nav.Apps.Management.Cm
dlets.PublishNavApp
+ PSComputerName : 38cd2e118f03039333daecb237b7b7b0dd2ad1c91383e2cf5678c1fb7c7bbfab

Moreover, in the link it says that 4 desktop shortcuts will be created but I got only 3. Windows Client is missing.

After that I installed .vsix file in VS code and update .json file accordingly. When I create and run AL project I am getting below errors

8255.Capture.PNG

I have the same question (0)
  • Yuhi Profile Picture
    Microsoft Employee on at

    Hi Danyal,

    I want to know more information.

    First, for this error:

    Your program license does not allow you to publish 'User Login Test Library'.

    Did you fill out License File Url?

     pastedimage1590806595209v1.png

    Like https://github.com/microsoft/nav-docker/issues/458 .

    Second, what is in /.alpackages?

    Best regards,

    Yuhi

  • Verified answer
    Yuhi Profile Picture
    Microsoft Employee on at

    Hi Danyal,

    Please try to download symbols on Visual Studio Code:

    Ctrl Shift p -> AL: Download Symbols

    Then, ./alpackages is gonna be created in your working folder like...

    pastedimage1590835699368v1.png

    After that, you could probably publish without debugging (Ctrl F5) and your Business Central hosted on local would be opened in your web browser.

    For your information:

    {
        "version": "0.2.0",
        "configurations": [
            {
                "type": "al",
                "request": "launch",
                "name": "Your own server",
                "server": "http://myApp",
                "serverInstance": "BC",
                "authentication": "Windows",
                "startupObjectId": 22,
                "startupObjectType": "Page",
                "breakOnError": true,
                "launchBrowser": true,
                "enableLongRunningSqlStatements": true,
                "enableSqlInformationDebugger": true
            }
        ]
    }

    I hope this will be helpful to you.

    Best regards,

    Yuhi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,809 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,122 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 689 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans