Stage 10 of 17

Stage 10 of 17

Secure

4 Dataverse security roles with table-level privileges, least-privilege design, role assignment guidance, and 7 security verification checks.

Why Are We Doing This?

Dataverse security is fundamentally different from SharePoint permissions. In SharePoint, you set permissions on lists and items. In Dataverse, you create Security Roles that define what a user can do to each table (Read, Create, Write, Delete, Append, Append To, Assign, Share) and at what scope (None, User, Business Unit, Parent Business Unit, Organisation). This is more powerful and more complex. Getting it wrong means users either cannot do their job, or can do things they should not.

Dataverse Privilege Scopes — Explained

None

No access. The user cannot perform this action on any record of this table.

User

Access to records owned by the user. Only relevant for User-owned tables. Our tables are Organisation-owned, so this scope is not used.

Business Unit

Access to records owned by the user's business unit. Relevant for multi-department deployments.

Organisation

Access to all records in the environment, regardless of owner. Since our tables are Organisation-owned, this is the scope we use for all granted privileges.

Security Roles

APM Portfolio Viewer

Users: All Contoso staff who need read-only access to the portfolio

Examples: Business stakeholders, department heads, project managers

TableReadCreateWriteDelete
ApplicationOrganisationNoneNoneNone
SupplierOrganisationNoneNoneNone
ContractOrganisationNoneNoneNone
Business OwnerOrganisationNoneNoneNone
Technical OwnerOrganisationNoneNoneNone
TechnologyOrganisationNoneNoneNone
IntegrationOrganisationNoneNoneNone
RiskOrganisationNoneNoneNone
Support ModelOrganisationNoneNoneNone

Rationale

Read-only access to all tables. Cannot create, edit, or delete any records. Appropriate for stakeholders who need visibility but should not modify the portfolio.

APM Portfolio Contributor

Users: Technical Owners and Business Owners who maintain their own application records

Examples: Tom Reeves (IT Team Lead), Amir Hassan (Senior Developer), Sarah Chen (COO)

TableReadCreateWriteDelete
ApplicationOrganisationNoneOrganisationNone
SupplierOrganisationNoneNoneNone
ContractOrganisationNoneOrganisationNone
Business OwnerOrganisationNoneNoneNone
Technical OwnerOrganisationNoneNoneNone
TechnologyOrganisationOrganisationOrganisationNone
IntegrationOrganisationOrganisationOrganisationNone
RiskOrganisationOrganisationOrganisationNone
Support ModelOrganisationOrganisationOrganisationNone

Rationale

Can read all records. Can update Application and Contract records (but not create or delete them — that is the Administrator's job). Can create, update Technology, Integration, Risk, and Support Model records. Cannot delete anything — deletion requires Administrator approval.

APM Portfolio Administrator

Users: IT Team Lead and Enterprise Architect who manage the portfolio

Examples: Tom Reeves (IT Team Lead), Priya Mehta (Enterprise Architect)

TableReadCreateWriteDelete
ApplicationOrganisationOrganisationOrganisationOrganisation
SupplierOrganisationOrganisationOrganisationOrganisation
ContractOrganisationOrganisationOrganisationOrganisation
Business OwnerOrganisationOrganisationOrganisationOrganisation
Technical OwnerOrganisationOrganisationOrganisationOrganisation
TechnologyOrganisationOrganisationOrganisationOrganisation
IntegrationOrganisationOrganisationOrganisationOrganisation
RiskOrganisationOrganisationOrganisationOrganisation
Support ModelOrganisationOrganisationOrganisationOrganisation

Rationale

Full CRUD on all tables. Responsible for onboarding new applications, managing the owner tables, and decommissioning applications. This role should be assigned to a small number of trusted users.

APM Security Manager

Users: Information Security Manager who reviews risks and security posture

Examples: Rachel Grant (Information Security Manager)

TableReadCreateWriteDelete
ApplicationOrganisationNoneNoneNone
SupplierOrganisationNoneNoneNone
ContractOrganisationNoneNoneNone
Business OwnerOrganisationNoneNoneNone
Technical OwnerOrganisationNoneNoneNone
TechnologyOrganisationNoneNoneNone
IntegrationOrganisationNoneNoneNone
RiskOrganisationOrganisationOrganisationNone
Support ModelOrganisationNoneNoneNone

Rationale

Read-only on all tables except Risk, where the Security Manager can create and update risk records. This allows Rachel Grant to add new security risks and update mitigation status without being able to modify application or contract data.

Creating Security Roles in Dataverse

1.Go to the Power Platform Admin Centre (admin.powerplatform.microsoft.com).
2.Select your Dev environment. Select Settings → Users + permissions → Security roles.
3.Select New role.
4.Name the role (e.g. APM Portfolio Viewer). Select the Business Unit.
5.In the role editor, navigate to the Custom Tables tab. You will see all your dtod_ tables.
6.For each table, set the privilege levels using the dropdown circles. Green = granted, grey = none.
7.Save the role.
8.Repeat for all 4 roles.
9.To assign a role: Settings → Users + permissions → Users. Select a user. Select Manage security roles. Assign the appropriate role.

Security Verification Checks

1

Viewer cannot create an Application record

Expected: Create button is not visible or is disabled

How to test: Log in as a Viewer user. Navigate to Applications. Verify no New button is visible.

2

Contributor cannot delete an Application record

Expected: Delete option is not available

How to test: Log in as a Contributor user. Open an Application record. Verify no Delete button is visible in the command bar.

3

Security Manager can create a Risk record

Expected: New button is visible and functional

How to test: Log in as a Security Manager user. Navigate to Risks. Select New. Complete the form and save. Verify the record is created.

4

Security Manager cannot create a Contract record

Expected: New button is not visible or is disabled

How to test: Log in as a Security Manager user. Navigate to Contracts. Verify no New button is visible.

5

Viewer can read all Application records

Expected: All Active Applications are visible

How to test: Log in as a Viewer user. Navigate to Applications. Verify all application records are visible.

6

Administrator can delete a Technology record

Expected: Delete option is available and functional

How to test: Log in as an Administrator user. Open a Technology record. Select Delete from the command bar. Confirm deletion. Verify the record is removed.

7

Flow service account has correct permissions

Expected: Flows run without permission errors

How to test: Run each flow manually. Check the flow run history for any permission errors on Dataverse actions.

Least Privilege Principle

Assign the minimum privilege required for each role to do its job. Do not assign Administrator to everyone because it is easier. The Contributor role cannot delete records — this is intentional. Deletion of an Application record should require Administrator approval because it removes the entire history of that application, including its contracts, risks, and integrations.

Stage Complete — What You Now Have

  • ✓4 security roles: APM Portfolio Viewer, Contributor, Administrator, Security Manager
  • ✓Table-level privileges defined for all 9 tables across all 4 roles
  • ✓Least-privilege design: Viewers cannot create, Contributors cannot delete, Security Manager can only create/update Risks
  • ✓Step-by-step instructions for creating and assigning security roles in the Power Platform Admin Centre
  • ✓7 security verification checks with test procedures
NextTest

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