A specific user cannot access a shared view on their end with provided read and write access. Other users can access the view but only one specific user is affected. User has a Planner role and already tried re-sharing the view multiple times but still receives this error. Can anyone please help? Thank you in advance!
Hi @dev10,
I got the same issue in our on-premise version 8.2.28.11. Not sure whether you have resolved the issue on your end? Appreciate if you can provide some idea if it is already resolved.
The error is the same:
SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: daa271a2-e79b-e611-80ef-02e796d370a4, OwnerId: 1722ff50-8f47-e111-8e1a-02bfac136014, OwnerIdType: 8 and CallingUser: b097e529-2033-e411-aecb-001999b4e78e, CallerBusinessId: 654ce481-1601-e111-b078-00262d08b36a. ObjectTypeCode: 4230, ObjectBusinessUnitId: 654ce481-1601-e111-b078-00262d08b36a, AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8.
from my understanding ObjectTypeCode: 4230 is UserQuery entity which it is saved view. This means user can't access a saved view created by another user. My case is the two users are in the same business unit and with the same permission, i.e. security role, teams, queue.
User definitely have read access for that entity and the saved view only filter on few filter within entity only and there is no related entity in the view.
The strange thing is user can see the view but can't click on it otherwise it will throw "Acess id Denied" error message.
Even I give the user system admin role the issue persist.
I didn't have any support from MS and stuck here.
Appreciate anyone can give some direction.
Does this user have same BU just like you or he/she is from Different BU ?
Hi,
Just go to below following step you will get the answer
1. Privilege check
Create
Read
Write
Delete
Append
Append To
Assign
Share
2. Access check
Ownership
Role access
Shared access
Hierarchy access
3. Ownership
4.Role access
5.Shared access
6.Hierarchy access
Make sure your going with all details. definitely you will get your answer
Hi,
Thank you for answering, unfortunately we tried re-sharing the view but the user still can't access the view. I even tried recreating the view and shared it to the affected user, but to no avail.
Hi thanks for sharing the logs, I think there is some other issue, it is not related to the permissions.
I would recommend you to share the view once again and try it.
Thanks
Hi Arshad,
I've had the view shared to me with the same permission as the affected user and I can access the view with no issue, I even went to replicating the role and territory of the affected user and still can access the view with no issue.
I think the issue is not in the permission since only one user is affected.
Thank you.
Here's the content:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: a98ab0dc-459e-ec11-813e-00505601070a, OwnerId: 0a9354ff-bc22-ec11-8132-00505601070b, OwnerIdType: 8 and CallingUser: 3cbf41aa-cd69-e811-8108-00505601070b, CallerBusinessId: db750827-272e-ec11-813b-00505601070f. ObjectTypeCode: 4230, ObjectBusinessUnitId: 4d206ca5-8312-e811-810e-00505601070f, AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>e10e06ce-9504-45b7-9b38-7fd44c917eb3</ActivityId>
<ErrorCode>-2147187962</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: a98ab0dc-459e-ec11-813e-00505601070a, OwnerId: 0a9354ff-bc22-ec11-8132-00505601070b, OwnerIdType: 8 and CallingUser: 3cbf41aa-cd69-e811-8108-00505601070b, CallerBusinessId: db750827-272e-ec11-813b-00505601070f. ObjectTypeCode: 4230, ObjectBusinessUnitId: 4d206ca5-8312-e811-810e-00505601070f, AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8.</Message>
<Timestamp>2022-03-14T23:48:53.8140224Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
Hi,
Check the permissions you want to share with the selected user(s).
The selected user(s) will now be able to access your personal view. It will appear under the "My Views" portion of the list for that particular screen in MSCRM.
https://juniorcrmblog.blogspot.com/
https://www.youtube.com/channel/UC3Pe9Y_2SxA9xAmTfuSWQaA/videos
Anything else let me know
Thanks,
Arshad
Can you please share the content of the log file?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156