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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How to access custom api in postman using On Premise business central?

(5) ShareShare
ReportReport
Posted on by 284
Hello Sir/Ma'am,
I am trying to consume custom api of on premise business central in postman, However its showing the data on frontend as below image :

But same I am trying to call using postman using Basic Auth and also Tried the NTLM Authentication it's showing as 401 Unauthorized as below image :

As NTLM Authentication

I have also enabled all the permission in Administration Shell like :
Enable NTLM Authentication
Enabled Soap Services
Enabled Odata services
Enabled API services

Please help me to solve this problem

Your efforts is appreciated 
Thank you for your valuable response and time
I have the same question (0)
  • Verified answer
    Ariba Mehdi Profile Picture
    166 on at
    Hi there, 
    After enabling these, restart the BC service, and try NTLM authentication. It is working with me. 
     
       
     
    Also, try writing the username without the domain. It works with me. 
     
        
     
     
    Make sure you have restarted the BC service after editing the server. 
     
    Hope this helps!
     
  • Verified answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    Just add some information:
    How to use Postman to connect to Dynamics 365 Business Central On-Premises
     
     
    Thanks.
    ZHU
  • Aakib khan Profile Picture
    122 on at
    Kindly change the current authentication type from windows to nav user password in the config settings/settings file in business central folder on in the business central server app.

    Or you can create Are you user with the authentication type as nav user Password And login with that user After changing the authentication type from Windows to nav user password Restart this server and do you log in it using your username and password.

    1: You can also create A new user with authentication type Username password using this video : 
    https://youtu.be/EqiuT_au_UM?si=Do10u6DY4wrfJkOw
     
    2: After creating the username password You need to restart the server and and web services api key and use Credentials Of basic auth Username as your username of Business central and password as the web api key.

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 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans