MSBA-259 · Lesson 4 of 12 · 20 min

Domain review: data modeling and security

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

The fourth session moved from the exam itself to the content. Signe chose to start with data, because everything else in Power Platform sits on it, and because the Build data models skill area is the largest single skill area in the foundation group. She projected the Lumenvale Facilities solution from the Dataverse Data Modeling and Security course, the one with Building, Room, Inspection and Finding tables, and used it as the running example. This lesson reviews the skills in the order the study guide lists them and ends with exam-style practice.

Tables in the data workspace

The data workspace is the visual designer in Power Apps where makers create and edit tables, columns and relationships together on a diagram, and can describe tables in natural language to have Copilot propose a design. The skill "create and edit tables in the data workspace" expects you to know that the workspace exists, what it does well and that its results are ordinary Dataverse tables. A table created in the workspace is the same as one created through the classic table designer: it lives in a solution if you are working in one, has a schema name with the publisher prefix, and supports every Dataverse feature.

For the exam, remember that Copilot suggestions in the workspace are a starting point. The maker reviews, renames and adjusts columns and relationships before saving. Questions may describe a maker who accepted a suggested design without checking it and now has a problem, such as a text column where a lookup was needed.

Standard and custom tables

Standard tables come with Dataverse, such as Account, Contact and User, and the skill "create and modify standard tables" is mostly about modifying them: adding columns, forms and views to a table that already exists. The exam favours reusing a standard table when it fits. A requirement to track the organizations that supply contractors points to Account; a requirement to store people who are not users points to Contact. Creating a custom Supplier table when Account would do is a classic wrong answer.

When a custom table is needed, its table properties matter. The most important property is chosen at creation and cannot be changed afterwards: ownership. A user or team-owned table has an owner on every row and works with security levels such as user, business unit and organization. An organization-owned table has no row owner, so access is all or nothing by privilege. Reference data such as Room Type can be organization-owned; operational data such as Inspection, which supervisors should see only for their campus, must be user or team-owned.

Table properties that often appear in questions.
PropertyWhat it controlsExam angle
OwnershipUser or team-owned versus organization-ownedCannot be changed later; pick user or team-owned when row-level access is needed
Table typeStandard, activity, virtual or elasticActivity tables for things like calls and visits; virtual for data that stays in another system; elastic for very high volume
Primary columnThe name shown in lookups and viewsChoose something people recognize, such as an inspection number
AuditingWhether changes are recordedNeeded to find who changed a value
Enable attachments, notes and similar optionsExtra capabilities on the tableSome cannot be turned off once enabled

Columns

The skill "create and modify columns" covers choosing the right data type and its settings. Common traps involve choices and lookups. A choice column holds one value from a fixed list; a choices column holds several. A lookup column points to a row in another table and creates a relationship. If a list of values will grow, need its own details or be maintained by business users, it usually belongs in a table with a lookup rather than in a choice column. Room Type started as a choice in an early Lumenvale draft and became a table when facilities wanted to store standard inspection templates per type.

Other details worth knowing: whole number versus decimal versus currency, where currency columns create a base-currency companion column; date and time behaviours such as user local and date only; and text formats such as email, URL and phone. Calculated, rollup and formula columns are also column types, but the outline lists them under business logic, and lesson 6 covers them.

Relationships

"Configure table relationships" covers one-to-many, many-to-one and many-to-many relationships and their behaviours. Behaviour decides what happens to related rows when a parent row is deleted, reassigned or shared. A parental relationship cascades every action: delete a Building and its Rooms are deleted too. A referential relationship does not cascade, and can be set to restrict deletion of a parent that has children, or to remove the link. A custom behaviour lets you set each action separately.

Three small diagrams of a parent table Building and a child table Room. Parental: deleting Building deletes its Rooms. Referential, restrict delete: Building cannot be deleted while Rooms exist. Referential, remove link: deleting Building leaves Rooms with an empty Building lookup.
Relationship behaviours decide what happens to child rows when a parent is deleted.

