Stage 10 of 17
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.
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.
APM Portfolio Viewer
Users: All Contoso staff who need read-only access to the portfolio
Examples: Business stakeholders, department heads, project managers
| Table | Read | Create | Write | Delete |
|---|---|---|---|---|
| Application | Organisation | None | None | None |
| Supplier | Organisation | None | None | None |
| Contract | Organisation | None | None | None |
| Business Owner | Organisation | None | None | None |
| Technical Owner | Organisation | None | None | None |
| Technology | Organisation | None | None | None |
| Integration | Organisation | None | None | None |
| Risk | Organisation | None | None | None |
| Support Model | Organisation | None | None | None |
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)
| Table | Read | Create | Write | Delete |
|---|---|---|---|---|
| Application | Organisation | None | Organisation | None |
| Supplier | Organisation | None | None | None |
| Contract | Organisation | None | Organisation | None |
| Business Owner | Organisation | None | None | None |
| Technical Owner | Organisation | None | None | None |
| Technology | Organisation | Organisation | Organisation | None |
| Integration | Organisation | Organisation | Organisation | None |
| Risk | Organisation | Organisation | Organisation | None |
| Support Model | Organisation | Organisation | Organisation | None |
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)
| Table | Read | Create | Write | Delete |
|---|---|---|---|---|
| Application | Organisation | Organisation | Organisation | Organisation |
| Supplier | Organisation | Organisation | Organisation | Organisation |
| Contract | Organisation | Organisation | Organisation | Organisation |
| Business Owner | Organisation | Organisation | Organisation | Organisation |
| Technical Owner | Organisation | Organisation | Organisation | Organisation |
| Technology | Organisation | Organisation | Organisation | Organisation |
| Integration | Organisation | Organisation | Organisation | Organisation |
| Risk | Organisation | Organisation | Organisation | Organisation |
| Support Model | Organisation | Organisation | Organisation | Organisation |
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)
| Table | Read | Create | Write | Delete |
|---|---|---|---|---|
| Application | Organisation | None | None | None |
| Supplier | Organisation | None | None | None |
| Contract | Organisation | None | None | None |
| Business Owner | Organisation | None | None | None |
| Technical Owner | Organisation | None | None | None |
| Technology | Organisation | None | None | None |
| Integration | Organisation | None | None | None |
| Risk | Organisation | Organisation | Organisation | None |
| Support Model | Organisation | None | None | None |
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.
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.
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.
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.
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.
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.
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.
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
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.