MSBA-259 · Lesson 10 of 12 · 18 min

Hands-on practice

▶ Video coming soon A video version of this lesson is on the way.

AB-410 assumes hands-on experience, and the circle's wrong-answer log showed that the skills people had only read about were the ones they missed. For the tenth session Signe cancelled the slides. Each member opened a developer environment, and the afternoon became a lab: a set of short exercises, one per weak skill, each finishing with a check that proved it worked. This lesson gives the lab sheet the circle used, adapted so that anyone can follow it.

Setting up a practice environment

Practise in an environment where mistakes cost nothing. The usual choice is a developer environment, which an individual maker can create with the free Power Apps Developer Plan or which an administrator can create for them. Developer environments include Dataverse, and the maker is its administrator. Two caveats from the governance course apply. First, Microsoft has deprecated unmanaged developer environments, and administrators must make existing ones managed before December 15, 2026 to keep them, so check with your administrator how new developer environments are set up in your tenant. Second, organization data policies still apply, so a connector blocked by policy will be blocked in practice too.

Never practise in production or in the default environment. Rupert gave the circle a rule: "If you would be embarrassed to explain an experiment to the privacy officer, do it with made-up data in your own developer environment." Every exercise below uses invented data.

Create one solution called Readiness Lab with your own publisher prefix, and build every exercise inside it. That way the whole lab can be exported, reviewed and deleted at the end, which is itself practice for the ALM skill.

A map of the readiness lab: a developer environment containing one solution, Readiness Lab. Inside, tables Asset and Asset Check, a model-driven app, a canvas app, two cloud flows, a prompt and a business process flow. Arrows link each component to the AB-410 skill area it practises.
One solution in a developer environment practises every skill area.

The lab sheet

The exercises follow the order of the outline. Each has a goal, short steps and a check. Most take ten to twenty minutes once you are familiar with the tools. Spend longer on the ones you rated red.

Exercise 1: tables in the data workspace

Goal: create two related tables with the data workspace. Open the data workspace in your solution and describe, in a sentence, a table of equipment assets with a name, an asset tag, a purchase date and a location, and a second table of asset checks with a date, a result (Pass or Fail) and notes. Review the proposed columns, change any wrong data types, and make sure Asset Check has a lookup to Asset. Check: the relationship appears on the diagram, and Asset Check rows show the asset's name in the lookup.

Exercise 2: ownership, relationship behaviour and views

Goal: practise the table settings that cannot be undone and the ones that are easy to miss. Confirm that Asset is user or team-owned. Set the Asset to Asset Check relationship to parental and test that deleting an asset deletes its checks. Then add Asset Tag to the quick find view's find columns. Check: searching by a tag finds the asset.

Exercise 3: a prompt column and a row summary

Goal: see the difference for yourself. On Asset Check, add a prompt column that turns the notes into a three-word condition label. Create a few checks and watch the status column until values appear. Then configure a row summary for Asset that uses its checks, and open an asset's main form. Check: the prompt column value appears in a view and can be filtered; the row summary appears only on the form.

Exercise 4: security

Goal: prove how roles and column security combine. Create a security role with read on Asset at business unit level and assign it to a test user (or a second account if you have one). Mark the Notes column on Asset Check as secured and create a column security profile with read only. Check: without the profile, the test user sees asset checks but not their notes; with it, they see the notes but cannot edit them.

Exercise 5: compose a model-driven app

Goal: build the app the outline describes. Create a model-driven app, add Asset and Asset Check, choose two views for each, add a chart of checks by result to a dashboard, and associate the app with your security role. Add a quick view form of Asset to the Asset Check main form. Check: the test user can open the app only when they have the role, and the asset's details appear inside each check.

Exercise 6: a generative page

Goal: try the newest model-driven skill. In the same app, add a generative page and describe it: a list of assets grouped by location, with the date of the last check and a red marker for any asset whose last check failed. Refine it with a second prompt. Check: the page shows your data and respects the test user's permissions.

