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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Issue on installing BC2020 Wave 1 into docker: Member xyz/abc was not found in group administrators

(0) ShareShare
ReportReport
Posted on by 20

Hello,

after installing BC 2019 Wave2 OnPremise on local successfully with your help I'll try to get the latest version installed into docker. There are many different hurdles to handle as all the colleagues in the internet have written.

Install BC 2020 Wave2 with the following command will work for me:  New-BCContainer -accept_eula -containerName 'test' -useBestContainerOs

Install the same version with the following scrip(part) fails:

New-NavContainer -accept_eula:$accept_eula `
                 -containername $containername `
                 -auth Windows `
                 -Credential $credential `
                 -includeCSide `
                 -alwaysPull `
                 -doNotExportObjectsToText `
                 -usessl:$false `
                 -updateHosts `
                 -assignPremiumPlan `
                 -shortcuts Desktop `
                 -imageName $navdockerimage `
                 -additionalParameters $additionalParameters

Setup-NavContainerTestUsers -containerName $containername -password $credential.Password

Maybe this is an older script version? Because "IncludeCSide" is obsolete. Deleting this part will result in this error: "Member Xyz/abc was not found in group administrators."

Changing the script to "- auth NavUserPassword" as written in the net results in this:

Container xyz successfully created.... Your program license does not allow you to publish 'User Login Test Library".

I'm running with Win10 and Workgroup, not domain.

So I'm stepping from one issue to the other not knowing what to do at all.

Do you have any helpings for me?

Best regards

BCDeveloper

I have the same question (0)
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    You can try this script.

    New-NavContainer -accept_eula -containerName "local" -auth NavUserPassword -imageName "mcr.microsoft.com/businesscentral/sandbox" -alwayspull -updatehosts -licenseFile "C:\License.flf" -includeAL

  • Suggested answer
    Community Member Profile Picture
    on at

    Your script should work after you remove Setup-NavContainerTestUsers -containerName $containername -password $credential.Password.

    Try below script

    $credential = New-Object pscredential 'bcuser', (ConvertTo-SecureString -String 'BCp@ssword' -AsPlainText -Force)

    New-BCContainer -accept_eula -assignPremiumPlan `

                   -imageName "mcr.microsoft.com/businesscentral/sandbox" `

                   -containerName "localbc" `

                   -auth UserPassword `

                   -credential $credential `

                   -licenseFile $licenseFile `

                   -updateHosts `

                   -includeAL `

                   -alwaysPull

    if you don't have partner license, you can remove -licenseFile

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,577

#2
YUN ZHU Profile Picture

YUN ZHU 888 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 778 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans