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?

(1) ShareShare
ReportReport
Posted on by 288
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
  • Verified answer
    YUN ZHU Profile Picture
    62,477 Moderator on at
    How to access custom api in postman using On Premise business central?
    Just add some information:
    How to use Postman to connect to Dynamics 365 Business Central On-Premises
     
     
    Thanks.
    ZHU
  • Verified answer
    Ariba Mehdi Profile Picture
    148 on at
    How to access custom api in postman using On Premise business central?
    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!
     

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

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

Featured topics

Product updates

Dynamics 365 release plans