Exercise 7: a canvas app with reusable formulas

Goal: practise named formulas, error handling and Monitor together. Create a canvas app from the Asset table. In App.Formulas, define a named formula for failed assets and a user-defined function that returns a colour for a result. Wrap the save button's Patch in IfError with a Notify message. Then open Monitor, use the app and find the data call behind the gallery.

Exercise 7 formulas. Adjust table and column names to your lab; check current Power Fx documentation for exact syntax.
// App.Formulas
FailedAssets = Filter(Assets, 'Last Result' = "Fail");
ResultColour(r: Text): Color = If(r = "Fail", Color.Red, Color.Green);

// OnSelect of the Save button
IfError(
    Patch(Assets, galAssets.Selected, {Notes: txtNotes.Text}),
    Notify("Could not save: " & FirstError.Message, NotificationType.Error)
);

Check: the gallery shows failed assets, a failed save shows a clear message, and Monitor lists the data calls with their durations.

Exercise 8: an agent from the canvas app

Goal: practise the newest canvas skill. Create a Copilot Studio agent from the canvas app so that users can ask about assets in natural language. Open it in Copilot Studio, look at its knowledge and settings, and ask it a question. Check: it answers from your lab data and does not show anything the user is not allowed to see.

Exercise 9: cloud flows with triggers, approvals and error handling

Goal: cover the Create cloud flows skills in one flow. Build an automated flow that starts when an Asset Check is created with a result of Fail, using select columns or filter rows so it does not fire for passes. Add an approval of type First to respond asking whether to replace the asset. Put the main steps in a Try scope and add a Catch scope that runs only if Try fails and sends you an email. Then break the flow on purpose, for example by removing a permission, and read the run history. Check: you can find the failed action, its error code and the Catch scope's run.

Exercise 10: a prompt in a flow and an AI model

Goal: practise the AI Hub skills. In AI Hub, build a prompt from blank that classifies check notes into Electrical, Mechanical, Damage or Other, with the notes as an input, a low temperature and JSON output. Test it with three sample notes. Use it in a cloud flow that runs when a check is created, and write the category back to the row. Separately, add a prebuilt model such as receipt processing to the canvas app or a flow and try it on a sample image. Check: categories appear on new checks, and you can see the model's confidence scores.

Exercise 11: business logic

Goal: practise each logic tool. Add a business rule on Asset Check that shows a Follow-up Date column only when the result is Fail. Add a formula column on Asset that shows the number of days since purchase, and a rollup column that counts failed checks. Create a two-stage business process flow, Inspect and Resolve, on Asset Check. Check: each behaves as expected, and you can explain which runs on the server and when the rollup updates.

Exercise 12: package and deploy

Goal: practise the ALM skill end to end. Add an environment variable to the solution for the email address used by the Catch scope, and make sure the flow uses a connection reference. Export the solution as managed. If you have a second developer environment, import it there, set the environment variable's value and connect the connection reference. Check: the flow runs in the second environment with its own value and connection.

What the circle learned in the lab

The afternoon produced more insight than any slide deck. Maribeth discovered that her model-driven app was invisible to the test user until she added the role to the app, which had been one of her red skills. The finance champion watched a prompt column fill asynchronously and finally understood why it was not instant. Rupert's flow looped once because he had not used select columns, and the run history showed him exactly why. Each of them moved several skills from red or amber to green.

Lab exercises, the skill areas they cover and a realistic time for each.
ExerciseSkill area practisedTypical time
1–4Build data models60 minutes
5–6Create model-driven apps35 minutes
7–8Create canvas apps40 minutes
9Create cloud flows30 minutes
10Create prompts and models in AI Hub30 minutes
11Implement business and process logic30 minutes
12Design: deploy a solution and ALM strategy25 minutes

Making the most of practice time

