Announcements
Hello,
i am getting this error while trying to sign into API. I tried with in chrome/edge with regular password and web service key.
api.businesscentral.dynamics.com
{"error":{"code":"Authentication_InvalidCredentials","message":"The server has rejected the client credentials. CorrelationId: 68c4bb8f-eb12-4c45-8f26-ee16aa4a0fe6."}}
Hi,
If you try to log into BC20 SaaS environment where web-service key is deprecated, you get an error like this:
If that's the case, previous answers on the post will help where you need to use OAuth.
But your error probably means you are just logging in with a wrong web-service key. Please make sure you use the latest web-service key from the user card.
Hi, hope the following also helps.
PS: some info from Kauffmann
Thanks.
ZHU
Is this SaaS? If so basic authentication has been deprecated: docs.microsoft.com/.../web-services-authentication
Move to OAuth. Plenty of documentation available for aiding with this. Plenty of good blog posts here: https://www.kauffmann.nl/
André Arnaud de Cal...
293,342
Super User 2025 Season 1
Martin Dráb
232,445
Most Valuable Professional
nmaenpaa
101,158
Moderator