Run Solution Checker
cs_check_solutionAnalyze solution zip files using Power Apps Checker rule sets and save results locally. Use as a quality gate before solution deployment.
Instructions
Analyse solution zip files with the Power Apps Checker service (Solution Checker or AppSource Certification rule set) and write the results locally. Use as a quality gate before cs_deploy_solution. Runs 'pac solution check' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise). Only some inputs mutate; see the parameter descriptions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for pac (for project commands: the solution project folder) | |
| geo | No | Checker service geography | |
| path | No | Solution zip file(s); glob allowed | |
| confirm | No | Required to actually perform a change in a live environment. Without it the tool returns a dry run. | |
| profile | No | pac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles. | |
| ruleSet | No | 'Solution Checker' (default), 'AppSource Certification' or a rule set id | |
| background | No | Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status. | |
| clearCache | No | Clear the tenant's checker enforcement cache | |
| environment | No | Environment id or URL; default: the environment of the active pac auth profile | |
| saveResults | No | Store the results in the environment (Solution Health Hub) | |
| solutionUrl | No | SAS URL of a solution zip instead of path | |
| excludedFiles | No | Files to exclude from the analysis | |
| timeoutSeconds | No | Default 1800 | |
| outputDirectory | No | Where to write the results | |
| ruleLevelOverride | No | JSON file with rule level overrides |