2


Summary :

When Running

Invoke-NAVApplicationDatabaseConversion from within Powershell Terminal in Visual studio code raises an error apperantly related to Telemetry.


WARNING: UnhandledErrorMessage

Invoke-NAVApplicationDatabaseConversion : Method not found: 'Microsoft.Extensions.Logging.ILoggingBuilder Microsoft.Extensions.Logging.OpenTelemetryLoggingExtensions.AddOpenTelemetry

Same command processes without any error from Powershell ISE


Note : This is an OnPrem Upgrade scenario


Version information :


Visual Studio Code (Administrator)

Version: 1.85.2 (system setup)

Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681

Date: 2024-01-18T06:40:10.514Z (2 wks ago)

Electron: 25.9.7

ElectronBuildId: 26354273

Chromium: 114.0.5735.289

Node.js: 18.15.0

V8: 11.4.183.29-electron.0

OS: Windows_NT x64 10.0.17763


Microsoft Powershell extension -v2024.0.0


BC DVD version: Dynamics.365.BC.14562.NL.DVD

Module version :


Major Minor Build Revision

----- ----- ----- --------

23   0   14532 0



Category: Data Migrations
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team