Many-to-many relationships come in two forms. A native many-to-many relationship uses a hidden intersect table and stores no extra data. When the relationship needs its own columns, such as the date a contractor was approved for a building, model it with a custom intersect table and two one-to-many relationships instead. Exam questions often hide this requirement in a sentence: "record when each contractor was approved for each building" rules out a native many-to-many relationship.

Prompt columns

A prompt column is a column whose value is generated by a prompt from AI Hub, using other columns in the same row as inputs. In the Building Intelligent Apps with Power Apps course, Lumenvale used a prompt column to generate a short summary of each work order. Facts worth knowing for the exam:

  • A table can have up to five prompt columns.
  • Values are generated asynchronously when a row is created or when an input column changes, and companion status and details columns show progress or errors.
  • Inputs can be columns of the row, but not formula, file, image or other prompt columns.
  • Generation consumes AI capacity, so makers should avoid triggering it unnecessarily.
  • Existing rows are not filled automatically when the column is created; a bulk backfill setting exists but is off by default.

Typical questions ask when a prompt column is the right choice. It suits text that should be stored and searchable, such as a category or summary that every user should see the same way. It is less suitable for content that must be generated on demand for one user, or for values that must follow strict rules, where a formula column or business rule is better.

Row summaries

A row summary shows an AI-generated summary of a row at the top of model-driven forms. Makers configure which columns and related rows the summary uses for each table, and apply it to main forms. An administrator setting must allow the feature for Power Apps. Row summaries are generated when the form opens and are not stored as data. Microsoft documents limits: the summary does not do arithmetic or date calculations, may describe formula columns or choice labels unreliably, and is not available for some tables in Dynamics 365 apps such as Case, Lead and Opportunity, which have their own summaries.

The contrast with prompt columns is a likely exam theme. A row summary helps a person reading one record quickly; a prompt column stores a generated value that views, filters, flows and reports can use.

Prompt columns and row summaries compared.
Prompt columnRow summary
Stored in DataverseYes, as a column valueNo, generated when the form opens
Where it appearsAnywhere the column can appear: views, forms, flows, reportsAt the top of main forms in model-driven apps
When it is generatedWhen the row is created or an input changesEach time the form is opened
Configured byMakers, using a prompt from AI HubMakers per table, with an admin setting allowing the feature
Best forA consistent value used by many people and processesA quick overview for the person reading the record

Views and main forms

"Configure public views" and "configure main forms" sit in Build data models because views and forms are defined on tables and then used by apps. Public views are available to everyone with access to the table; personal views belong to a user. A table also has system views such as the quick find view, whose find columns control what search matches, and the lookup view used in lookup columns. Exam questions often describe users who cannot find rows by typing a value into search: the fix is to add the column to the quick find view's find columns.

Main forms define how a row is edited in model-driven apps. A table can have several main forms, and form order and security roles decide which a user sees. Lesson 5 reviews form configuration in the context of apps, including access to forms.

Configure security

Security is a single bullet, "Configure security", but it covers a lot. The core ideas:

Dataverse security building blocks.
ConceptWhat it does
Security roleA set of privileges (create, read, write, delete, append, append to, assign, share) at an access level on each table
Access levelUser, business unit, parent: child business units, or organization
Business unitA container for users and rows that defines the business unit and parent: child scopes
TeamOwner teams can own rows and hold roles; access teams grant access to specific rows; Microsoft Entra group teams sync membership from groups
Column security profileControls read, create and update on secured columns, separately from row access
Hierarchy securityLets managers access the rows of people below them in a manager or position hierarchy

Roles are cumulative: a user with several roles gets the most generous combination of their privileges. Column security does not give access to rows; a user still needs row access through roles, ownership or sharing. In the Lumenvale Facilities solution, injury details on findings were secured with a column security profile so that only the health and safety office could read them, while inspectors could still create and read findings.

Worked problem

Choosing a security design

