Skip to the content.

rename (preview)

Rename a symbol across an app and repack it.

easel rename <msapp> --from <old> --to <new> [--output <file.msapp>] [--keep-temp]

Preview. After it runs, open the output .msapp in Power Apps Studio and verify the app behaves identically before shipping.

Rules

How it works

pac canvas unpack   →   rename identifier in pa.yaml   →   pac canvas pack   →   new .msapp

Renaming targets Power Fx identifier tokens across the unpacked pa.yaml and legacy fx.yaml sources (a temp copy — never the input). It supports global variables, context variables, collections and named formulas, including their definition sites. YAML comments, scalar styles and unrelated formatting are preserved. After packing, the tool prints how many occurrences changed and reminds you to verify in Studio.

Caveats (why it’s preview)

Example

easel rename MyApp.msapp --from gblUsr --to gblCurrentUser
# ✓ Renamed 'gblUsr' → 'gblCurrentUser'. (7 occurrences in 3 files)
# → MyApp.renamed.msapp
# preview: open the new .msapp in Power Apps Studio and verify before shipping.