What‘s New?
-
PAYONE API HMAC authentication in AL
This is one of the more specific posts about API authentication in Business Central. But probably someone could use the snippets for his own implementation. Right now we’re implementing the payment API of PAYONE for one of our customers. This provider needs the API request headers and additional information to be hashed using HMAC256 and…
-
Error installing BC22 WebClient on Windows Server 2022 (AspNetCoreModuleV2)
In a recent customer installation we ran into an error “Required IIS module AspNetCoreModuleV2 missing” when trying to install the WebClient components in the Dynamics 365 Business Central version 22 setup. A manual installation using New-NAVWebServerInstance wasn’t successful aswell. The server was a fully patched Windows Server 2022. Although the installation of the prerequisites didn’t…
-
SSH into your Unifi CloudKey Gen2
For anyone who struggles to get into their Ubiquity CloudKey Gen2 via SSH… There are a bunch of forum posts swarming around offering a wide variety of options. ubnt/ubnt, root/ubnt… For me, using version “UniFi OS UCK G2 Plus 3.1.9” the following combination worked: Setup the SSH password in the CloudKey: Now you could use…
-
Access Business Central API in Python using MSAL (S2S)
This is a minimalist way to access the Business Central API in Python using the Service 2 Service authentication (Client_Credentials). It is based on the Microsoft Authentication Library for Python: In the first step, we create a function to obtain a fresh token: Now you could, for example, get all companies with a couple of…
-
Changes in Windows 11 (22H2) break printer selection
At the moment we receive more and more requests that the printer selection in NAV/BC does not work as expected anymore as it always resets to the default printer. It seems that Microsoft has changed the default printer dialog with the update to Windows 11, Version 22H2. Presumably the problem will be fixed with another…
-
MS365BC JSON Viewer FactBox
In my daily work I often encounter interfaces and web services of any kind. Whether inbound or outbound, they usually use some kind of payload in the form of JSON these days. No matter if it’s the outgoing object or the response of the web service. Since I fundamentally implement strong logging in my extensions,…
-
How-To loop through OData pages (@odata.nextLink) using AL
As most of you know, OData (and probably several other implementations) use server-driven pagination to load the data incrementally and improve the response times. This means if you have a big result set, the server will tell you how to aquire the next page of results. Here you find a small AL pattern to loop…
-
Business Central Webclient SSL error with domain validated certificate using Edge
This is a short one. Recently we’ve had to build up a new infrastructure at one of our customers. After setting up Business Central and installing the Webclient I faced a problem switching it to SSL using a domain validated certificate. Although Internet Explorer accepted the certificate without a doubt, Microsoft Edge constantly threw the…
-
How-To failover Services using Azure Traffic Manager
We sadly just had another ISP failure at the company. Since we, like many others, work mainly from the home office, we had a problem. As we had not yet set up an alternative route to our terminal server, we could not access the company resources for the entire downtime which has caused some resentment…
-
Business Central – Azure Key Vault outage / problems (14.03.22)
UPDATE: 16.03.22 – The fix is supposed to be rolled out currently. UPDATE: 17.03.22 – Problems seem to be solved in all regions. Currently, there is a confirmed platform issue between Azure Key Vaults and Business Central at Microsoft. Extensions that rely on key vaults receive an error message that the vault cannot be initialized:…
-
API Logging without rollback due to hard errors
In a current API connection in a customer project I have just dealt with the topic of API request logging again. I had already built a small prototype that allows logging via webservice. But it is much easier than that. Namely by using background sessions. This can persist the information despite hard errors in the…
-
Deploy Azure Functions from an external GIT repository (manual push)
In this short blog post, I have a look at the possibility to deploy Azure Functions from an external GIT repository. In my specific example, the repository is located in a DevOps repo in a different tenant. If the DevOps instance would be in the same tenant we could actually connect it using the full…
Links & Reading List
Visit the Blog Archive to get a quick overview!
Subscribe to my Newsletter to receive updates on the latest posts