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...
Answered

Differences in Web Services between v19 and 19.5?

(0) ShareShare
ReportReport
Posted on by 787

So we have an on-prem test environment running. One instance is on BC365 v19. I enabled web services (SOAP, OData, etc.) and created some API calls against web services endpoints that came out of the box, as well as a few custom ones I added. All works fine.

We then added another instance that's on BC365 v19.5. I enabled web services the same way, and try to hit the same web service endpoints as in the other instance. These all fail. The API calls respond with HTTP 401 - Unauthorized status codes. I've looked at how things are configured side by side, and everything appears to be identical. 

I'm making my API calls using standard REST requests. My BC365 instances work off Windows account authentication. And those user accounts are Super users in both instances. Here is a sample API call that works in the v19 instance, but not the v19.5 instance.

POST http://ls-test01:9048/LSCentral/ODataV4/DchApi_InsertCustomer?company=CRONUS - LS Central HTTP/1.1
Content-Type: application/json
Authorization: Negotiate YIIHowYGKwYBBQUCoIIHlzCCB5OgMDAuBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKwYBBAGCN… (truncated since it’s extremely long)
Host: ls-test01:9048
Content-Length: 490
Expect: 100-continue

{"customerNo": "D20669","primarySiteCode": "Don","fullName": "Joe Schmoe","address1": "14 Anywhere Circle","address2": "","city": "Anywhere","state": "OH","postcode": "43000","country": "US","phoneNumber": "(555)5551212","mobileNumber": "","emailAddress": "joe.schmoe@gmail.com","customerPostingGroup": "GENERAL","paymentTerms": "0/30 DAYS","genBusPostingGroup": "DOMESTIC","salesperson": "PO","note": "Imported customer.","company": "CRONUS - LS Central"}
  

Just wondering if something changed between versions in this regard? 

I have the same question (0)
  • Suggested answer
    Greg Kujawa Profile Picture
    787 on at

    Figured it out. I had to check the Use NTLM Authentication option in the service config. What's strange is that option wasn't checked in the other service. And those web service calls all worked flawlessly. But checking the option for the v19.5 instance seems to have fixed the issue.

  • Verified answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Thank you for sharing!

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,857 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,047 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans