Skip to content
Vjeko.com
  • Trainings
    • Webinar: Leveraging Git

      Webinar: Leveraging Git

      This three-session webinar delves deep into the internals of Git and takes a look at it from there. It explains how Git works on the insides, how it tracks files, snapshots, commits, branches, and everything else.

      A lot of developers unfamiliar with Git are scared of Git. Will Git lose anything if you make a mistake? What if you accidentally commit something but you didn't mean it?

      Join me in this webinar and master this amazing development tool.

      When?

      May 10-12, 2021
      16:00 to 18:00 CET (GMT+2)

      How much?

      €325 for the entire three-session webinar

      15% discount to all previous attendees of any of my other webinars

    • Webinar: CI/CD from AL developer’s shoes

      When

      May 17-18, 2021
      16:00 to 17:30 CET (GMT+2)

      How much?

      €250 for the whole webinar (two sessions)

      15% discount to all previous webinar attendees

    • Webinar: Git branching models and strategies

      When?

      June 14-15, 2021
      16:00 to 17:30 CET (GMT+2)

      How much?

      €250 for the whole webinar (two sessions)

      15% discount to all previous webinar attendees

  • Control Add-ins
  • Tips & Tricks
  • About
Menu Close
  • Trainings
    • Webinar: Leveraging Git
    • Webinar: CI/CD from AL developer’s shoes
    • Webinar: Git branching models and strategies
  • Control Add-ins
  • Tips & Tricks
  • About

Daily Archives: February 16, 2019

  1. Home>
  2. 2019>
  3. February>
  4. 16

How do I: Really set up Azure Active Directory based authentication for Business Central APIs

  • Post author:Vjeko
  • Post published:February 16, 2019
  • Post category:Business Central
  • Post comments:24 Comments

In just under two weeks I’ll have to present how to use OAuth 2.0 authentication to call REST APIs of Dynamics 365 Business Central. Should be easy. Not only I have already done
OAuth integrations, but there is also a nice step-by-step tutorial by Microsoft specifically done for Business Central. So, I followed the steps to the letter (as much as that was possible), and after all was done, I tried to use Postman to get myself an OAuth 2.0 token for invoking Business Central REST APIs, but it didn’t work. No matter what I did, Postman kept returning this:

(Could not complete OAuth 2.0 login. Check Postman Console for more details.)

So I checked the Postman Console for more details.

(access_denied; Error)

Quite some detail.

After a ridiculous amount of time troubleshooting this, I figured it out. Depending on how your Business Central trial account was configured you may encounter this problem. On top of it add the fact that the documentation isn’t exactly straightforward and at couple of places leaves you (educated-)guessing. So I decided to write this blog in case you (or myself at some future point after I will have forgotten I’ve been in this mess) ever need it.

(more…)

Continue Reading How do I: Really set up Azure Active Directory based authentication for Business Central APIs

Upcoming webinars

There are three webinars in the upcoming period: Leveraging Git, CI/CD from AL developer's shooes and Git branching models and strategies. Don't miss them, they are filling up fast!

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 800 other subscribers

Previously on Vjeko.com

  • 2022 (2)     
  • 2021 (17)     
  • 2020 (16)     
  • 2019 (26)     
  • 2018 (14)     
  • 2017 (12)     
  • 2016 (23)     
  • 2015 (37)     
  • 2014 (40)     
  • 2013 (9)     
  • 2012 (23)     
  • 2011 (15)     
  • 2010 (55)     
  • 2009 (75)     
  • 2008 (76)     
  • 2007 (8)     

Most popular posts

  • Understanding renaming/moving files with git
  • Some tips and hints about temporary tables
  • OnAfter table event subscriber patterns and antipatterns
  • A couple of ideas for HttpClient
  • AL Object ID Ninja
Copyright - OceanWP Theme by Nick

By continuing to use this website, you consent to the use of cookies in accordance with our Cookie Policy.

Accept