MSBA-130 · Lesson 3 of 12 · 19 min

Microsoft Dataverse

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

Maribeth's transcript spreadsheet had 31 columns. Some held one fact each, such as the student number. Others held three facts jammed together, such as "Sent 14 Mar by courier to UBC Admissions, tracking 4471." Several columns were left over from a process abandoned two years earlier. Rupert asked her to bring a printout to the third session and spread it on the table next to a whiteboard. "Before we build an app," he said, "we decide where the data lives and what shape it has. On this platform, that place is usually Dataverse."

What Dataverse is

Microsoft Dataverse is the data platform underneath Power Platform and Dynamics 365. It stores data in tables, each made of columns and rows, much like a database. Unlike a database that someone has to install, patch and back up, Dataverse is a managed cloud service: Microsoft runs it, scales it, backs it up and secures it, and makers work with it through designers in the browser. Every environment that has Dataverse gets its own Dataverse database, so the data for one environment is kept separate from another's.

Dataverse is more than storage. It adds a layer of meaning and rules on top of the data: rich column types such as currency, email and file; relationships between tables; business rules and formulas; a detailed security model; auditing; and a standard interface that apps, flows, agents, reports and code can all use. That is why the same table can be used by a canvas app, a model-driven app, a cloud flow, a Copilot Studio agent and a Power BI report without anyone writing an integration.

Dataverse compared with a traditional database

The PL-900 exam asks candidates to describe the differences between traditional databases and Dataverse. A traditional relational database, such as SQL Server or an open-source database on a server, is extremely flexible but leaves much of the work to the people who run it. Dataverse trades some of that flexibility for a great deal of built-in capability.

Dataverse compared with a traditional relational database.
ConcernTraditional databaseDataverse
Hosting and maintenanceYou install, patch, size and back up the server or managed serviceMicrosoft runs and backs up the service inside each environment
Design toolsSQL scripts or database management toolsBrowser designers, Copilot and Power Fx formulas
SecurityYou build roles, row filters and auditing yourselfSecurity roles, business units, teams, column security and auditing are built in
Business logicStored procedures and triggers, or application codeBusiness rules, formula columns, flows and plug-ins
IntegrationYou write APIs or connection codeStandard connector and web API used by every Power Platform product
User interfaceSeparate application neededForms, views and dashboards defined with the tables
Cost modelServer or service sizeCapacity in the tenant, shared across environments, measured as database, file and log storage

Dataverse is not the right home for every kind of data. A huge stream of sensor readings or an analytics data warehouse belongs in a service built for that purpose, such as Azure data services or Microsoft Fabric. A personal list a single person keeps can stay in Excel or a SharePoint list. Dataverse is designed for business data that several people and processes create, update and rely on.

Tables

Dataverse tables come in a few types. Standard tables are created for you in every Dataverse database and model common business ideas: Account (an organization), Contact (a person), User, Team and others. Using a standard table where it fits saves effort and makes it easier to share data with Dynamics 365 apps later. Custom tables are the ones makers create for their own needs, such as Transcript Request. Activity tables hold actions with a time, such as emails, phone calls and appointments, and can be linked to many other tables. Virtual tables show data that lives in another system as if it were a Dataverse table, without copying it in. Microsoft also offers elastic tables for very high volumes of data that do not need every relational feature.

Each table also has properties that matter for security and behavior. Its ownership is either user or team owned, meaning each row belongs to a person or team and security can be applied by owner, or organization owned, meaning rows belong to the whole organization. Tables can have auditing switched on, can appear in search, and can allow attachments and notes.

Columns and data types

A column holds one kind of fact about each row. Choosing the right data type is one of the most useful habits a maker can learn, because the type decides what values are allowed, how they are shown and what can be done with them later.

Common Dataverse column data types.
Data typeHoldsTranscript request example
Single line of textShort text, with formats such as email, phone or URLRecipient email address
Multiple lines of textLonger textNotes from the adviser
Whole number or decimalNumbersNumber of copies requested
CurrencyMoney, with a currencyFee charged
Date and time / Date onlyDates, with or without a timeDate requested, date sent
Choice / ChoicesOne or several values from a fixed listDelivery method: email, mail or courier
Yes/NoA true or false valueRush request
LookupA link to a row in another tableThe student the request is for
File / ImageA file or picture stored with the rowSigned release form
AutonumberAn automatically generated identifierRequest number TR-2026-00451
FormulaA value calculated with Power FxDays waiting, from date requested to today

Every table has a primary name column, a text column shown when the row appears in a lookup or list, such as the request number. Every row also gets a unique identifier, created and modified dates and the user who created and modified it, without the maker doing anything.

Back at the whiteboard, the group split Maribeth's jammed columns apart. "Sent 14 Mar by courier to UBC Admissions, tracking 4471" became five columns: Date Sent, Delivery Method (a choice), Recipient Organization, Recipient Email and Tracking Number. Splitting the facts meant the new app could filter, sort and report on each of them, and a flow could act on a single change such as Date Sent being filled in.

Relationships

Business data is connected. A student has many transcript requests; each request belongs to one student. Dataverse models connections as relationships between tables.

Three table boxes. Student on the left links to Transcript Request in the middle with a line marked one at the Student end and many at the Request end. Transcript Request links to Recipient Organization on the right the same way. Below, Student and Course are linked by a line marked many at both ends.
One-to-many and many-to-many relationships. A lookup column on the many side holds the link.

A one-to-many relationship links one row in a table to many rows in another: one student, many requests. Seen from the other side it is a many-to-one relationship, and it is created by adding a lookup column to the "many" table: each transcript request has a Student lookup. A many-to-many relationship links many rows on each side, such as students and courses; Dataverse manages a hidden intersect table to hold the pairs. Relationships also carry behaviors, which decide what happens to related rows when a parent row is deleted, reassigned or shared. For example, deleting a student might be blocked while requests still exist, or the requests might be reassigned along with the student.

Forms and views

Dataverse stores more than data; it also stores the standard ways people look at that data. A form is a layout for viewing and editing one row: which columns appear, in which sections and tabs, which are required. A view is a saved list of rows: which columns appear, how it is filtered and how it is sorted, such as "Requests waiting more than five days, oldest first". Model-driven apps are assembled largely from forms and views, and canvas apps can use the same tables while drawing their own screens. Charts and dashboards build on views.

Business logic in Dataverse

Rules about data belong as close to the data as possible, so that every app and flow that touches the table obeys them. Dataverse offers several ways to add logic, from no-code to pro-code.

Ways to add business logic to Dataverse, roughly from no-code to pro-code.
OptionBuilt withTypical use
Business rulesA visual designer, no codeMake a column required, show or hide it, set a default, validate a value
Formula columnsPower FxCalculate a value from other columns, such as days waiting
Calculated and rollup columnsA designerOlder ways to calculate values and totals across related rows
Power Automate cloud flowsThe flow designerReact when rows are created or changed: notify, approve, update other systems
Plug-insCode, usually C#, by developersComplex logic that must run inside the platform's transaction

Power Fx is the low-code formula language used across Power Platform. It is based on Excel formulas, so a maker who can write an IF function in a spreadsheet can read most Power Fx. In Dataverse, Power Fx defines formula columns; in canvas apps it controls almost every behavior. A formula column for the number of days a request has waited could look like this.

A Power Fx formula column: days from request to today, or to the date sent once the transcript has gone.
If(
    IsBlank('Date Sent'),
    DateDiff('Date Requested', Today(), TimeUnit.Days),
    DateDiff('Date Requested', 'Date Sent', TimeUnit.Days)
)

Maribeth recognized the pattern immediately from her spreadsheet, where a similar formula had broken whenever someone pasted over it. In Dataverse the formula is part of the column definition, so nobody can paste over it by accident.

Using AI to design tables

Copilot is built into the Dataverse table designer and the Power Apps maker portal. A maker can describe the data they need in plain language, for example "a table to track transcript requests with the student, date requested, delivery method and status", and Copilot proposes tables, columns, data types and relationships that the maker reviews and edits before creating them. A maker can also start from an existing Excel file or CSV file and let Copilot suggest a table based on its columns. The proposal is a draft, not a decision: Maribeth's first Copilot draft made Delivery Method a text column instead of a choice and missed the Student lookup, and she fixed both before saving. The PL-900 skills list using AI to create and edit tables, columns and relationships as an objective in its own right.

Worked problem

Reviewing a Copilot table proposal

Copilot proposes a Transcript Request table with these columns: Student Name (text), Student Number (text), Date Requested (date), Delivery Method (text), Copies (text), Status (text). What should Maribeth change?

Show solution
  1. Student Name and Student Number repeat facts that belong to the student. Replace them with a Student lookup to a Student or Contact table.
  2. Delivery Method and Status have a small fixed set of values. Make them choice columns so values are consistent and easy to filter.
  3. Copies is a count. Make it a whole number with a minimum of 1.
  4. Add a primary name column using an autonumber so each request has a readable identifier such as TR-2026-00451.

Answer: Use a Student lookup, choice columns for Delivery Method and Status, a whole number for Copies and an autonumber request number. AI gives a fast first draft; the maker applies data-type judgment.

Dataverse for Teams

Microsoft Teams includes a lighter version called Dataverse for Teams. It gives a team a small Dataverse environment inside Teams for building apps, flows and agents that the team uses, under the rights that come with many Microsoft 365 licenses. It has fewer features and a smaller size limit than full Dataverse, and an environment created this way can later be upgraded to full Dataverse when the solution outgrows it. Lumenvale decided not to use it for the registrar project, because student records needed the full security model, but Rupert noted it as an option for small team tools.

Searching and auditing data

Two more built-in capabilities came up in Maribeth's design. Dataverse search lets people find rows across tables from a single search box in model-driven apps, using relevance rather than exact matches, so an officer can type part of a student's name or a request number and find it. Auditing records changes to rows and columns, including the old and new values, who made the change and when. Auditing is switched on for the environment and then for each table and column that needs it; the audit history then appears on each row. Audit logs use log capacity, so administrators choose carefully which tables to audit and how long to keep the logs.

Common mistakes

  • MistakePacking several facts into one text column, as in the spreadsheet.

    InsteadGive each fact its own column with the right data type so it can be filtered, validated and automated.

  • MistakeCopying the student's name into every request row.

    InsteadUse a lookup to the student so the name is stored once and stays correct.

  • MistakePutting validation only in the app.

    InsteadPut rules in Dataverse with business rules or formula columns so every app and flow obeys them.

  • MistakeAccepting a Copilot table proposal as it is.

    InsteadReview data types, lookups and choices before creating the table.

Summary and key terms

  • Dataverse is the managed data platform for Power Platform and Dynamics 365, with one database per Dataverse environment.
  • It adds rich data types, relationships, forms, views, business logic, security and auditing on top of storage.
  • Table types include standard, custom, activity, virtual and elastic tables.
  • Relationships are one-to-many (created with lookup columns) or many-to-many, and carry behaviors for delete and reassign.
  • Business logic ranges from no-code business rules to Power Fx formula columns, flows and code plug-ins.
  • Copilot can draft tables, columns and relationships from a description or a file, which the maker then reviews.
Dataverse
The managed cloud data platform underneath Power Platform and Dynamics 365.
Table
A set of rows and columns in Dataverse that holds one kind of business data.
Lookup column
A column that links a row to a row in another table, creating a many-to-one relationship.
View
A saved, filtered and sorted list of rows with chosen columns.
Form
A layout for viewing and editing a single row.
Power Fx
The low-code, Excel-based formula language used across Power Platform.
Business rule
A no-code rule on a table that validates, requires, shows or sets column values.

Practice problems

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

  1. Which column type would you use to store which student a request belongs to?

    Show answer

    A lookup column to the student table.

  2. Name two differences between Dataverse and a traditional database.

    Show answer

    Any two: Microsoft runs and backs it up; security roles and auditing are built in; business rules and Power Fx; a standard interface for all products; forms and views stored with the data; capacity-based cost.

  3. What is a view?

    Show answer

    A saved list of rows with chosen columns, filter and sort order.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz