Stage 5 of 17
9 Dataverse tables. Every column, data type, required flag, and relationship defined. 15+ realistic sample records per key table. Relationship types explained with worked examples.
Why Are We Doing This?
In previous labs you designed a SharePoint list — one table, flat structure. In this lab you are designing a relational data model — multiple tables connected by relationships. This is how enterprise data is structured. Getting the data model right before you build is the most important design decision in this lab. A wrong relationship is very difficult to fix after data has been entered.
1:N (One-to-Many)
What it means: One record in Table A can relate to many records in Table B. The foreign key (lookup column) lives in Table B.
Example in this lab: One Application can have many Risks. The Application lookup column lives in the Risk table.
In Dataverse: Create a Lookup column on the "many" table (Risk) pointing to the "one" table (Application). Dataverse creates the relationship automatically.
N:1 (Many-to-One)
What it means: Many records in Table A can relate to one record in Table B. This is the same relationship as 1:N, viewed from the other direction.
Example in this lab: Many Applications can share one Business Owner. The Business Owner lookup column lives in the Application table.
In Dataverse: Same as 1:N — create a Lookup column on the Application table pointing to Business Owner. The relationship is the same; the direction just describes which table you are thinking about.
N:N (Many-to-Many)
What it means: Many records in Table A can relate to many records in Table B. Dataverse creates an invisible junction table to store the pairs.
Example in this lab: In this data model we do not use N:N directly. If we needed to record that one Application can have many Suppliers AND one Supplier can supply many Applications, we would use N:N. Instead, we use the Contract table as an explicit junction — which is better practice because the Contract has its own data (value, dates, notice period).
In Dataverse: Use the Many-to-Many relationship type in the Relationship editor. Dataverse creates the junction table automatically. You cannot add columns to the junction table — if you need to, use an explicit junction table instead.
Application
Hub
Supplier
Lookup
Contract
Junction
Business Owner
Lookup
Technical Owner
Lookup
Technology
Detail
Integration
Detail
Risk
Detail
Support Model
Detail
Application
Display name: Applications · Primary column: Application Name (text) · Ownership: Organisation-owned
The central table. Every business application Contoso operates has one record here. This is the hub of the entire data model — most other tables relate back to it.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Application Name | Text (Primary) | Yes | Salesforce CRM | The primary column. Appears in all lookups and views. |
| Description | Multiline Text | No | Customer relationship management system used by the Sales and Account Management teams. | |
| Application Type | Choice | Yes | SaaS | Values: SaaS / On-Premise / Hybrid / Custom Built |
| Status | Choice | Yes | Active | Values: Active / Under Review / Decommissioned. Drives most views and flows. |
| Business Criticality | Choice | Yes | Critical | Values: Critical / High / Medium / Low. Used in the Power BI dashboard. |
| Hosting | Choice | Yes | Cloud | Values: Cloud / On-Premise / Hybrid |
| Strategic Fit Score | Whole Number | No | 4 | 1–5 scale. 5 = fully aligned with strategy. Used in rationalisation. |
| Strategic Fit Rationale | Multiline Text | No | Directly supports the 2025 digital-first customer strategy. | Free text justification for the score. |
| Technical Debt Score | Whole Number | No | 3 | 1–5 scale. 5 = severe technical debt. Used in rationalisation. |
| Technical Debt Rationale | Multiline Text | No | Running on a deprecated API version. Vendor EOL in 18 months. | |
| Business Owner | Lookup → Business Owner | Yes | Sarah Chen | N:1 relationship. One Business Owner can own many Applications. |
| Technical Owner | Lookup → Technical Owner | Yes | Tom Reeves | N:1 relationship. One Technical Owner can own many Applications. |
| Date Added | Date Only | Yes | 01/03/2024 | Set on creation. Used to track portfolio growth over time. |
| Rationalisation Category | Choice | No | Maintain | Values: Invest / Maintain / Modernise / Replace / Retire. Set during Lifecycle Review. |
Relationships
Sample Records (10)
Supplier
Display name: Suppliers · Primary column: Supplier Name (text) · Ownership: Organisation-owned
Records every software supplier Contoso has a relationship with. Linked to Applications and Contracts.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Supplier Name | Text (Primary) | Yes | Salesforce Inc. | |
| Contact Name | Text | No | James Whitfield | Primary account manager contact. |
| Contact Email | No | j.whitfield@salesforce.com | ||
| Contact Phone | Phone | No | +44 20 7946 0123 | |
| Support URL | URL | No | https://help.salesforce.com | |
| Supplier Risk | Choice | Yes | Low | Values: High / Medium / Low. Assessed based on single-supplier dependency and financial stability. |
| Notes | Multiline Text | No | Preferred supplier. Enterprise agreement in place. |
Relationships
Sample Records (8)
Contract
Display name: Contracts · Primary column: Contract Name (text) · Ownership: Organisation-owned
Records every software contract. Linked to both a Supplier and an Application. The Contract Review Reminder flow reads this table.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Contract Name | Text (Primary) | Yes | Salesforce Enterprise — FY2025 | |
| Supplier | Lookup → Supplier | Yes | Salesforce Inc. | N:1. One Supplier can have many Contracts. |
| Application | Lookup → Application | Yes | Salesforce CRM | N:1. One Application can have many Contracts. |
| Contract Value (£) | Currency | Yes | £84,000 | Annual contract value in GBP. |
| Start Date | Date Only | Yes | 01/04/2024 | |
| End Date | Date Only | Yes | 31/03/2026 | Used to calculate Days to Renewal. |
| Notice Period (Days) | Whole Number | Yes | 90 | Number of days notice required to cancel or renegotiate. |
| Auto-Renewal | Yes/No | Yes | Yes | If Yes and Days to Renewal ≤ 90, the contract is flagged for review. |
| Contract Owner | Lookup → Business Owner | Yes | Helena Marsh | Receives the Contract Review Reminder notification. |
| Days to Renewal | Calculated (Whole Number) | No | 127 | Calculated: End Date minus Today. Read-only. Used in views and flows. |
| Status | Choice | Yes | Active | Values: Active / Expired / Terminated / Under Negotiation |
Relationships
Sample Records (8)
Business Owner
Display name: Business Owners · Primary column: Full Name (text) · Ownership: Organisation-owned
A lookup table of people who own applications from a business perspective. Separating this into its own table means you can update a person's details once and it propagates everywhere.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Full Name | Text (Primary) | Yes | Sarah Chen | |
| Job Title | Text | Yes | Chief Operating Officer | |
| Department | Text | Yes | Operations | |
| Yes | s.chen@contoso.co.uk | Used by the Missing Owner Notification flow. | ||
| Phone | Phone | No | +44 7700 900123 | |
| Active | Yes/No | Yes | Yes | Set to No when a person leaves. Filters the lookup in the Application form. |
Relationships
Sample Records (6)
Technical Owner
Display name: Technical Owners · Primary column: Full Name (text) · Ownership: Organisation-owned
A lookup table of people who own applications from a technical perspective. Separate from Business Owner because the same person can be both, and the roles have different responsibilities.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Full Name | Text (Primary) | Yes | Tom Reeves | |
| Job Title | Text | Yes | IT Team Lead | |
| Department | Text | Yes | IT | |
| Yes | t.reeves@contoso.co.uk | Used by the Missing Owner Notification flow. | ||
| Phone | Phone | No | +44 7700 900456 | |
| Active | Yes/No | Yes | Yes | Set to No when a person leaves. |
Relationships
Sample Records (3)
Technology
Display name: Technologies · Primary column: Component Name (text) · Ownership: Organisation-owned
Records the technology components that make up each application — programming languages, frameworks, databases, operating systems. The EOL Reminder flow reads this table.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Component Name | Text (Primary) | Yes | Windows Server 2012 R2 | |
| Application | Lookup → Application | Yes | Legacy Invoicing System | N:1. One Application can have many Technology records. |
| Component Type | Choice | Yes | Operating System | Values: Operating System / Database / Framework / Language / Infrastructure / Other |
| Version | Text | No | 2012 R2 | |
| EOL Date | Date Only | No | 10/10/2023 | End of Life date from the vendor. The EOL Reminder flow triggers when this is within 90 days. |
| EOL Status | Choice | Yes | Past EOL | Values: Supported / Approaching EOL / Past EOL. Calculated or manually set. |
| Replacement Plan | Multiline Text | No | Migration to Windows Server 2022 planned for Q3 2025. |
Relationships
Sample Records (6)
Integration
Display name: Integrations · Primary column: Integration Name (text) · Ownership: Organisation-owned
Records every integration between two applications. This is the dependency map that prevented the £30,000 CRM/invoicing incident. Each record has a Source Application and a Target Application.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Integration Name | Text (Primary) | Yes | Salesforce CRM → Legacy Invoicing (Customer Data) | Convention: Source → Target (Data Type) |
| Source Application | Lookup → Application | Yes | Salesforce CRM | The application that sends data. |
| Target Application | Lookup → Application | Yes | Legacy Invoicing System | The application that receives data. |
| Integration Type | Choice | Yes | API | Values: API / File Transfer / Database Link / Webhook / Manual / Other |
| Data Transferred | Text | Yes | Customer account records, billing addresses | |
| Frequency | Choice | Yes | Real-time | Values: Real-time / Hourly / Daily / Weekly / On-demand |
| Criticality | Choice | Yes | Critical | Values: Critical / High / Medium / Low. If this integration fails, how severe is the impact? |
| Owner | Lookup → Technical Owner | Yes | Tom Reeves | |
| Notes | Multiline Text | No | Custom REST API built in 2019. No documentation exists. Tom Reeves is the only person who understands it. |
Relationships
Sample Records (6)
Risk
Display name: Risks · Primary column: Risk Title (text) · Ownership: Organisation-owned
Records every risk associated with an application. The Risk Review Reminder flow reads this table. Risk Score is calculated as Likelihood × Impact.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Risk Title | Text (Primary) | Yes | Legacy Invoicing — No vendor support | |
| Application | Lookup → Application | Yes | Legacy Invoicing System | N:1. One Application can have many Risks. |
| Risk Description | Multiline Text | Yes | The Legacy Invoicing System is running on Windows Server 2012 R2 which reached EOL in October 2023. No security patches are being applied. A vulnerability could result in a data breach or system compromise. | |
| Risk Category | Choice | Yes | Security | Values: Security / Operational / Financial / Compliance / Strategic / Supplier |
| Likelihood | Whole Number | Yes | 4 | 1–5 scale. 1 = Rare, 5 = Almost Certain. |
| Impact | Whole Number | Yes | 5 | 1–5 scale. 1 = Negligible, 5 = Catastrophic. |
| Risk Score | Calculated (Whole Number) | No | 20 | Calculated: Likelihood × Impact. Max = 25. Scores ≥ 15 are High Risk. |
| Mitigation | Multiline Text | Yes | Network isolation applied. Migration to Windows Server 2022 planned for Q3 2025. Penetration test scheduled. | |
| Mitigation Status | Choice | Yes | In Progress | Values: Open / In Progress / Mitigated / Accepted |
| Risk Owner | Lookup → Technical Owner | Yes | Tom Reeves | |
| Next Review Date | Date Only | Yes | 01/03/2025 | The Risk Review Reminder flow triggers 14 days before this date. |
Relationships
Sample Records (6)
Support Model
Display name: Support Models · Primary column: Support Model Name (text) · Ownership: Organisation-owned
Records the support model for each application — who to call, what the SLA is, and how incidents are escalated. One record per Application.
Columns
| Column Name | Data Type | Required | Example | Notes |
|---|---|---|---|---|
| Support Model Name | Text (Primary) | Yes | Salesforce CRM — Support Model | Convention: Application Name — Support Model |
| Application | Lookup → Application | Yes | Salesforce CRM | 1:1 relationship in practice (one Support Model per Application). |
| Support Type | Choice | Yes | Vendor | Values: Vendor / Internal / Third Party / Hybrid |
| Support Contact Name | Text | No | Salesforce Premier Support | |
| Support Contact Email | No | premier@salesforce.com | ||
| Support Contact Phone | Phone | No | +44 800 0921 0000 | |
| Support URL | URL | No | https://help.salesforce.com/s/support | |
| SLA — P1 Response (Hours) | Whole Number | No | 1 | Hours to first response for a Priority 1 (Critical) incident. |
| SLA — P1 Resolution (Hours) | Whole Number | No | 4 | |
| Escalation Path | Multiline Text | No | L1: ServiceNow ticket → L2: Tom Reeves → L3: Salesforce Premier Support → L4: Marcus Webb (CTO) | |
| Out of Hours Support | Yes/No | Yes | Yes |
Relationships
Sample Records (4)
Business Rule: Risk Score
Likelihood * Impact. Maximum score = 25. Scores of 15 or above are classified as High Risk and must be escalated to the IT Team Lead. You cannot edit a calculated column directly — it updates automatically when Likelihood or Impact changes.Why Separate Business Owner and Technical Owner?
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.