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...
Suggested Answer

Reset BCUser Passwort using NavUserPassword Authentication in Docker Sandbox

(0) ShareShare
ReportReport
Posted on by 5

Hello,

we are running several Docker Container for our students, inside the contains we are using the NavUserPassword Authentication.

We often facing the problem that a student has forgotten his/her password.

Is there a possibility to reset the password for ohter accounts for example from powershell ?


At the moment the only way I see is to create a new user with a default password

$password = "QWERTZ"

$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force

$credential = New-Object System.Management.Automation.PSCredential -argumentList "breuer", $securePassword

 New-BcContainerBcUser -Credential $credential -containerName BCAIT10380 -PermissionSetId SUPER -Verbose  -ChangePasswordAtNextLogOn 0

 

Thank you in advance



I have the same question (0)
  • Suggested answer
    Bilal Haider Profile Picture
    442 on at

    Hi,

    Try using Set-NAVServeruser command using powershell.

    Set-NAVServerUser (Microsoft.Dynamics.Nav.Management) - Dynamics NAV | Microsoft Docs

    For future, one way is to create administrator user account for each docker. And create another user for the student using this.

    Otherwise if its forgotten you are already doing it in the right way above.

  • sbreuer Profile Picture
    5 on at

    Thank you very much for your fast reply. It was very helpfull.

    At the moment the set-NAVServerUser works fine, but for the upcoming semester I will try to create an additional admin account

  • Bilal Haider Profile Picture
    442 on at

    That's great.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,055 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,063 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,014 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans