Batch calls with Business Central (2) – Error handling
This is the second post in a batch series about batch calls with Business Central APIs. You can find the first one about the basic operations with batch calls here. In this post, I want to cover one...
View ArticleBatch calls with Business Central APIs (3) – Tips and Tricks
This is the third post in a series about batch calls with Business Central. If you haven’t read the the other posts, then I recommend to do so. You’ll find the first post about basic operations with...
View ArticleDeprecation of Basic Auth for SaaS has been postponed to 2022
Good news: Microsoft decided to postpone the deprecation of Web Service Access Keys (Basic Authentication) until version 2022 wave 1. See confirmation here:...
View ArticleExtending standard APIs (1)
I’ve got this question so many times: how can we extend the standard APIs with extra fields? So I decided to write a blog post about it. Actually, it’s going to be two blog posts, because one would...
View ArticleExtending standard APIs (2)
In the previous blog post, I’ve demonstrated how to extend standard APIs by using them as a template for a new custom API that contains the customizations you want to do. While that approach works for...
View ArticleService to service authentication in Business Central 18.3 – Usage and...
Business Central 18.3 is just around the corner, and it comes with a long-awaited feature: support for OAuth client credentials flow, aka service-to-service authentication. Many API integrations with...
View ArticleService to service authentication in Business Central 18.3 – How to set up
In the previous blog post, I’ve described the usage scenarios around OAuth client credentials flow for Business Central. In this post, I want to show how to set up this new feature. The next blog post...
View ArticleService to service authentication in Business Central 18.3 – How to test...
In the previous blog posts I’ve described the usage scenarios around OAuth client credentials flow for Business Central and how to set it up. The next step is to test the APIs and with OAuth...
View ArticleService to service authentication in Business Central 18.3 – How to test...
This is the next blog post in a series about service to service authentication in Business Central. Please see the previous blog posts for more information: Usage and license termsHow to set upTest...
View ArticleService to service authentication in Business Central 18.3 – How to use in C#
We continue the series about Service to Service authentication, aka Client Credentials Flow, with some tips about getting and using the access token with C#. Please see the previous posts in this...
View ArticleService to service authentication in Business Central 18.3 – How to use in AL
Because I got the question if it was possible to use the client credentials flow in Business Central I decided to write a quick blog post about that as well. Codeunit OAuth2 provides a number of...
View ArticleConfiguring Business Central for Azure Active Directory authentication and...
It’s a recurring question I get quite frequently: how to set up Business Central on-premises for Azure Active Directory authentication? And related to that, how to call APIs on Business Central...
View ArticleConfiguring Business Central for Azure Active Directory authentication and...
After configuring Business Central on-premises for Azure Active Directory authentication, as explained in the previous blog post, it’s now time to configure it for OAuth authentication with APIs and...
View ArticleSending email via SMTP in Business Central (online and on-premise)
It’s not a secret that Microsoft is forcing OAuth authentication for several products, including Exchange Online and Business Central Online. Over the last couple of days, I got multiple requests from...
View ArticleSales APIs returns error in a read-only request
This twitter message reminded me of an issue that can occur with the sales APIs in Business Central. Did Microsoft Online change the default AccessIntent? Client calls and tells that Power BI failes...
View ArticlePrepare for the new invoice posting engine!
Introduction In version 2021 wave 2 (v19) a new feature was introduced, called “Extend general ledger posting aggregations”. The reason for this new feature is that the table "Invoice Post. Buffer"...
View ArticleMicrosoft Dynamics 365 Business Central API v2.0 Reference
I’m delighted to introduce a new book I had the pleasure of co-authoring. A book that is aiming to be a full reference for all standard Business Central APIs. It contains a lot of information about...
View ArticleHow to get a reliable xRec
This tweet reminded me of a small but beautiful trick to get a reliable xRec in all the Modify trigger events. I had forgotten about how xrec/rec works with different type of events #MSDyn365 I will...
View Article