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

Differences in Web Services between v19 and 19.5?

(0) ShareShare
ReportReport
Posted on by 565

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
    565 on at
    RE: Differences in Web Services between v19 and 19.5?

    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
    on at
    RE: Differences in Web Services between v19 and 19.5?

    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

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,421

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,645 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans