Stage 7 of 17

Stage 7 of 17

Prepare

3 environments, publisher, solution, 9 tables with columns and relationships, calculated Risk Score column, and test data. Everything in dependency order.

Premium Licensing Required

Microsoft Dataverse requires a Power Apps Premium licence (or Power Apps per-app plan). It is not included in Microsoft 365 or the free Power Apps Developer Plan for production use. For this lab, use a Developer environment — these are free and include Dataverse for personal development and learning. Do not use a production Dataverse environment without confirming licensing with your administrator.

Naming Conventions

ItemValueExampleNotes
Publisher Prefixdtoddtod_ApplicationAll custom tables, columns, and relationships get this prefix. Prevents conflicts with Microsoft standard tables.
Solution NameDToDApplicationPortfolioDToDApplicationPortfolio_1_0_0_0No spaces. Version number appended on export.
Environment — DevContoso-APM-DevContoso-APM-DevConvention: OrgName-SolutionAbbr-Env
Environment — TestContoso-APM-TestContoso-APM-Test
Environment — ProductionContoso-APM-ProdContoso-APM-Prod
Flow NamesDToDLab020-[FlowName]DToDLab020-EOLReminderPrefix identifies the lab. Makes flows easy to find in the environment.
Table Display NamesSingular nounApplication (not Applications)Dataverse convention. The plural is used automatically in views.

Setup Steps

1

Create the Development Environment

  1. 1.Go to the Power Platform Admin Centre (admin.powerplatform.microsoft.com).
  2. 2.Select Environments in the left navigation.
  3. 3.Select New.
  4. 4.Name: Contoso-APM-Dev. Type: Developer (or Sandbox if Developer is not available). Region: United Kingdom. Enable Dataverse: Yes.
  5. 5.Select Save and wait for the environment to provision (typically 2–5 minutes).
  6. 6.Repeat for Contoso-APM-Test and Contoso-APM-Prod.

Important

Developer environments are free and suitable for this lab. If you are using a work tenant, check with your administrator before creating environments — some organisations restrict environment creation.

2

Create the Publisher

  1. 1.In the Dev environment, go to make.powerapps.com and ensure you are in Contoso-APM-Dev.
  2. 2.Select Solutions in the left navigation.
  3. 3.Select New solution.
  4. 4.Before filling in the solution details, select New publisher at the bottom of the Publisher dropdown.
  5. 5.Display name: DToD Labs. Name: dtodlabs. Prefix: dtod.
  6. 6.Select Save.

Important

The publisher prefix is permanent. Once you have created tables and columns with the dtod_ prefix, changing the publisher prefix would break all existing references. Choose carefully.

3

Create the Solution

  1. 1.In the New solution panel: Display name: DToD Application Portfolio. Name: DToDApplicationPortfolio. Publisher: DToD Labs (dtod). Version: 1.0.0.0.
  2. 2.Select Create.
  3. 3.You now have an empty solution. All tables, flows, and app components you create will be added to this solution.

Important

Always work inside the solution. If you create a table outside the solution, it will not be included when you export and deploy. This is the most common ALM mistake.

4

Create the Tables

  1. 1.Inside the DToDApplicationPortfolio solution, select New → Table.
  2. 2.Create each of the 9 tables from the Data stage in this order: Business Owner, Technical Owner, Supplier, Application, Contract, Technology, Integration, Risk, Support Model.
  3. 3.Create lookup tables first (Business Owner, Technical Owner, Supplier) before the tables that reference them (Application, Contract).
  4. 4.For each table: set Display name (singular), Plural name (automatic), Primary column name, and Ownership (Organisation).
  5. 5.Do not add columns yet — add them after all tables are created so you can create lookup columns pointing to already-existing tables.

Important

Create tables in dependency order. If you try to create a Lookup column on Application pointing to Business Owner before the Business Owner table exists, the lookup will not be available.

5

Add Columns and Relationships

  1. 1.For each table, add the columns defined in the Data stage.
  2. 2.Add simple columns first (Text, Choice, Date, Number, Currency, Yes/No).
  3. 3.Add Lookup columns last — they require the target table to already exist.
  4. 4.For the Application table: add the Business Owner lookup (pointing to Business Owner table) and the Technical Owner lookup (pointing to Technical Owner table).
  5. 5.For the Contract table: add the Supplier lookup, Application lookup, and Contract Owner lookup (pointing to Business Owner).
  6. 6.For Technology, Integration, Risk, and Support Model: add the Application lookup.
  7. 7.For Risk: add the Risk Owner lookup (pointing to Technical Owner).
  8. 8.For Integration: add Source Application lookup and Target Application lookup (both pointing to Application).

Important

The Integration table has two lookups to the Application table — Source Application and Target Application. This is valid. Dataverse supports multiple lookups to the same table.

6

Add the Calculated Column

  1. 1.On the Risk table, add a new column: Display name: Risk Score. Data type: Whole Number. Behaviour: Calculated.
  2. 2.In the calculation editor, set the formula: Likelihood * Impact.
  3. 3.Save the column.
  4. 4.Test: create a Risk record with Likelihood = 4 and Impact = 5. Risk Score should calculate to 20.

Important

Calculated columns in Dataverse update when the record is saved, not in real time. If you change Likelihood and do not save, the Risk Score will not update until you save the record.

7

Enter Test Data

  1. 1.Enter test data in this order: Business Owners first, then Technical Owners, then Suppliers, then Applications, then Contracts, Technologies, Integrations, Risks, and Support Models.
  2. 2.Use the sample records from the Data stage.
  3. 3.Enter at least 10 Application records, 8 Supplier records, 8 Contract records, 6 Technology records, 6 Integration records, 6 Risk records, and 4 Support Model records.
  4. 4.Verify that all lookups resolve correctly — for example, the Business Owner field on an Application record should show the name from the Business Owner table.

Important

Enter data in dependency order. You cannot create an Application record with a Business Owner lookup until the Business Owner record exists.

Why Are We Doing This?

The Prepare stage feels like administration, but it is the foundation of everything that follows. A wrong publisher prefix cannot be changed. A table created outside the solution will not deploy. An environment created without Dataverse cannot host a Model-Driven App. Getting these decisions right now prevents hours of rework later.

Stage Complete — What You Now Have

  • ✓3 environments created: Contoso-APM-Dev, Contoso-APM-Test, Contoso-APM-Prod
  • ✓Publisher created: DToD Labs (prefix: dtod)
  • ✓Solution created: DToDApplicationPortfolio (v1.0.0.0)
  • ✓9 Dataverse tables created with all columns and relationships
  • ✓Calculated Risk Score column: Likelihood × Impact
  • ✓40+ test data records entered across all tables in dependency order

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project