Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

eb service access key is no longer supported as authentication. Please use OAuth

(1) ShareShare
ReportReport
Posted on by 81
Hello everyone!
 
I hope you are doing well!
 
I remember a few years ago, I could create web service and used Odata for my excel and Power BI project. But now I have created a web service (Item Reference page) like the image but I see the error:
 
 
{"error":{"code":"Authentication_InvalidCredentials","message":"Web service access key is no longer supported as authentication. Please use OAuth.
I would appreciate if you could tell me what is the solution?
Thanks in advance
  • Suggested answer
    Ramiz Profile Picture
    Ramiz 402 on at
    eb service access key is no longer supported as authentication. Please use OAuth
    Hi,

    You can put this URL in the redirect URL of the app.

    https://businesscentral.dynamics.com/OAuthLanding.htm

    In Business Central, search for page Microsoft Entra Applications
  • CU07101338-0 Profile Picture
    CU07101338-0 81 on at
    eb service access key is no longer supported as authentication. Please use OAuth
    Thanks for your kind replies!

    I tried to do the steps based on the given link (https://yzhums.com/20690/).
     
    I am not sure about this part of the article:

    Enter the redirect URl of the application, and then choose Configure.
    For example: https://localhost:8080/login
    Anyway, I tried both but unfortunately, I cannot see the page Azure Active Directory Applications in Business Central? or in the user card I cannot see a web service section to put my keys there!

    Does anyone know how to do that?
    Thanks in advance!
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 5,611 on at
    eb service access key is no longer supported as authentication. Please use OAuth
    Web Service Access Key is deprecated and is no longer supported for authentication in Business Central. Microsoft now mandates the use of OAuth 2.0 for secure authentication.
    Hope this helps: 
     
    Use following to set OAuth2
  • Suggested answer
    Ramiz Profile Picture
    Ramiz 402 on at
    eb service access key is no longer supported as authentication. Please use OAuth
    Hi,

    You need an O-Auth for accessing web services now.

    Hope this helps.
    https://yzhums.com/20690/

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,559 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,579 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans