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



  • Suggested answer
    Bilal Haider Profile Picture
    487 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
    487 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 570 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 390 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 220 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans