web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get-PowerAppsCheckerRu...
Power Apps
Unanswered

Get-PowerAppsCheckerRulesets fails with ArrayTypeMismatchException

(0) ShareShare
ReportReport
Posted on by

Hello Community,

I am using the Microsoft.PowerApps.Checker.PowerShell module to understand Solution Checker rulesets and rules so that I can apply rule-level overrides correctly when running static analysis.

My goal is to:

  • Discover available rulesets

  • Inspect which rules belong to a given ruleset

  • Override specific rules using New-PowerAppsCheckerRuleLevelOverride

  • Execute Solution Checker via Invoke-PowerAppsChecker

However, I am facing consistent runtime issues with the discovery cmdlets.

Observed Issues

  1. Ruleset discovery fails

Get-PowerAppsCheckerRulesets -Geography Asia

Results in:

System.ArrayTypeMismatchException
Attempted to access an element as a type incompatible with the array

This occurs for all geographies (Asia, Europe, US, etc.).

  1. Rule discovery is unusable

Get-PowerAppsCheckerRules

Results in:

Parameter set cannot be resolved
AmbiguousParameterSet
 
                    Environment Details
  • Windows PowerShell 5.1

  • Module: Microsoft.PowerApps.Checker.PowerShell v1.0.52

  • Newtonsoft.Json v10.x resolved

  • Authentication successful via Add-PowerAppsAccount

  • Invoke-PowerAppsChecker works correctly and generates reports

Understanding So Far

  • The module documentation states these cmdlets are pre-release

  • It appears the Power Platform backend API has changed

  • The PowerShell module may no longer align with the current service contract

  • Checker execution still works, but metadata discovery does not

 

 

Questions

Should developers rely instead on:
  • Checker output inspection (JSON/SARIF)?

  • PAC CLI?

  • Documentation only?

 

 

I am able to run Solution Checker and apply rule overrides, but the lack of a working discovery mechanism makes it difficult to manage rules programmatically.

Any guidance on the current supported approach would be greatly appreciated.

Thank you.


  1. Are Get-PowerAppsCheckerRulesets and Get-PowerAppsCheckerRules still supported and expected to work?

  2. Is this a known issue caused by backend changes?

  3. What is the official/recommended way to:

    • Identify which rules are applied by a ruleset?

    • Determine valid Rule IDs for use with New-PowerAppsCheckerRuleLevelOverride?

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 460

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 330 Super User 2025 Season 2

Last 30 days Overall leaderboard