Home New Trending Search
About Privacy Terms
Posts
James Pearson's posts
Why do all my tests show up twice in the test explorer? Long story, short Because you are using the pre-release of AL Language and you also have AL Test Runner installed. If you are using AL Test Runner then you probably want to switch to the release version of the AL Language extension for now. Short story, made unnecessarily long Microsoft are adding testing capability to the AL Language extension. It now discovers the tests in your project and puts them into the test explorer.

Why do all my tests show up twice in the test explorer?

Long story, short Because you are using the pre-release of AL Language and you also have AL Test Runner installed. If you are using AL Test Runner then you probably want to switch to the release version of the AL Language extension for now.…

1 month ago 1 0 0 0
vscode.commands.executeCommand('al.publishNoDebug') not returning result? · Issue #8181 · microsoft/AL Please include the following with each issue: 1. Describe the bug My extension (AL Test Runner) relies on calling the al.publishNoDebug command to optionally publish the test app before running tes...

Got a problem with tests hanging indefinitely with AL Test Runner? It may be a problem publishing to your container (an issue in the AL Language extension? github.com/microsoft/AL...). Publish your test app first and set "Publish Before Test" to None or enable publishing from PowerShell. #msdyn365bc

2 months ago 1 0 0 0

love your posts 😆

6 months ago 1 0 0 0
Preview
Embed Visual Studio Code in Business Central From time to time you might want to display large block of text in Business Central. Maybe the request / response from some integration. Maybe the contents of a text file that has been imported. I've written before about using the WebPageViewer add-in to format text nicely for a user to read. That's cool, but we can do better than that. We can embed Visual Studio Code's Monaco editor in a control add-in for a lovely text viewing and editing experience.

Embed Visual Studio Code in Business Central.

Could be a great user experience when you've got a large block of text that you need to display and/or edit.

#msdyn365bc

6 months ago 2 1 0 0

Hi @evernote.bsky.social, love Evernote, but I don't want Ctrl+Shift+K to launch the search. Can I change that?

6 months ago 0 0 0 0
Preview
Using Azure DevOps Wiki as a WYSIWYG Editor for Your Static Site Using Azure DevOps Wiki as a WYSIWYG Editor for Your Static Site #msdyn365bc #azure #docfx

Using Azure DevOps Wiki as a WYSIWYG Editor for Your Static Site

Using Azure DevOps Wiki as a WYSIWYG Editor for Your Static Site #msdyn365bc #azure #docfx

7 months ago 3 0 0 0
Preview
Dynamics 365 Business Central: finally we’ll have TRUNCATE table in SaaS. In the last 3 years I wrote many times about the need to have the possibility to execute a massive data deletion on SaaS and expecially the need to have the SQL TRUNCATE operation exposed to develo…

Dynamics 365 Business Central: finally we'll have TRUNCATE table in SaaS. 🤩
demiliani.com/2025/08/04/d...
#msdyn365bc

7 months ago 7 2 2 0
The patches are usually made of organic amino acid crystals…

The patches are usually made of organic amino acid crystals…

Truly extraordinary Google AI results. Amazing.

7 months ago 160 22 24 3
Preview
Calling Business Central Directly from a Managed Identity TL;DR You can assign Business Central (and other) API permissions to managed identities. Use the Microsoft Graph PowerShell module and then create an Entra Application record in Business Central for the client id of the managed identity (without the need for a separate app registration). Intro I've said it before and I'll say it again. The best thing about blogging now and then is that when people find a better way to do the things you're blogging about they sometimes tell you.

Calling Business Central Directly from a Managed Identity #msdyn365bc

Authenticate directly from your Azure resources into Business Central without an app registration or client secret.

7 months ago 7 0 0 0

I can't tell if it is foreach or Copilot (or maybe the combination), but everytime I use foreach VS Code goes mad. All sorts of false compilation errors highlighted in the editor but actually compiles when I build.

Foreach does feels a little like a forgotten child of the AL language. #bcalhelp

7 months ago 2 0 3 0
Preview
Calling Business Central APIs Without a Client Secret Intro We're doing more with Azure resources. I expect that you are too. Especially Static Web Apps and Azure Functions that we need to be able to call back into the Business Central and Dataverse APIs. To authenticate with Business Central we would typically: create an app registration in Azure add Business Central APIs permissions to the app registration create an Entra Application in Business Central and assign permission sets to it…

Calling Business Central APIs without a client secret

How to setup an Azure function to call a Business Central API without the hassle of having to manage and maintain client secrets.

#msdyn365bc

8 months ago 0 0 0 0

Can we auth web service calls with a managed identity? Telemetry says "successfully authenticated in Microsoft Entra ID but the user does not have any entitlements in Business Central". Also found @demiliani.bsky.social blog which suggests this is not possible. Is that right? #bcalhelp #msdyn365bc

8 months ago 0 0 0 0

I like a ConfirmationDialog for this kind of thing as well where the enum is rendered as radio buttons. You can limit the options with the AllowedValues property, BUT that is hardcoded 😢 I think I've seen a BCIdea to allow it to be dynamic which would be great.

8 months ago 1 0 0 0

"Fabric [gestures widely]" - that made me laugh...

...and then sigh

9 months ago 2 0 0 0

This is cool 👍

Is this ready for a straight switch with alc.exe commands? Are all the same parameters supported?

10 months ago 0 0 1 0
Preview
Another Look at App Integration in Business Central – Part 2 Recap See here for part 1 of this series. The challenge that we are trying to solve is to allow Business Central apps to call each other's functionality without creating a dependency. ⚠️ Reminder: only do this when you cannot create a dependency between the two apps. If a dependency is acceptable then that is the way that you should solve this problem.

Another Look at App Integration in Business Central - Part 2 #msdyn365bc

10 months ago 5 1 0 0
Post image

It turns out you can drop the ics file directly into the OWA calendar for a substantially less-bad user experience.

10 months ago 1 0 0 0
Preview
Telemetry cost control in Business Central - Stefan's BC Blog In the dynamic world of Business Central, telemetry data plays a crucial role in providing actionable insights into system performance and usage patterns. However, as...

Shout out to this article: ssosic.com/telemetry/te... good starting point 👍

10 months ago 1 0 0 0

Anyone willing to share data transformation rules that they use to reduce BC telemetry costs? Trimming out authorization calls (RT0004 and RT0003) seems like an obvious place to start? #bcalhelp #msdyn365bc

10 months ago 2 1 3 0
Tip – Access the Clipboard with Business Central Intro I've written before about using the WebPageViewer control add-in to add a little zest et je ne sais quoi to your BC pages. You can set html content like this or use JavaScript to neatly format JSON like this. Obviously, you have more control over how your page looks and behaves if you write your own control add-in, but for smaller jobs where you just need a little sprinkling of HTML and (your favourite programming language and mine) JavaScript then the WebPageViewer might be just fine.

Writing to the clipboard from Business Central #msdyn365bc

Another use for the WebPageViewer control add-in to add a small layer of UX joy to your apps.

10 months ago 4 0 0 0

Are the MS marketing team paid per-rebrand?

10 months ago 2 0 1 0

This is why I've used for several years Outlook web client. Loading an invite from a file is the only reason I would open the desktop app now. "Outlook (new)" is basically a skin for the web client anyway 🤷‍♂️

11 months ago 1 0 1 0

Outlook is genuinely baffling. Downloaded an appointment ics file. Outlook (new) opens and...does nothing with it. I select "Outlook" from the open with menu (called "Outlook (classic)" in start menu). Prompts me to set up my account. Evidently the two outlooks don't even share account setup.

11 months ago 2 0 4 0
Preview
Another Look at App Integration in Business Central Intro A while ago I posted a series of thoughts about integration between Business Central apps. You can find the original posts here. Those posts are 7 years old, presumably there must be a better way to do it now? It's time for a fresh look... Objective First, let's clarify what we are trying to achieve here. I'm interested in the ability for one app to call the functionality in another app…

Another Look at App Integration in Business Central #msdyn365bc

11 months ago 5 1 0 0

Problems logging into @evernote.bsky.social web app? The Continue button on the login page remains disabled after I enter my username... 🤔

11 months ago 0 1 0 0

What are your experiences with Cursor? What are you using it for?

11 months ago 0 0 1 0

Ouch. That feels...unintended. Thanks for sharing. I'm sure there must be partners using internal tables on the understanding that they cannot be access by anyone else. How about rapidstart come to think of it?

Is IsolatedStorage the only actually protected data then?

11 months ago 0 0 1 0
Preview
Versions Returned by Get-BcArtifactUrl Inconsistent with NuGet Packages · Issue #3827 · microsoft/navcontainerhelper The version number of artifacts returned by Get-BcArtifactUrl do not match with the versions available as NuGet packages from the MSApps feed. For example: Get-BCArtifactUrl -country gb -version 23...

Thanks Freddy 👍 created a GitHub issue: github.com/microsoft/na...

1 year ago 0 0 0 0

Genuine question. Does anyone actually use AI tools to "change the tone" of their writing? Just noticed that it has popped up in Evernote now as well. Who needs that?

1 year ago 1 0 1 0

OK, thanks for the reply. Still confused as to why the versions don't line up, but have reworked our pipeline:

$feed, $package, $version = Find-BcNuGetPackage -packageName Microsoft.Application.GB -version 23.1.0.0 -select Earliest -nuGetServerUrl $bccontainerhelperconfig.MSAppsNuGetFeedUrl

1 year ago 1 0 1 0
James Pearson
James Pearson
@j-pearson
75 Followers 100 Following 39 Posts
Posts Following