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
Looking again at your Privilege error above , please make sure to assign the Basic User Role to your User and try again.
https://docs.microsoft.com/en-us/power-platform/admin/database-security?WT.mc_id=DX-MVP-5004221
Can you validate the security roles assigned to User 1 against the security roles assigned to User 2?
There should be a difference which is causing this issue.
Ok, I got your question. So the users are in the same business units. @Mira_Ghaly
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?
Hi @Mira_Ghaly ,
Sorry I did not quite understand this point. Can you explain more please?
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.
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 the error indicates missing read permission on a specific entity, is the user in the same business unit as the other user?
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.