web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Permissions to edit "U...
Power Apps
Unanswered

Permissions to edit "User" in Model-driven App

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I am building a solution that (among other things) includes a customization of the "User" table (systemuser). The scenario is that I want to be able to store a configuration for each user in the system. To solve this, I have added an extra Lookup field in the "Users" table pointing to a custom table (with the values to choose for the users) and a new main form that includes only that one Lookup field (other mandatory fields are hidden).

 

In my solution I have created a new custom role that I will grant to those administrative users that needs to manage the configuration for all other users. The role was initially created as a copy of the "min priv apps use" role suggested by Microsoft. I have then added the permissions I though necessary.

 

The issue is this: Users with the custom role are not able to edit the user data - not even their own. When they visit the custom form, they are met with the warning "Read-only: You don't have access to edit Users.", and the custom Lookup field is greyed out. As a System Administrator I am able to edit all users from the form.

 

The role initially included the following permissions (from the "min priv apps use" role):

- User: Read (Org)

- User Setting: Read (Org)

 

I have added the following permissions:

- User: Write, Append, Append To (Org)

- User Setting: Write, Append To (Org)

- [My custom table]: All permissions (Org)

 

I have tried to run the "Check Access" function from the form. But it returns the error "There was an error. The view could not be loaded". Looking in the network monitor, I see a bit of explanation. These two show up:

- {"error":{"code":"0x80040203","message":"RetrievePrincipalAccess is invalid for entities other than User Owned. Entity: SystemUser"}}

- {"error":{"code":"0x80041103","message":"'SystemUser' entity doesn't contain attribute with Name = 'owninguser' and NameMapping = 'Logical'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=1555153, MinActiveRowVersion=1555153, MetadataInstanceId=640553, LastUpdated=2021-02-11 11:16:59.703"}}

 

I am running out of options to analyze and fix the issue. I would rather not make my users System Administrator.

Does anyone have ideas to

- which permissions I might be needing?

- how to debug the permission problem?

 

Best regards,

Morten

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard