Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : 8U25qWZ/2JaMc3b50B7cg2
Small and medium business | Business Central, N...
Suggested answer

Error while trying to sign into api.businesscentral.dynamics

Like (0) ShareShare
ReportReport
Posted on 26 Apr 2022 16:28:39 by 22

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."}}
  • Suggested answer
    Mayank M Jangid Profile Picture
    4 on 08 Apr 2024 at 09:25:21
    Error while trying to sign into api.businesscentral.dynamics
  • Suggested answer
    Krati21 Profile Picture
    77 on 27 Apr 2022 at 03:54:38
    RE: Error while trying to sign into api.businesscentral.dynamics

    Hi,

    If you try to log into BC20 SaaS environment where web-service key is deprecated, you get an error like this:

    pastedimage1651031346230v1.png

    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.

  • Suggested answer
    YUN ZHU Profile Picture
    79,980 Super User 2025 Season 1 on 27 Apr 2022 at 00:16:17
    RE: Error while trying to sign into api.businesscentral.dynamics

    Hi, hope the following also helps.

    https://yzhums.com/20690/

    PS: some info from Kauffmann

    pastedimage1651018550250v1.png

    pastedimage1651018557659v2.png

    pastedimage1651018564732v3.png

    pastedimage1651018577399v4.png

    Thanks.

    ZHU

  • Suggested answer
    JAngle Profile Picture
    73 on 26 Apr 2022 at 17:53:12
    RE: Error while trying to sign into api.businesscentral.dynamics

    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/

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,342 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete