0:00

ESPC26 · Brick by Brick · Lab 05

Ask for one change and prove it works.

Use AI authoring to build one canvas-app interaction, then inspect, test, and save it in Studio.

The finish line: a workshop checklist shows Not ready to start, changes to Ready when you mark it ready, and returns to Not ready when you reset it.

Back to all labs

Use a separate app

Before you begin

Connect to the practice app

1 · Open one authoring route

1

Connect the presenter’s Canvas Authoring MCP client

Open the saved app in Power Apps Studio, enable coauthoring, and connect the Canvas Apps plugin to that session.

The presenter uses one configured coding client. Copy the Studio URL from the open app, keep its browser tab open, and connect using the Canvas Apps plugin’s Configure Canvas MCP capability. Confirm the app name and environment before requesting the edit. Microsoft’s Canvas Authoring MCP setup.

If the presenter has the embedded Authoring agent in Studio, the same requirement can be used there. Tenant enablement and GitHub access determine availability. Microsoft’s Studio authoring agent overview.

Expect: The client confirms it is connected to the practice app and can list available controls.

One interaction

2 · Build and inspect a bounded change

1

Request the checklist interaction

Send the requirement to the connected authoring client and inspect its proposed changes.

Text
In the saved ESPC26 - Setup Checklist Practice canvas app, use the first screen. Add a title, Workshop setup checklist, and a status label that starts as Not ready. Add two buttons named Mark ready and Reset. Mark ready changes the label to Ready. Reset returns it to Not ready. Keep the behavior in local app state, and use no new connectors, data sources, or screens. Show the planned controls and formulas, then apply and validate the edit. Tell me how to test all three states in Power Apps Studio.

In the external client, inspect the generated .pa.yaml or diff. In the Studio route, inspect the controls and Power Fx in Studio. Find the two button actions and the status label logic before testing.

Expect: The edit is limited to the practice app’s first screen and uses local app state.

2

Preview the behavior and make one correction if needed

Open Preview in Studio and try the full checklist interaction.

Expect: The three states work in order and the app still works after save and reopen.

Follow-along fallback

3 · Build the same interaction in Studio

1

Add the controls and apply the Power Fx formulas

On the blank screen, add a title label, a status label, and two buttons.

Set the button text to Mark ready and Reset. Paste these formulas into the indicated properties, then test the three states in Preview.

Mark ready button · OnSelect

Power Fx
Set(varWorkshopSetupReady, true)

Reset button · OnSelect

Power Fx
Set(varWorkshopSetupReady, false)

Status label · Text

Power Fx
If(varWorkshopSetupReady, "Ready", "Not ready")

Expect: The app passes the same three-state test using standard controls and local state.

Save what you can reuse

Wrap up

Keep the requirement, the small Power Fx contract, and the three acceptance checks together. They let another maker reproduce the interaction in a different app or apply the same workflow with a different authoring client.