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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

API Integration Using OAuth 2.0

(1) ShareShare
ReportReport
Posted on by 787
We are using the latest BC 365 SaaS version. Previously when using on-prem I was able to write some C# console apps to connect to the BC 365 OData endpoints I exposed. Using Windows authentication. These were fairly automated, which was the intent, since they were automated integration apps I was working on.
 
Now that we are using BC 365 SaaS I need to access some of these OData endpoints. I can obviously succeed by going /the long way./ I have my Azure app registration in place, can go through the OAuth2 process to get the access token to use in Postman, etc. That's all fine and dandy.
 
What I'm wondering is if there is some existing NuGet or GitHub project that wraps most of these steps so I can use them in an automated C# console app. Or if there is some mechanism in BC 365 SaaS I can use to register my Azure app registration in order to gain a longer-lived access token. Any suggestions?
I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at
  • Greg Kujawa Profile Picture
    787 on at

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans