Dynamics 365 Business Central 2023 Wave 2 release adds the possibility via telemetry to immediately discover if per-tenant extensions (PTE) are not compatible with the next major release or with the current environment. This gives you (as a partner) the time to fix and refactor your code prior to breaking changes.
More in details, from September 2023 you will have a set of new signals related to discover if you have extensions blocking upgrades to next major. The flow of the new signals will be as follows:
Environment validation started (LC0220)
For each extension (main + dependent extensions)
Extension validation started (LC0204)
Either
Extension validation completed successfully (LC0225)
or
Extension Validation diagnostic reported (LC0210)
Extension validation completed with failures (LC0226)
Either
Environment validation completed successfully (LC0222)
or
Environment validation completed with failures (LC0223)
Environment diagnostic reported (LC0227)
Similarly, from September 2023 when a user/administrator uploads a per-tenant extension (PTE) to an environment from the Extension Management page, it will be validated against the environment. Validation of PTEs in the current environment will follow this flow:
PTE submission validation request started (LC0200)
For each extension (main + dependent extensions)
Extension validation started (LC0204)
Either
Extension validation completed successfully (LC0205)
or
Validation diagnostic reported (LC0210)
Extension validation completed with failures (LC0206)
Either
PTE submission validation request completed successfully (LC0202)
or
PTE submission validation request completed with failures (LC0203)
Kennie in his greatest monthly newsletter about telemetries provided links to samples on how to use these signals in the future. By monitoring these signals (and maybe also by setting up alerts on top of them) you can do a cross-customer analysis of breaking PTEs and act accordingly (useful if you want to discover breaking changes before your customer 😉 ).
