Skip to main content

Notifications

Announcements

No record found.

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
  • Verified answer
    KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,962 Super User 2024 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

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans