Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Migrating from Web Service Authentication to Oauth?

(0) ShareShare
ReportReport
Posted on by

Our organization uses Powerapps and Power Automate 'Flows' that connect to Business Central API using a custom connector. We've been informed that the Web Service Authentication (also known as a 'raw' or 'basic' connection) will be expiring soon. We would like to move to Oauth 2.0 for our API connections.

We've begun following documentation for Registering an Application with MS identity platform, however many things are unclear:

  • Which platform type should be selected for use with Powerapps / Custom Connectors?
  • Which redirect URI should be used once a platform is selected?
  • Will the same configuration work for both Powerapps and Power Automate, or will we need to register 2 separate Apps in Azure AD?

pastedimage1646775545990v3.png

  • TESDEveloper Profile Picture
    10 on at
    RE: Migrating from Web Service Authentication to Oauth?

    Hello,

    Did you get this working in the end?

  • Community Member Profile Picture
    on at
    RE: Migrating from Web Service Authentication to Oauth?

    Yun Zhu - I've followed your guide but still have 2 questions:

    What information should be populated in the custom connector fields below after setting up App Registration in Azure? And is the redirect URI you provided in your guide - https://localhost:8080/login - still correct for this use?

    pastedimage1647016257845v1.png

  • Verified answer
    YUN ZHU Profile Picture
    85,571 Super User 2025 Season 1 on at
    RE: Migrating from Web Service Authentication to Oauth?

    Hi, Here's a simple example that hopefully will give you some inspiration as well.

    https://yzhums.com/20690/

    Thanks.

    ZHU

  • Suggested answer
    JAngle Profile Picture
    95 on at
    RE: Migrating from Web Service Authentication to Oauth?

    Web. I’d use this blog to help: www.kauffmann.nl/.../

    Only need this for PowerApps I believe. Although I’d check the connector settings before dealing with the above. Custom api pages already appear in the list for power automate. The api’s are broken into categories. The api group and api author properties you have on the AL object form part of the category folder. Meaning you don’t have to deal with custom connectors all the time.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans