web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

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

OAuth 2.0 Setup page

(0) ShareShare
ReportReport
Posted on by 82

Hello everyone,

I am trying to configure the OAuth 2.0 Setup table (1140) to use the related OAuth 2.0 codeunit (1140). I can see in the object designer that there is a page for the configurations, OAuth 2.0. Setup (1140). 

The problem is that I cannot figure out how to configure the settings on the table since the related page is not accessible when I search for it in BC. Even if I could find it, I still would not be able to insert an configurations since it is InsertAllowed = false and it does not have to usual insert logic in the OnOpen trigger.

Does anyone know on how to set configurations to the OAuth 2.0 Setup table? Thanks for any help.

I have the same question (0)
  • Suggested answer
    srttel Profile Picture
    Microsoft Employee on at

    This OAuth is not really a one fits all approach and it depends on what you want to archive.

    There are several examples like OAuth and Web Service

    docs.microsoft.com/.../authenticate-web-services-using-oauth

    Or Using Service-to-Service (S2S) Authentication

    docs.microsoft.com/.../automation-apis-using-s2s-authentication

    A bunch of good examples can be found on this repository:

    github.com/.../PSOAuthBCAccess

  • Pimp Your BC Profile Picture
    82 on at

    Thanks for the reply Sebastian. Yeah I realized the limitations of it but thought that I was misunderstanding something. I ended up using an example in the Microsoft github:

    github.com/.../

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 566 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 347 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 327 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans