Stage 6 of 17
Logical architecture, 6 key design decisions with rationale, Model-Driven App structure (6 sections, 20+ views, 9 forms), and the 3-environment ALM strategy.
Presentation Layer
Model-Driven Power App
The user interface. Auto-generated views and forms from Dataverse table definitions. Custom navigation sitemap. Business rules enforced at form level.
Automation Layer
4 Power Automate Cloud Flows
EOL Reminder, Contract Review Reminder, Missing Owner Notification, Risk Review Reminder. All triggered by Dataverse row conditions or scheduled recurrence.
Data Layer
Microsoft Dataverse
9 tables with relationships, calculated columns, business rules, and organisation-owned security. Managed solution for ALM deployment.
Reporting Layer
Power BI Dashboard
6-page portfolio dashboard. Connects directly to Dataverse via the Power BI Dataverse connector. Refreshes on schedule.
Deployment Layer
ALM Pipeline (Dev → Test → Production)
Managed solution exported from Dev, imported to Test for UAT, then promoted to Production. Environment variables and connection references for environment-specific configuration.
Model-Driven App, not Canvas App
Chosen
Model-Driven Power App
Rejected
Canvas App
Rationale
The data model has 9 related tables. A Canvas App requires you to manually build every screen, every gallery, every form, and every navigation element. A Model-Driven App generates views and forms automatically from the Dataverse table definitions. For a data-management tool with complex relationships, Model-Driven is the right choice. Canvas App would be appropriate if we needed a highly customised UI — for example, a mobile check-in screen for visitors.
Design Rule
Use Model-Driven when: complex relational data, multiple tables, data management focus, internal users. Use Canvas when: custom UI, consumer-facing, mobile-first, simple data model.
Dataverse, not SharePoint Lists
Chosen
Microsoft Dataverse
Rejected
SharePoint Lists
Rationale
SharePoint Lists support simple flat data and basic lookups. Dataverse supports: proper relational data with enforced referential integrity, calculated columns, business rules, row-level security, role-based access control, and ALM (managed solutions). The Application Portfolio data model has 9 related tables, calculated Risk Scores, and enterprise security requirements. SharePoint Lists cannot support this reliably.
Design Rule
Use Dataverse when: multiple related tables, calculated fields, row-level security, ALM/deployment pipeline, or integration with Dynamics 365. Use SharePoint when: simple flat data, file attachments, public-facing, or budget constraints.
Organisation-owned tables, not User-owned
Chosen
Organisation-owned
Rejected
User-owned
Rationale
User-owned tables in Dataverse assign each record to a specific user or team, enabling row-level security based on ownership. Organisation-owned tables are visible to all users with table-level access. For the Application Portfolio, all IT staff need to see all applications — there is no requirement to hide individual application records from specific users. Organisation-owned is simpler and appropriate here. If we were building a CRM where sales reps should only see their own accounts, User-owned would be correct.
Design Rule
Use Organisation-owned when all users should see all records. Use User-owned when records should be private to their owner or team.
Separate Business Owner and Technical Owner tables
Chosen
Separate lookup tables
Rejected
Text fields on Application
Rationale
If Business Owner were a text field, updating Sarah Chen's email would require editing every application she owns. As a lookup table, you update one record. Additionally, the Missing Owner Notification flow needs to query for applications where the Business Owner lookup is empty — this is trivial with a lookup, impossible with a text field. The Power BI dashboard can also report on ownership distribution.
Design Rule
Any value that: (a) appears on many records, (b) has its own attributes (email, phone), or (c) needs to be queried independently — should be its own lookup table.
Contract as explicit junction table
Chosen
Contract table with its own columns
Rejected
N:N relationship between Application and Supplier
Rationale
A Dataverse N:N relationship creates an invisible junction table. You cannot add columns to it. A Contract has its own data: value, start date, end date, notice period, auto-renewal flag. We need those columns to drive the Contract Review Reminder flow. An explicit junction table (Contract) gives us full control over the relationship data.
Design Rule
When a many-to-many relationship has its own data (dates, values, status), use an explicit junction table. Use a Dataverse N:N relationship only when the relationship itself has no data.
Three environments: Dev, Test, Production
Chosen
Dev / Test / Production environment strategy
Rejected
Single environment
Rationale
Building directly in Production is the most common mistake in enterprise Power Platform projects. A single environment means: no safe place to test changes, no rollback path, and no separation between development work and live data. The three-environment strategy is the Microsoft-recommended approach and is required for the ALM (Application Lifecycle Management) deployment pipeline in Stage 13.
Design Rule
Always use at least Dev and Production. Add Test when you need a UAT environment for business users to validate before go-live.
Note
Applications
Tables: ApplicationViews
Form Sections
Suppliers & Contracts
Tables: Supplier, ContractViews
Form Sections
Integrations
Tables: IntegrationViews
Form Sections
Risks
Tables: RiskViews
Form Sections
Technologies
Tables: TechnologyViews
Form Sections
Owners
Tables: Business Owner, Technical OwnerViews
Form Sections
Development
Where you build. Contains unmanaged solution. Only developers have edit access. Uses fictional test data.
Test
Where business users validate before go-live. Contains managed solution imported from Dev. Uses realistic test data. No direct editing.
Production
The live environment. Contains managed solution promoted from Test. Contains real business data. Changes only via the deployment pipeline.
Never build directly in Production
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.