web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    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.

  • Verified answer
    YUN ZHU Profile Picture
    95,597 Super User 2025 Season 2 on at

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

    https://yzhums.com/20690/

    Thanks.

    ZHU

  • Community Member Profile Picture
    on at

    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

  • TESDEveloper Profile Picture
    12 on at

    Hello,

    Did you get this working in the end?

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 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans