Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Access is denied to Company

Posted on by 369

Dears

I have had a sudden issue in an environment that was functioning just perfectly. I am using credential type (Window) and all users are working right. Now when any user tries to access Dynamics NAV, they get the following error:

6471.111.png

Please let me know where to check, and how to know the source root cause. .. in order to resolve this

Thanks in Advance,

*This post is locked for comments

  • danielonsombi Profile Picture
    danielonsombi 15 on at
    RE: Access is denied to Company

    In case one updated the user's permission settings and facing this challenge on Dynamics 365 Business Central on prem, for a specific user, updating the user Personalization should fix the issue.

  • Suggested answer
    Yogesh Kulkarni_ Profile Picture
    Yogesh Kulkarni_ 1,762 on at
    RE: Access is denied to Company

    As suggested by other members as well, please check for the Roles assigned to the logging user.

    Also, how can a company name be Empty?

    Check whether any customization is there or company is been deleted by mistake.

    -Yogesh Kulkarni
    Please verify, if you find answer helpful.

  • Verified answer
    TharangaC Profile Picture
    TharangaC 23,116 on at
    RE: Access is denied to Company

    Agreed with Saurav and Koha. It seems that user permission has been changed. Asked your system admin to check the user permission of yours. Can you open other companies without an issue?

    If the user permissions are in place, then check with your NAV partner for any new modifications to the system.

  • Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: Access is denied to Company

    A. Saf

    still you are in trouble with this ?

  • Suggested answer
    4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: Access is denied to Company

    Hi A. Saf,

    It seems that the account has no User Permission Sets, or suitable User Permission Sets (Company assignment).

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: Access is denied to Company

    Just adding a value what other members said because there's now already been a lot possibilities that could happen :), First check for any customisation if it's been Implemented by your partner. Secondly please check roles and responsibilities and do confirm in the company name field, there's a specific company that's deliberately been put in. 

  • Suggested answer
    Zaid Tariq Profile Picture
    Zaid Tariq 2,266 on at
    RE: Access is denied to Company

    Hi @A. Saf!

    There might be several reasons for this error.

    - The company might not exist, did you be able to see the company in company?

    - You might dont have sufficient permissions. you can set your permissions by running the command below.

    Set-ExecutionPolicy RemoteSigned
    import-module "C:\Program Files\Microsoft Dynamics NAV\80\Service\NavAdminTool.ps1"
    New-NAVServerUser -ServerInstance <Enter Your Nav Instance Name> -WindowsAccount <Enter Your Username>
    New-NAVServerUserPermissionSet -PermissionSetId SUPER -ServerInstance <Enter Your Nav Instance Name> -WindowsAccount <Enter Your Username>


    Please make sure you run this command in Windows PowerShell ISE as administrator. 
    ise.JPG

    Feel free to ask is still have problem. 

  • Verified answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Access is denied to Company

    Hi,

    I think someone have update user permission and assiged a company name in the User Permission.

    Check from SQL company name in Access Control  table.

  • Suggested answer
    Rehan Satti Profile Picture
    Rehan Satti 634 on at
    RE: Access is denied to Company

    Hi asf,

    You should get into the company try the following options

    Check the NAV instance is pointing to the correct database.

    restart the NAV instance. Try to run NAV as administrator

    If this does not work clear all the user setting and Add them from Super user.

    Check the User permission on SQL.

  • Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: Access is denied to Company

    Dear A. Saf ,

    Check Whether you have delete the Companies on you System

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans