Browsed by
Category: MSDyn365BC

Deployment Tasks – CI / CD Part 4

Deployment Tasks – CI / CD Part 4

All we need are Tasks to deploy our Artifacts at Microsoft Dynamics 365 Business Central SaaS or On-Prem. In this article I’ll share with you a deeper look into my deployment stages. CI/CD Pipeline Tasks for MSDyn365BC Azure DevOps provide lots of build-in tasks to execute almost everything in the context of a Build or Deployment Agent. Unfortunately, pre-configured Pipelines or Tasks for Microsoft Dynamics 365 Business Central are not part of this list. However, there are other good options…

Read More Read More

Agents, Agent- and Deployment Pools – CI / CD Part 3

Agents, Agent- and Deployment Pools – CI / CD Part 3

Artifacts and Deployment Stages and Controlling the Artifact Flow should be clear. It’s time to see what Azure DevOps provide to deploy Artifact(s) into target environment(s). Two scenarios must be covered: SaaS and OnPrem. Both uses the same install base of Dynamics 365 Business Central, but are different in your access rights. Dynamics 365 Business Central – SaaS Here Release Artifact(s) (e.g. per-tenant App) must be deployed into your SaaS environment, your Microsoft Dynamics 365 Business Central tenant – hosted by Microsoft: BC Sandbox (Microsoft SaaS…

Read More Read More

Controlling the Artifact Flow – CI / CD Part 2

Controlling the Artifact Flow – CI / CD Part 2

In my last post I described my view on Artifacts and Deployment Stages. Now it’s time to look at the Artifact flow. Remember, an Artifact is unchangeable. Therefore it’s deployed only in one direction – strait forward – until any stage in the flow fails or it reaches the final destination. Controlling the Flow You control the flow – each stage – by these questions: When is a stage executed? … Trigger(s) Who allow the Artifact to enter the stage and what must be or informed?…

Read More Read More

Artifacts and Deployment Stages – CI / CD Part 1

Artifacts and Deployment Stages – CI / CD Part 1

Setup of a modern Development Process for Microsoft Dynamics 365 Business Central with Azure DevOps is state of the art. It’s future proof, especially to handle monthly updates in the SaaS world. Unfortunately, there is no standard setup for Azure DevOps and no standard CI / CD process available – not yet. Conclusion – we need to define this Setup and the CI / CD process for MSDyn365BC! Artifacts Let’s keep it simple – an Azure DevOps Artifact is a package….

Read More Read More

Upload files into your Azure Storage with Dynamics 365 Business Central

Upload files into your Azure Storage with Dynamics 365 Business Central

This open source library uses the Azure Blob Service from Microsoft Dynamics 365 Business Central to access your storage account, containers and blobs. See also here: Blob Service REST API Disclaimer: …please keep in mind, this example does not cover every aspects and is provided “AS IS”. Feel free to improve, contribute, use this API as an inspiration or contact me, if you have some ideas 😉 Authentication In each scenario, authentication is in my opinion the hardest challenge. Azure Blob Service API is an important service…

Read More Read More

IoT C2D Messages from Dynamics 365 Business Central

IoT C2D Messages from Dynamics 365 Business Central

My example invoke an Azure IoT Hub Device Method from Microsoft Dynamics 365 Business Central. Required information to send a message to from IoT Hub to the IoT Device endpoint are: IoT Hub Uri IoT Device Id IoT Hub SaS Token for authorization A device method will be invoked by calling the method on the Device Twin by using this Url: (API Documentation – Invoke Device Method) The message content is Json. Key methodName specify the called method and payload contains the data (parameters) for…

Read More Read More

A MSDyn365BC API for Azure IoT Hub API

A MSDyn365BC API for Azure IoT Hub API

IoT is an important part of our current technology. With Azure IoT Hub we are able to start as quick as possible. This platform allows to connect, configure and manage IoT Devices, IoT Edge Devices, Device Twins, Configurations and much more. My example show the integration of IoT Hub functionality in Microsoft Dynamics 365 Business Central by using the IoT Hub Rest API. Well you might do this in CAL or C/Side, but I want to show the future and with MSDyn365BC I use the new…

Read More Read More

Xmas Blog Posts

Xmas Blog Posts

Why not to include the great blog posts from “Counting down to the holidays with daily blogs” from Microsoft into Microsoft Dynamics 365 Business Central? This was the question and in this repository you find an answer. In my example I want to focus on usage of some of the new datatypes: List Dictionary In CAL you you have imported the ‘BAD’ .NET Framework to use these datatypes. In Microsoft AL they are included – and this is good! Disclaimer This example is provided “AS…

Read More Read More

#AImeetsBiz – 48 Hours of Coding and Fun

#AImeetsBiz – 48 Hours of Coding and Fun

One Team, one mission: Do something unbelievable within 48 hours … and YES, we did this at the Microsoft Hackathon in Munich! Our plan was to build a platform-supported service. We have set ourselves a use case. An intelligent service must be created in an easy way and typical for use in manufacturing companies. As example, we used a customer who build power generators. Tanks of a diesel generator must be regularly supplied with fuel. Tank monitoring with real time…

Read More Read More

Small Business and IoT Insides – A Story for Dynamics 365 Business Central

Small Business and IoT Insides – A Story for Dynamics 365 Business Central

An IoT idea direct from my summer vacation in Florida. Real-time information from swimming pools in Dynamics 365 Business Central for a pool cleaning company business. Lots of Microsoft Technology – D365BC, Azure IoT, VS Code with cool extensions, no hardware for IoT but PowerApps and Flow – Let’s see, what I used to setup this example. Setup of Dynamics 365 Business Central The pool cleaning company is a small business like each other service-oriented business. The company offers services…

Read More Read More