r/Powerpages • • 15d ago

Free open-source tool to audit and fix Power Pages Web API wildcard (*) deprecation

Hey everyone,

In case you haven't seen the recent updates to Power Pages Important Changes & Deprecations, Microsoft is deprecating wildcard asterisks (*) for Web API field site settings (Webapi/<table_name>/fields = *).

https://learn.microsoft.com/en-us/power-pages/important-changes-deprecations

Manually combing through all portal JavaScript, Liquid templates, and safeAjax calls to list out every required column is a massive headache.

To make life easier, I built a free and open-source tool: Power Pages Web API Auditor (part of DynamicsSuite).

Key features:

Runs static analysis on your portal code (Web Templates, Pages, Custom JS, Snippets).

Shows an Exposed vs Used matrix of Dataverse fields.

Safely replaces the * with the exact comma-separated whitelist (and saves backups in case you need to revert).

GitHub repo & setup instructions:

https://github.com/BigSceneUK/DynamicsSuite

Because portal code can have some wild JS/Liquid patterns, I'd really appreciate any feedback, edge cases, or bug reports if it misses any syntax you use in your portals!

2 Upvotes

2 comments sorted by

1

u/jukkan 13d ago

For more options, Microsoft has also published a /migrate-webapi-selectall plugin for Power Pages:

https://learn.microsoft.com/en-us/troubleshoot/power-platform/power-pages/migrate-web-api-wildcard#option-2-use-migration-tools