Solution checker enforcement in Managed Environments
We are excited to announce the public preview of solution checker enforcement, a new feature in Managed Environments that gives admins much more control over the customizations in their environments! Solution checker enforcement allows you to block or warn on solution imports with critical severity violations, as defined in the solution checker rules. These violations can have security, performance, reliability, and deprecation impact.
There are two modes you can choose for solution checker enforcement:
In Block mode, solutions can only be imported if they were checked with solution checker and they contain no critical violations. Solutions containing non-critical violations won’t be blocked.
Admins of the environment (and the recipients of the Managed Environment weekly digest emails) will receive an email with a summary of the solution quality and whether the solution was blocked or not.
In Warn mode, solutions can be imported even if they weren’t checked with solution checker or if they contain critical violations.
Admins of the environment (and the recipients of the Managed Environment weekly digest emails) will receive an email with a summary of the solution quality. You have the option to opt-out of these emails.
Please note that in either mode, the solution checker is not run during the solution import. Solution checker enforcement will only verify whether the solution was validated using the solution checker in the past 90 days, and if it did, whether there are any critical violations.
How it works
To enable solution checker enforcement:
- Sign-in to the Power Platform admin center.
- In the navigation pane, select Environments, and then select a managed environment.
- On the command bar, select Edit Managed Environments, and then select the appropriate setting under Solution checker.
What happens next?
After enabling, all custom solution imports will warn or block unless a valid solution checker result within the last 90 days is found. A valid solution checker run uses the Solution Checker ruleset with no exclusions or overrides and contains no Critical severity violations. You can run solution checker through maker portal or PAC solution check to generate results. Examples are shown below with Warn and Block mode with and without results.
Solution checker enforcement also sends an email to the environment administrators when a check fails or completes with warnings. This feature helps keep administrators up-to-date on the status of the checks, ensuring that any issues are addressed in a timely manner.
Looking forward
We are committed to providing Power Platform users with the tools and resources they need to build and deploy high-quality solutions, as well as the governance to efficiently perform application lifecycle management. Solution checker enforcement is just one of the many ways we are working to achieve this goal.
We encourage all Power Platform administrators to take advantage of this powerful new feature and provide feedback to help us continue to improve and refine the tool.
Please share your feedback/suggestions in this thread and see our documentation for more information.