Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Error when creating a new User Navision 2015 - "You are not authorized to sign in.."

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I tried creating a new user in Nav and now I cannot log in to Navision. I receive this error:
"You are not authorized to sign in. Verify that you are using valid credentials and that you have been setup as a user in Microsoft Dynamics NAV"

Before creating the user I was using the Login information of the VM where it was installed, to access Navision.

As i read first user needs to be recorded in the user table. Any clear guidelines on this?

How can I get the previous login information to work?
Thanks in advance :)

*This post is locked for comments

  • Suggested answer
    4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: Error when creating a new User Navision 2015 - "You are not authorized to sign in.."

    Hi Achini,

    There are 2 ways for your case, run SQL script on your database:

    1. Come back to no user as before you create the user:

    DELETE [Access Control]

    DELETE [User]

    2. Set all users as SUPER users:

    UPDATE [Access Control] SET [Role ID] = 'SUPER'

  • Suggested answer
    Jan Veenendaal Profile Picture
    Jan Veenendaal 510 on at
    RE: Error when creating a new User Navision 2015 - "You are not authorized to sign in.."

    PowerShell to the rescue!


    1. Start the NAV 2015 Administration Shell on your VM ( as administrator )

    2. Execute the command:

    New-NAVServerUser -ServerInstance YOURINSTANCENAME -WindowsAccount YOURUSERACCOUNT


     (of course replace the 'YOUR...' with your data :D  ; probably YOURINSTANVCE should be: DynamicsNAV80 )

    3. Execute the command:

    New-NAVServerUserPermissionSet -ServerInstance YOURINSTANCENAME -WindowsAccount YOURUSERACCOUNT -PermissionSetID SUPER


    (again: replace)

    Now you should be able to log in again.

  • Suggested answer
    jcastro Profile Picture
    jcastro 2,245 on at
    RE: Error when creating a new User Navision 2015 - "You are not authorized to sign in.."

    Do you assign permissions to the user when you create it? Make sure you do! :-)

    You can find info on assigning permissions here: https://msdn.microsoft.com/en-us/library/dd338839(v=nav.80).aspx

    And also general info on creating users here: https://msdn.microsoft.com/en-us/library/dd355093(v=nav.80).aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error when creating a new User Navision 2015 - "You are not authorized to sign in.."

    Thanks for your comments :) I set up navision in a VM and used credentials of the VM to log in to Navision.

    Later i needed to have two user accounts so I tried creating a new user from Nav administration window. after that i cannot login

  • Suggested answer
    jcastro Profile Picture
    jcastro 2,245 on at
    RE: Error when creating a new User Navision 2015 - "You are not authorized to sign in.."

    It might have been that the first user you create was not yourself, but someone else. If that's the case you can either access as that user or deleting the login information completely. When NAV does not have login information it will let anyone in the system.

    Please check the following link for more info:

    dynamicsuser.net/.../nav-2013-how-to-log-in-any-database.aspx

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,054 Super User 2024 Season 2 on at
    RE: Error when creating a new User Navision 2015 - "You are not authorized to sign in.."

    Was it your user or others?

    You need to delete records from SQL server in User and access control tables

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans