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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Access Denied when Saving Dashboard

(0) ShareShare
ReportReport
Posted on by 685

Hi,

I have a user that has created a dashboard and all the components they are attempting to add to the dashboard. It saved fine. However, when they try to make a simple change and save the dashboard again it says access denied with the log file below. I have checked all security roles and cannot see what the error relates to. Has anyone seen this before?

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: a42702ee-c530-e711-80fa-c4346bad02e8, OwnerId: 190ce926-279c-e611-80e7-c4346bad1060,  OwnerIdType: 8 and CallingUser: 190ce926-279c-e611-80e7-c4346bad1060. ObjectTypeCode: 1031, objectBusinessUnitId: b67dd628-b847-e611-80db-c4346bad508c, AccessRights: WriteAccess Detail: 
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ErrorCode>-2147187962</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: a42702ee-c530-e711-80fa-c4346bad02e8, OwnerId: 190ce926-279c-e611-80e7-c4346bad1060,  OwnerIdType: 8 and CallingUser: 190ce926-279c-e611-80e7-c4346bad1060. ObjectTypeCode: 1031, objectBusinessUnitId: b67dd628-b847-e611-80db-c4346bad508c, AccessRights: WriteAccess </Message>
  <Timestamp>2017-05-04T12:46:33.4704908Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>


Best wishes,

Richard

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: a42702ee-c530-e711-80fa-c4346bad02e8, OwnerId: 190ce926-279c-e611-80e7-c4346bad1060,  OwnerIdType: 8 and CallingUser: 190ce926-279c-e611-80e7-c4346bad1060. ObjectTypeCode: 1031, objectBusinessUnitId: b67dd628-b847-e611-80db-c4346bad508c, AccessRights: WriteAccess Detail:
  <ErrorCode>-2147187962</ErrorCode>
  <Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: a42702ee-c530-e711-80fa-c4346bad02e8, OwnerId: 190ce926-279c-e611-80e7-c4346bad1060,  OwnerIdType: 8 and CallingUser: 190ce926-279c-e611-80e7-c4346bad1060. ObjectTypeCode: 1031, objectBusinessUnitId: b67dd628-b847-e611-80db-c4346bad508c, AccessRights: WriteAccess </Message>
  <Timestamp>2017-05-04T12:46:33.4704908Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    J Matlon Profile Picture
    1,465 on at

    That error says your user is lacking the permissions to write to the User entity.

  • crmrsw15 Profile Picture
    685 on at

    Hmm there is nothing on the dashboard that writes to the user entity though. I have actually seen this with 2 separate users now. Has anyone ever experienced this issue before?

  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    Hi crmrsw,

    did you give them permissions to write to the User Dashboards?

     When looking at the security role, go to "Core Records" tab - there is "User Dashboard" entity there. They should be given"write" permission for the "user"-owned dashboards through at least one of the security roles

  • Suggested answer
    sandeepc Profile Picture
    5,514 on at

    www.powerobjects.com/.../access-denied-identify-fix-security-role-issue

    Hope this link helps you.

  • Suggested answer
    MNarmeen Profile Picture
    1,848 on at

    You don't have write permissions.

    Please check the permissions in settings.

  • Vin.k.S Profile Picture
    95 on at

    Yes I Do, and this is how to quickly resolve it

    Just see what is ObjectTypeCode: 1031 stands for, as it comes out to be a UserForm. Remember a User dashboard is of type UserForm (Ref: docs.microsoft.com/.../userform )

    a42702ee-c530-e711-80fa-c4346bad02e8 is your Dashboard

    190ce926-279c-e611-80e7-c4346bad1060, is the owner & calling user

    and this is the missing AccessRights: WriteAccess

    SecLib::AccessCheckEx  is the Security Priviledges missing

    If you have db access you can also verify the same with:

    select * from UserForm Where UserFormId = 'a42702ee-c530-e711-80fa-c4346bad02e8'

    select * from Owner where OwnerId = '190ce926-279c-e611-80e7-c4346bad1060'

    What else you need ?

  • Suggested answer
    Dynamics365 Rocker Profile Picture
    7,755 on at

    In that particular role, Check privileges for user dashboard and user chart.

    Or use system admin role.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans