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

Community site session details

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

Different authentication methods between service and ui

(0) ShareShare
ReportReport
Posted on by 5

Hello everyone

We have an On-Premise installation of Business Central 2022, and we want to access OData web services so that our external applications can synchronize data.

In Postman, we've been able to use two identification methods together, by setting the ClientServicesCredentialType parameter:

  • Windows: using NTLM authentication, an Active Directory username and its Windows password.
  • NavUserPassword: using Basic Auth authentication, a BC username and its Web Service Access Key (configured in the BC user configuration page).

But there's an issue with this last method, however, as it makes access to BC's web interface unavailable.

So as it stands, we can use Windows authentication to access OData services. But this isn't our preferred method of accessing a web service, as we're exposing in cleartext in a configuration file the login details of a user in our organization's Active Directory (even if the user is a service account, this is still a vulnerability).

That's why we'd like to know if it's possible to use two different methods for the two accesses to BC:

  • Web interface: Windows/NTLM connection method
  • Web service client: NavUserPassword connection method
I have the same question (0)
  • Verified answer
    KasparsSemjonovs Profile Picture
    4,748 Super User 2025 Season 2 on at
    RE: Different authentication methods between service and ui

    You should be able to create 2 instances for database, where each uses different authentication methods.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans