cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Teresa24486
Post Prodigy
Post Prodigy

App Access issue

Hi,

Can anyone advise on the error here please? I had granted access to the user but user gets this screen when clicking on the app link.


Not Supported
This action is not supported.
Technical Details
Error Code: 2147746581
Session Id: 42897537-b6ba-4ad4-be72-a120ceab25d0
Timestamp: Sun Oct 03 2021 10:14:33 GMT+0300 (التوقيت العربي الرسمي)
RetrieveUserContext: SecLib::CheckPrivilege failed. User: c997bec5-0a22-ec11-b6e6-000d3aa3bf43, PrivilegeName: prvReadEntity, PrivilegeId: a3311f47-2134-44ee-a258-6774018d4bc3, Required Depth: Basic, BusinessUnitId: f7f6c06c-1343-eb11-bb23-000d3aa2f915, MetadataCache Privileges Count: 2920, User Privileges Count: 62
UciError: SecLib::CheckPrivilege failed. User: c997bec5-0a22-ec11-b6e6-000d3aa3bf43, PrivilegeName: prvReadEntity, PrivilegeId: a3311f47-2134-44ee-a258-6774018d4bc3, Required Depth: Basic, BusinessUnitId: f7f6c06c-1343-eb11-bb23-000d3aa2f915, MetadataCache Privileges Count: 2920, User Privileges Count: 62 at i (https://tec.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.3204-2109.2:4522:77) at new f (https://tec.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.3204-2109.2:2537:2947) at Function.fromLegacyErrorStatus (https://tec.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.3204-2109.2:2537:4807) at y (https://tec.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.3204-2109.2:2537:6980) at https://tec.crm5.dynamics.com/uclient/scripts/app.js?v=1.4.3204-2109.2:3426:835

 

 

Teresa24486_0-1633245439050.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

@Teresa24486 

Looking again at your Privilege error above , please make sure to assign the Basic User Role to your User and try again.

Mira_Ghaly_0-1633306995692.png

Mira_Ghaly_1-1633307063942.png

 

https://docs.microsoft.com/en-us/power-platform/admin/database-security?WT.mc_id=DX-MVP-5004221

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

15 REPLIES 15
Mira_Ghaly
Dual Super User
Dual Super User

@Teresa24486 

Is this a model driven app?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
Teresa24486
Post Prodigy
Post Prodigy

yes @Mira_Ghaly 

Mira_Ghaly
Dual Super User
Dual Super User

@Teresa24486

Have you assigned the same security role to the user and the app?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Yes @Mira_Ghaly, its working for the other user who was given the same rights. I have given Power Apps License to all the required users, Not sure what I am missing on.

@Teresa24486 the error indicates missing read permission on a specific entity, is the user in the same business unit as the other user? 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Hi @Mira_Ghaly ,

I just created the security group and added the user to the role. If one user from the group is able to access, the rest should be able to access too apparently. Again, is there anything else I am missing on?

@Teresa24486

Did u assign security role to the users or just added to the group?

If the users are in different business units it can be the reason why one can access and not the other.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Hi @Mira_Ghaly ,

Sorry I did not quite understand this point. Can you explain more please?

@Teresa24486

Let me ask the question in another way?

Say User 1 is in business unit x

Is User 2 who can't access is in the same business unit of or in different business unit?

Can you share how the security role to access the app looks like for the tables being accessed by the app?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (4,522)