Campus supervisors at three campuses must see and update only inspections for their own campus. A central fire safety specialist must see inspections at every campus but must not change them. Injury details on findings must be visible only to the health and safety office. What design meets all three requirements?

Show solution
  1. Create a business unit for each campus under the root business unit, and make Inspection user or team-owned so rows belong to a campus.
  2. Give supervisors a role with read and write on Inspection at business unit level, assigned in each campus business unit.
  3. Place the fire safety specialist in the root business unit with a role that has read at organization level and no write privilege.
  4. Mark the injury details column as secured and grant read only through a column security profile assigned to the health and safety team.

Answer: Campus business units with business-unit-level roles for supervisors, an organization-level read-only role for the specialist, and column security for injury details.

What to revise

If any of this felt unfamiliar, return to Dataverse Data Modeling and Security. Its lessons on relationships, prompt columns and row summaries, and security map directly to these skills. The circle's red skills in this area were mostly the newer ones: Maribeth had never configured a row summary, and the finance champion had not used the data workspace. Both spent twenty minutes in a developer environment doing exactly that, which lesson 10 describes.

Data modeling questions in practice

Signe pointed out a pattern in data modeling questions. They rarely ask for a definition. Instead they describe a symptom and ask for the cause or the fix: users cannot find rows by searching, a deleted parent leaves orphaned children, a supervisor sees loans from another campus, a summary is not available in a view, a newly created prompt column is empty for older rows. Practising with symptoms is therefore more useful than memorizing lists. For each feature in this lesson, ask yourself what would go wrong if it were configured incorrectly and how a user would describe the problem. That habit also prepares you for case studies, where requirements are often written as complaints from the business.

Common mistakes

  • MistakeCreating a custom table when a standard table such as Account or Contact fits.

    InsteadReuse standard tables and extend them with columns, forms and views.

  • MistakeChoosing organization ownership for data that needs row-level access.

    InsteadUse user or team ownership; ownership cannot be changed later.

  • MistakeUsing a native many-to-many relationship when the relationship needs its own data.

    InsteadUse a custom intersect table with two one-to-many relationships.

  • MistakeExpecting column security to grant access to rows.

    InsteadGrant row access through roles, ownership or sharing, and use column security only to restrict columns.

  • MistakeTreating a row summary as stored data.

    InsteadUse a prompt column when the generated value must be stored, filtered or used by flows.

Summary and key terms

  • Tables can be created and edited in the data workspace, with Copilot suggestions that the maker reviews.
  • Prefer standard tables when they fit; set ownership carefully because it cannot be changed.
  • Relationship behaviours decide cascade actions; use custom intersect tables when relationships carry data.
  • Prompt columns store AI-generated values (up to five per table); row summaries show a generated overview on main forms.
  • Quick find view find columns control what search matches.
  • Security combines roles and access levels, business units, teams, column security profiles and hierarchy security.
Data workspace
The visual designer in Power Apps for creating and editing tables, columns and relationships together.
Table ownership
Whether rows have an owner (user or team) or belong to the organization; fixed at creation.
Relationship behaviour
The rules for cascading delete, assign, share and other actions from parent to child rows.
Prompt column
A Dataverse column whose value is generated by an AI Hub prompt from other columns in the row.
Row summary
An AI-generated overview of a row shown on model-driven main forms.
Column security profile
A set of read, create and update permissions on secured columns assigned to users or teams.

Practice problems

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

  1. Users cannot find buildings by typing the building code into search. What should you change?

    Show answer

    Add the building code column to the find columns of the table's quick find view.

  2. A table must have rows visible only to people in the same campus. Which ownership must it have?

    Show answer

    User or team ownership.

  3. Deleting a project must also delete its tasks. Which relationship behaviour fits?

    Show answer

    Parental (cascade all).

  4. Advisers want a stored AI-generated category on each request that can be used in views. Prompt column or row summary?

    Show answer

    A prompt column, because the value is stored and can be filtered and used in views.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz