Creating a user for NavUserPassword credentials

AitorEG
Member Posts: 342
Hi everyone!
I've just made an installation for NAV2018, and the credentials for use it are "NavUserPassword". Of course, at first, I've made a demo instalaltion, with the cronus database. But, I can't connecgt to the RTC, because there's not any user created for this credentials in the database. How can I create any user for connecting to the RTC?
Thank you very much
I've just made an installation for NAV2018, and the credentials for use it are "NavUserPassword". Of course, at first, I've made a demo instalaltion, with the cronus database. But, I can't connecgt to the RTC, because there's not any user created for this credentials in the database. How can I create any user for connecting to the RTC?
Thank you very much
0
Best Answer
-
You can use the Nav admin shell to create users (you have to run the admin shell "as administrator").
Saurav's post is for NAV 2016, there might be some differences for NAV 2018:
https://saurav-nav.blogspot.com.mt/2015/12/add-user-to-microsoft-dynamics-nav-2016.html
Another possible approach is to create a second service, connecting to the same database, but using Windows authentication, get in using Windows authentication, and then add other users, with a password. There are also SQL scripts available to add Windows authentication users.Alastair Farrugia5
Answers
-
You can use the Nav admin shell to create users (you have to run the admin shell "as administrator").
Saurav's post is for NAV 2016, there might be some differences for NAV 2018:
https://saurav-nav.blogspot.com.mt/2015/12/add-user-to-microsoft-dynamics-nav-2016.html
Another possible approach is to create a second service, connecting to the same database, but using Windows authentication, get in using Windows authentication, and then add other users, with a password. There are also SQL scripts available to add Windows authentication users.Alastair Farrugia5 -
You can use the Nav admin shell to create users (you have to run the admin shell "as administrator").
Saurav's post is for NAV 2016, there might be some differences for NAV 2018:
https://saurav-nav.blogspot.com.mt/2015/12/add-user-to-microsoft-dynamics-nav-2016.html
Another possible approach is to create a second service, connecting to the same database, but using Windows authentication, get in using Windows authentication, and then add other users, with a password. There are also SQL scripts available to add Windows authentication users.
Thanks, I'll work on it!!
0 -
You can use the Nav admin shell to create users (you have to run the admin shell "as administrator").
Saurav's post is for NAV 2016, there might be some differences for NAV 2018:
https://saurav-nav.blogspot.com.mt/2015/12/add-user-to-microsoft-dynamics-nav-2016.html
Another possible approach is to create a second service, connecting to the same database, but using Windows authentication, get in using Windows authentication, and then add other users, with a password. There are also SQL scripts available to add Windows authentication users.
When creating the new user with a password, I've got the next error:The 'Password' parameter can not be linked. Cannot convert "Betea123"...
Which should be the correct format for a password?0 -
Solved with:
PS C:\Users\Administrador> New-NAVServerUser -ServerInstance DynamicsNAV110 -UserName betea -ChangePasswordAtNextLogOn -LicenseType Full -Password (ConvertTo-SecureString 'onM1crosoft1' -AsPlainText -Force) -State Enabled
Thank you!0 -
If you check the help on the New-NAVServerUser you will notice you need a securestring.
Get-Help New-NAVServerUser -detailed
-Password <SecureString> Specifies a protected password for the Microsoft Dynamics NAV user. The password is only used when the credential type for authenticating users who try to access Microsoft Dynamics NAV is set to NavUserPassword.
Example$serverInstance = 'DynamicsNAV100' $username = "TestUser01" $securePass = ConvertTo-SecureSTring 'testPassword01' -AsPlainText -Force New-NAVServerUser -ServerInstance $serverInstance -UserName $username -Password $securePass -LicenseType Full -State Enabled
1 -
Ah, you've resolved it yourself
. Good luck further.
1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions