Using Power Shell to create new users on NAV January 8, 2018 Development 0 There are some situations where, despite being the system and SQL administrator, you still can't access NAV. This is just because your user is not created in the database. However there's a very simple way to create a new user in NAV without even open NAV: Make sure you are on the Application Server: The next steps must be executed on NAV's server to avoid any kind of permissions errors. Start Power Shell: It should be somewhere on the start menu. Just remember to run it as administrator. Load NAV's Function Library: Loading NAV's Library will give you acces to a bunch of new functions and actions to interact with NAV. The command is: Import-Module 'C:\Program Files\Microsoft Dynamics NAV\71\Service\NavAdminTool.ps1' Any problems? Check this: If you get an error on the previous step, it is possible you need to give permissions to your Power Shell session to execute scripts. This can be fixed using the next command: Set-ExecutionPolicy RemoteSigned It's time to add yourself on NAV: Just use the next command replacing your instance name and user: New-NAVServerUser YOURNAVINSTANCE -WindowsAccount YOURDOMAINUSER Set SUPER role to youself on NAV: We are almost done. The next command will trigger a wizard to let you add any role to any user in NAV: New-NAVServerUserPermissionSet If you have followed all these steps, you probalbly can now access NAV using windows authentication.