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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Access is denied Error while saving advance find custom view in crm 2013

(0) ShareShare
ReportReport
Posted on by 785

i have admin rights in CRM ,but i wondor when i am creating custom view using advance find in CRM2013 and trying to save this view i am getting Access Denied error . I am wonder even though i am admin security role i am not able to save advance find view .

 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: ce491bc4-efc0-e411-9445-005056b240c0, OwnerId: 92c6b0c4-6a32-e411-9426-005056b240c0,  OwnerIdType: 8 and CallingUser: 0f54d505-85d6-e311-9414-005056b240c0. ObjectTypeCode: 4230, objectBusinessUnitId: 4908291e-e5d5-e311-9412-005056b240c0, AccessRights: ReadAccess Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147187962</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: ce491bc4-efc0-e411-9445-005056b240c0, OwnerId: 92c6b0c4-6a32-e411-9426-005056b240c0,  OwnerIdType: 8 and CallingUser: 0f54d505-85d6-e311-9414-005056b240c0. ObjectTypeCode: 4230, objectBusinessUnitId: 4908291e-e5d5-e311-9412-005056b240c0, AccessRights: ReadAccess </Message>
  <Timestamp>2015-03-02T15:21:20.147993Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

I have the same question (0)
  • Verified answer
    prashant mirje Profile Picture
    785 on at
    RE: Access is denied Error while saving advance find custom view in crm 2013

    I found the error.

    I have plugin which registered on create of any entity (none).

    The plugin runs in specific user context rather calling user's context

    When I try to save an advanced find view the plugin is occurred (create of 'UserQuery') and because that saved view is user owner it will access denied to all users along with Admin. So changing execution context to calling user this solved problem.

  • Royal King Profile Picture
    27,686 on at
    RE: Access is denied Error while saving advance find custom view in crm 2013

    it looks like user does not  privilege to create personal saved query in the system.Make the role assigned to user has privilege to create view in the system.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Access is denied Error while saving advance find custom view in crm 2013

    This can also occur, if you are trying to save changes to a saved view, that has been shared with you. And you haven't been granted permission to do so, by the author.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans