
If you don't have a Business Central Online subscription, you'll need to install an on-premises version of Business Central in order to follow the examples in the upcoming chapters.
Please note that the chapter titled "Admin Center Operations" applies exclusively to Business Central Online.
The PowerShell scripts that you need in this lesson are:
1. install-module bccontainerhelper
This command installs the BCContainerHelper module from the PowerShell Gallery. This module provides cmdlets for managing Microsoft Dynamics 365 Business Central containers.
2. Get-BcArtifactUrl -type onprem -country w1 -select All
This command retrieves the URL for the Business Central artifacts (like Docker images) for an on-premises deployment.
3. The third script uses the New-BCContainer cmdlet to create a new Business Central Docker container with the specified configuration, including memory limits and authentication settings.
Remember to enter the password, select an artifact URL, provide a container name, and optionally, change the user if desired.
$password = 'mypass'
$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$artifactUrl = "https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/24.7.25890.0/w1"
$containerName = "bcserv"
$credential = New-Object pscredential 'admin', $securePassword
New-BCContainer -accept_eula `
-accept_outdated `
-updateHosts `
-artifactUrl $artifactUrl `
-containerName $containerName `
-credential $credential `
-auth UserPassword `
-shortcuts StartMenu `
-memoryLimit 8G `
-alwaysPull
Install Visual Studio Code and add AL extensions for Business Central, including the Microsoft AI language extension, AZ AL Dev Tools, and Oscar's AI language extension, then create a project.
Access the business central admin center, copy the production environment to a sandbox to deploy apps, and expect activation within minutes or up to 48 hours.
Publish your extension to production by uploading the packed app file via extension management, then deploy and monitor status in the installation status until the app is uploaded.
Discover how to debug in Visual Studio Code by setting breakpoints, starting debugging, and using continue, step over, step into, and step out to navigate code.
Attach a debugger to a Business Central session using Visual Studio Code by publishing an app, setting a breakpoint, and configuring launch.json for on-premise or sandbox environments.
Discover how to record actions in Business Central with the page scripting tool, creating reusable scripts for posting items, tests, and training to reproduce bugs efficiently.
Access the business central on-premises SQL Server Management Studio to query tables like sales header, enable advanced reporting and performance analysis through complex queries and logs.
Explore how GitHub Copilot Chat assists AL programming, from generating project documentation and creating an event subscriber to describing code, clarifying a vacation days field, and building a cart page.
Add a custom tool to your custom agent by creating a tools folder and an alprojectinfo.mcp ps1 file, plus an mcp.json config to start server and read AL project metadata.
Use the event recorder to map events when validating the line discount on a sales order. Isolate the process, start and stop recording, and tailor behavior with AL code.
Explore how install coordinates and install codeunits automate setup tasks in Business Central, including fresh installs and reinstalls, with setup tables, pages, and is installed and is reinstalled fields.
Learn to collect and display errors in Business Central using the error message management and error message handling code units, and compare traditional errors with a consolidated error list.
Connect to the Azure AI language service to perform entity recognition on text, extracting key information such as names, organizations, locations, and objects within Business Central item reviews.
Publish and share your power app by creating and publishing new versions, then use the share link to distribute live updates to others.
Create page scripts to automate tests in Business Central by recording from the role center, validating unit of measure in the resource journal, and using BC replay for automation.
Explore the admin center to manage production and sandbox environments in Dynamics 365 Business Central Cloud, and create, clone, rename, delete environments, plus add notification recipients.
Identify roles that grant admin center access, including global administrator, Dynamics 365 administrator, or Dynamics 365 Business Central administrator. Learn to check and assign these roles in Azure.
Learn to add notification recipients by entering a name and a valid email, then save, so recipients receive alerts about environment updates, conflicts, and scheduled or successful updates across environments.
Manage installed apps in your environment by viewing name, publisher, version, and update status; use extension management in sandbox environments, and uninstall or update as needed.
Schedule and manage environment updates in business central by setting a six-hour update window and scheduling the update for the next day, with in-app and email notifications.
Explore data compression in Business Central by compressing resource ledger entries, including vendor and customer ledgers, optimizing storage and understanding irreversible changes and backup recommendations.
Welcome to Business Central Programming – Beyond the Basics!
Ready to take your Microsoft Dynamics 365 Business Central development skills to the next level?
This course is designed for developers who already understand the fundamentals of AL programming and want to deepen their knowledge with the tools, techniques and best practices used in real Business Central projects.
This course continues where my "Begin Programming in Microsoft Dynamics 365 Business Central" course ends, covering additional tools, development concepts and Business Central features that you'll use as you gain more experience with AL development. If you already have equivalent AL development experience, you can jump straight into this course.
Rather than revisiting the basics, we'll focus on the tools, concepts and features that will help you become more confident when developing Business Central extensions.
Throughout the course, every topic is explained through practical demonstrations that you can apply in your own Business Central projects.
What You'll Learn:
Development Tools & Productivity
Install Business Central using Docker Desktop, Microsoft's Installation Kit (DVD), or a Business Central Online Sandbox
Publish extensions to both On-Premises and Business Central Online environments
Debug AL applications efficiently
Use the Performance Profiler to identify performance bottlenecks
Work with the Page Scripting Tool
Increase your productivity using GitHub Copilot when developing AL extensions
AL Development Topics
Work with Event-Driven Programming
Manage the application lifecycle using Install, Upgrade and other specialized Codeunits
Create notifications for Business Central users
Learn how to work with Job Queues
Get introduced to integrating Business Central with the Microsoft Power Platform
Explore additional AL development concepts that will help you better understand the Business Central development platform.
Automated Testing
Understand the fundamentals of automated testing in Business Central
Learn how automated tests improve code quality and simplify future maintenance
Business Central Administration
Navigate the Business Central Admin Center
Create and manage Business Central Online environments
Perform common administration tasks for cloud-hosted Business Central environments
Telemetry
Introduction to Business Central telemetry
Understand the basics of Business Central telemetry
Multiple Development Environment Options
To make this course accessible on as many computers as possible, it includes three different ways to set up your Business Central development environment.
Option 1 (Recommended) – Install Business Central locally using Docker Desktop.
Option 2 – If Docker isn't compatible with your computer or cannot be installed because of hardware, virtualization or operating system limitations, you can instead install Business Central locally using Microsoft's Installation Kit (DVD).
Option 3 (Alternative) – If neither local installation method works for you, the course also includes a complete chapter showing how to develop using a Business Central Online Sandbox.
You only need ONE of these environments to complete the course.
Once one installation method is working, simply continue with the remaining lessons. Although many demonstrations use Docker, the concepts covered throughout the course are exactly the same regardless of which development environment you choose.
If you encounter installation difficulties, don't worry. The course explains alternative setup methods, and you can always ask questions in the Q&A section, where I'll be happy to help.
Whether you're looking to improve your daily development workflow or expand your AL programming knowledge, this course will help you become more comfortable developing extensions for Microsoft Dynamics 365 Business Central.
Important: This course focuses on practical, real-world Business Central development and administration. It is not intended as preparation for the Microsoft MB-820 certification exam.