Three habits made the lab more effective. First, predict before you test: write down what you expect to happen, then check. When the result surprises you, you have found something the exam may test. Second, break things on purpose. Remove a privilege, give a prompt an empty input, delete a parent row. Exam questions often describe something going wrong, and you understand a feature best when you have seen it fail. Third, keep notes on the settings you had to search for, because those are the details most likely to appear as options.

When the lab is finished, export the Readiness Lab solution as unmanaged and keep the file. It is a compact record of everything you practised and can be imported again a week before the exam for a quick refresh. Then delete the components or the environment so that nothing lingers.

Extending the lab for model-driven practice

If model-driven apps are a red skill for you, add three extra checks to exercises 5 and 6. Create a second main form for Asset Check with fewer fields, restrict it to a second security role and set the form order, then sign in as a test user with only that role and confirm which form appears. Add a business process flow bar to the original form and confirm that the stages appear. Finally, remove your test user's role from the app and confirm that they can no longer open it, then restore it. These three checks cover form access, process flows and app access, which together accounted for several of the circle's wrong answers.

Extending the lab for flows

If cloud flows are a red skill, build a second flow that runs on a schedule rather than on an event, lists asset checks from the last week with a filter in the List rows action rather than in a loop, and sends one summary email. Compare its run history with the automated flow from exercise 9: the scheduled flow makes one call to Dataverse; a design that loops over every row and filters inside the flow makes many. Seeing the difference in run history makes efficiency questions much easier to answer.

Keeping lab notes

Maribeth kept a two-column note for every exercise: what she expected, and what happened. Where the two differed, she wrote the reason in one sentence once she found it. By the end of the afternoon she had fourteen such sentences, and she reread them on the morning of every study session for the rest of the month. They became her most valuable revision notes, because each one recorded a misconception she had actually held and corrected.

Cleaning up afterwards

When the lab is finished, remove anything that could be mistaken for real work. Delete test users' roles that were created only for the lab, remove connections you no longer need, and if the environment was created only for the readiness lab, ask whether it should be deleted. Lab environments that linger consume capacity and make inventories harder to read, which is exactly the clutter the governance course warns about.

Common mistakes

  • MistakePractising in the default environment or production.

    InsteadUse a developer environment with invented data.

  • MistakeBuilding lab components outside a solution.

    InsteadBuild everything in one lab solution so you can export, review and delete it.

  • MistakeOnly following steps that work.

    InsteadBreak things on purpose and read the errors and run history.

  • MistakeSkipping the newest features because they are in preview or unfamiliar.

    InsteadSpend extra time on prompt columns, row summaries, generative pages and agents from canvas apps.

Summary and key terms

  • Practise in a developer environment with invented data, inside one lab solution.
  • Twelve short exercises cover every AB-410 skill area, from tables in the data workspace to deploying a managed solution.
  • Each exercise ends with a check that proves the feature works as expected.
  • Predict results before testing, break things on purpose and note the settings you had to look up.
  • Export the lab solution for a later refresh, then clean up.
Developer environment
An environment for an individual maker's own building and practice.
Power Apps Developer Plan
A free plan that gives an individual a developer environment for learning and building.
Lab solution
A solution that holds all practice components so they can be moved or removed together.
Run history
The record of each cloud flow run with inputs, outputs and errors for every action.
Environment variable
A solution component that holds a value that can differ between environments.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Your test user cannot see a model-driven app you shared. What should you check first?

    Show answer

    Whether the app is associated with a security role the user holds, and whether that role grants table privileges.

  2. A prompt column shows no value immediately after you create a row. Is something wrong?

    Show answer

    Not necessarily. Prompt columns generate asynchronously; check the status column.

  3. How can you see why a cloud flow failed?

    Show answer

    Open its run history and inspect the failed action's inputs, outputs and error code.

  4. Why export the lab solution before deleting the environment?

    Show answer

    To keep a record you can import again for a quick refresh before the exam.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz