Download and extract files from GitHub https://github.com/microsoft/Dynamics365FO-AppChecker
The files must be unpacked into the corresponding directory, e.g. C:\AOSService\PackagesLocalDirectory\Bin\AppCheckerRules
Build model
In Visual Studio, under Dynamics 365 > Builds models, select the desired model and select the Run App Checks option:
Check result
Now corresponding entries should appear in the ErrorList if BP deviations have been detected.
In addition, a file AppCheckerResult.xml is stored in the packages directory, where the detected deviations can also be viewed.
A colleague of mine has brought to my attention the Dynamics Application Checker, which can be used to implement advanced best practice checks.
The used XQuery files can be downloaded from GitHub. How to use them I try to describe here.
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/install-basex?tabs=admin
https://github.com/microsoft/Dynamics365FO-AppChecker
The files must be unpacked into the corresponding directory, e.g. C:\AOSService\PackagesLocalDirectory\Bin\AppCheckerRules
In Visual Studio, under Dynamics 365 > Builds models, select the desired model and select the Run App Checks option:
Now corresponding entries should appear in the ErrorList if BP deviations have been detected.
In addition, a file AppCheckerResult.xml is stored in the packages directory, where the detected deviations can also be viewed.