run_bp_check
Check a Dynamics 365 Finance and Operations project for Microsoft Best Practice violations, returning warnings and errors with rule codes.
Instructions
Run Microsoft Best Practices checker (xppbp.exe) on a D365FO project. Returns BP warnings and errors with rule codes (e.g. BPErrorLabelIsText, BPXmlDocNoDocumentationComments). Runs AFTER a build, not after a write — and build_d365fo_project(bpCheck:true) already folds this check into the build, so a separate call is rarely needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | No | Check several objects in ONE call — preferred over targetFilter. Shared preamble is printed once and findings are grouped per object. | |
| modelName | No | Model name to check. Auto-detected if omitted. | |
| packagePath | No | PackagesLocalDirectory root path. Auto-detected if omitted. | |
| projectPath | No | Absolute path to the .rnrproj file to analyze. Auto-detected if omitted. |