web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Nav database extraction and Linking

(3) ShareShare
ReportReport
Posted on by 8
 
 
Hello Experts and Devs
 
I'm facing a challenge I'm a junior dev under IT i have been asked to link a central machine that uses Dynamic Nav to extract only 4 fields of data from a table that will be then displayed on an HTML display page which we will later be projected on an LED screen to show the extracted information.

but when I try to extract using a services link under Nav I get a 401 error that's related to AUTHENTICATION.
I have tried using the authentication on the domain of the company but I still can't seem to connect but get a "failed to fetch data, 401 error"
 
Attached to the post is a screenshot of what error i get when i use a services link.

kindly help me fix this.
Screenshot 2025-05-21 084508.png
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at
    This doesn't look like a NAV error. What external system is this?
    The simplest way to think about it is to directly fetch the SQL data and then display it on the page, which has nothing to do with NAV AUTHENTICATION.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,130 Super User 2026 Season 1 on at
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,169 Super User 2026 Season 1 on at
    This looks more like an authentication issue on the web service layer, not a NAV internal error.
     
    Since you're just trying to display a few fields on an HTML screen, a simpler workaround would be to directly query the NAV SQL database and display the values from there — this avoids the whole NAV web service authentication complexity.
     
    If SQL access isn’t allowed and you must go through NAV, make sure:
     
    The NAV service is configured with Windows or NavUserPassword authentication.
     
    Your endpoint URL is correct (/OData/, /SOAP/, etc.).
     
    The account you're using has the right permissions in NAV and access rights in IIS/Service Tier.
     
     
    Let me know what NAV version you're on and how you're calling the service — I can guide you more precisely.
     
    Mark below checkbox to make this answer Verified if it helps you.
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans