Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Can't Log in

Posted on by Microsoft Employee

I've created a User (See pictures below) however when I attempt to log in it' telling my the details aren't correct. 

I've assigned Super Permissions to the user so I don't think that that's the issue. 

20.PNG21.PNG22.PNG

23.PNG

Any ideas would be appreciated 

*This post is locked for comments

  • Suggested answer
    Ashwini Tripathi Profile Picture
    Ashwini Tripathi 4,624 on at
    RE: Can't Log in

    In your screen shot value of state is not visible check if it is not disabled.

    Check you are using correct service.

    Delete the user and add again and assign only super permission and check.

    Once you are able to login assign required permission.

  • Suggested answer
    Indikauk Profile Picture
    Indikauk 1,759 on at
    RE: Can't Log in

    Hi, Lewishhh

    how many NAV Services you have?, basically its is trying login to the Default Service where this company may be in another service.

    Do the below steps

    1. Give Super permission only (Remove other permission sets) without company filter and try to login if you able login select the company and login then exit.

    2. now remove super permission and try your permission set without company filter and try to login if you able to login then you can restrict the company filter.

    3. there is client setting on the pc you are working on and open that and see what is default service is loading if still have error login. you can access client setting below path.

    C:\Users\username.Domain\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\70 or 80 depending or your version .

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: Can't Log in

    Hey Suresh,

    Yes exactly keeping this point in mind I explained two ways to do so.

    Obviously deleting users will delete all the users so this point is beneficial if potentially every user is the Windows user(If Credential Type is NavUserPassword you will loose all Users) else go with second method , fire a query and make a new entry in the user table with your system SID.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Can't Log in

    Hello,

    RockWith NAV,

    This procedure is not recommended, the above options are only useful if nobody has access to the database.

    Lewishhh,

    Can you make sure the service you are connecting to is the same where you have provided the permissions ?

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Can't Log in

    As other members mentioned, delete the records from SQL server in User and Access control tables.

    Also, refer here for creating new users: msdn.microsoft.com/.../dd355093(v=nav.71).aspx

    When creating new user with windows account, also try executing PowerShell commands:

    New-NAVServerUser -ServerInstance XXX -WindowsAccount YYY

    New-NAVServerUserPermissionSet -ServerInstance XXX -WindowsAccount YYY -PermissionSetID SUPER

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can't Log in

    What is your Credential Type? Is it Windows or any other Credential Type?

    Is it working fine for any other users?

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: Can't Log in

    Hey Lewish,

    There are two ways to solve this,

    1. Delete Data from these tables from SQL then you will be able to login

    1. User
    2. User MetaData
    3. User Personalization
    4. Access Control

    2. You need to make a new USER from SQL whre you need to give the SID of your system then you will be able to login.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can't Log in

    Like so? 

    25.PNG

    This hasn't worked if that's what you meant

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Can't Log in

    Please delete the company name and try again

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can't Log in

    I've set the user up in the User Personalisation card I just forgot to include the image

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans