Power Pages data security checklist: table permissions, web roles and sign-in
A pre-launch and troubleshooting checklist for Power Pages: the access types and privileges in table permissions, the settings that leave data open to anonymous visitors, and the fixes for common sign-in and permission errors.
Power PagesQuick reference8 min read
A Power Pages site is built to face the open internet, so its mistakes are public. Which records each visitor can see and change is decided by table permissions and web roles. So start there when data shows up where it shouldn't, or when users can't see their own records. Use this checklist before go-live and whenever access looks wrong.
How access works, in four lines
- Site users are contacts in Dataverse.
- Contacts get web roles. Every signed-in user is automatically in Authenticated Users, and every visitor is in Anonymous Users.
- Table permissions give web roles rights on a table's rows. A table permission does nothing until it has at least one web role.
- Lists, forms, Liquid and the Web API only show Dataverse data through table permissions. Page permissions separately control who can open a page.
Access types: which rows a permission covers
| Access type | Covers |
|---|---|
| Global | Every row in the table |
| Contact | Rows related to the signed-in user's contact record, through a relationship you choose |
| Account | Rows related to the signed-in user's account (their company), through a relationship you choose |
| Self | Only the user's own contact record, for "edit my profile" |
| Parent (as child permissions) | Rows related to rows the user can already reach through the parent permission. In the design studio, add a child permission to the parent instead of choosing Parent |
| Custom (preview, sites with enhanced authorization) | Rows matching a FetchXML filter you write; only the filter is used |
Privileges on each permission: Read, Write, Create, Delete, Append and Append To. Append and Append To work as a pair: to link a note to a case, the user needs Append on the note and Append To on the case.
Tip
Start from Contact or Account access, and add child permissions for related tables. Use Global only for genuinely public reference data, such as a product catalogue, and never with Write, Create or Delete.
Pre-launch checklist
Work through every item before switching the site to public.
Anonymous access
- Check the Anonymous Users role. For every table permission it has, ask: "Is it fine for the whole internet to read this?" The design studio warns when a public site shows data to anonymous users, so take that warning seriously.
- Turn on "Enable table permissions" on every list and form, on old and new sites alike. Microsoft's Learn pages disagree about this setting. Learn's page of upcoming changes says that from June 2026, table permissions apply to every form and list whatever the setting says. It adds that sites created since release 9.3.7.x (2021) already worked that way. That section's heading still says "new websites", though. Older pages, on basic forms and the Site Checker, still say a form or list with the setting off skips table permissions, a method they say will be deprecated soon. We follow the upcoming-changes page, because it's Microsoft's notice of the change and the older pages link to it. We still say turn the setting on, because then table permissions apply to a list or basic form whichever page is right. Then give the right web roles table permissions, as the Site Checker page says. That page also says to turn the setting on for each step of every multistep form, in the Portal Management app. Its check doesn't list those steps, so look at them by hand.
- Check list OData feeds on older sites. Sites created since October 2022 can't use them, and Microsoft said the feature would be removed by June 2026. Since release 9.3.7.x, a feed works only if table permissions cover its list, so a feed that's still on publishes whatever those permissions let Anonymous Users read, as a machine-readable feed. To check, open
/_odataon your site in a private window, without signing in. It lists every feed that's switched on. Then open each feed's own address from that list, such as/_odata/accounts. If a feed shows data, it's public. If it returns a 403 error, it isn't.
Roles and permissions
- Every table permission has a web role. Without one it does nothing, and the design studio shows a message when you try to save it.
- Child permissions only use roles their parent has. Otherwise you'll see "One or more roles applied to this permission aren't available to its parent table permission." Add the role to the parent, or remove it from the child.
- Keep web roles to a sensible number. Microsoft's Site Checker flags performance problems above 100 web roles.
Pages
- One active page permission per page. Several conflicting rules give "There are multiple, conflicting access control rules applied to this page." Deactivate the extras.
- Don't put Anonymous Users directly on a page permission. It triggers an alert in the Portal Management app.
- Watch the home page's Grant Change rule. It takes precedence over Restrict Read rules, so admins with Grant Change on the home page (scope "All content") can open every page.
Sign-in
- Invitation-only sites: turn off open registration and set
Authentication/Registration/RequiresInvitationtotrue. With open registration on, people can register without a code. - Every contact has a unique email, including deactivated contacts. Duplicates stop those users signing in.
Last step: run the Site Checker and fix everything it reports. Treat its findings as blocking.
Errors and fixes
| What happens | Likely cause | Fix |
|---|---|---|
| Signed-in users see an empty list | No table permission gives their web role Read, or the relationship in a Contact/Account permission doesn't link to their rows | Add or fix the permission; check the relationship points to the right lookup |
| A form shows but won't save | Missing Write or Create, or Append / Append To for a lookup on the form | Add the missing privilege to the permission (and child permission) |
| Everyone can see everything | Global access on a broad role, or Anonymous Users on the permission | Narrow the access type and remove Anonymous. Also check that "Enable table permissions" is on (see the checklist) |
| "Email already in use" when registering | Another contact, possibly a deactivated one, has the same email | Find and merge or clean up the duplicate contacts |
| "Invalid sign-in attempt" | Wrong credentials, a locked-out account, or a deactivated contact | Check the contact's status and the lockout settings |
| AADSTS700016 (application not found) | The site's settings don't agree with its Entra ID app registration. Or the site was deleted and recreated, and its identity provider wasn't updated to match | Check the Client ID and authority URL, and set the identity provider up again |
| Local sign-in jumps straight to a Microsoft login | A default identity provider is set | Remove the default provider, or review Authentication/Registration/LoginButtonAuthenticationType |
| Anonymous and signed-in users see different versions of a page | Anonymous pages can be served from the CDN cache; signed-in pages never are | Check page permissions and the CDN settings |
Sources
- Microsoft Learn: Power Pages security overview
- Microsoft Learn: Configure table permissions
- Microsoft Learn: Important upcoming changes and deprecations in Power Pages: table permission changes for forms and lists on new websites
- Microsoft Learn: Portal release version 9.3.7.x release notes
- Microsoft Learn: About basic forms: secure your forms
- Microsoft Learn: Assign table permissions
- Microsoft Learn: Site Checker: configuration issues
- Microsoft Learn: Site Checker: performance
- Microsoft Learn: Set page permissions
- Microsoft Learn: Set up site authentication: common issues
- Microsoft Learn: Overview of authentication in Power Pages
Add LowCodeStacks as a preferred source on Google
Was this helpful?
Get the weekly email
New guides and updates from LowCodeStacks, every Tuesday. One email a week, no more.
From LowCodeStacks, Regina, SK, contact@lowcodestacks.com. You can unsubscribe any time, from the link in every email or in your privacy settings. See the Privacy notice.
Comments
No comments yet. Share what worked for you.
Sign in to comment. Comments show under a display name you choose, never your email.