Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Adding a phone call to Opportunity - Access is denied.

(0) ShareShare
ReportReport
Posted on by

Hi All,

We have a USER1 who can’t add a phone call (Contact) to the opportunity.

The owner of the opportunity is located in the same BU as this user.

 

We created a new TEST account with the same BU and Security Roles ( Security Role 1 and  Security Role 2)  as for USER1’s account.

This test account is ABLE to add a phone call to this opportunity.

 

USER1 is using Windows 10 with the supported by CRM set of browsers, cleared the local cache, reset settings but without a positive result. Using another computer – no go neither.

 

Error when adding a phone call (Access is denied):

 

Access Is Denied: How to Identify and Fix a Security Role Issue

 

The log file of this error (“Contact”, “Append to” are mentioned as a cause):

 

 =============================================

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: a65c23f0-2a2b-e711-80fd-5065f38b0571, OwnerId: 9ce6b0a9-6814-e711-80fb-5065f38bf4c1,  OwnerIdType: 8 and CallingUser: 9d2e84a3-6814-e711-80fb-5065f38bf4c1. ObjectTypeCode: 2, objectBusinessUnitId: e6c6dc63-e8ef-e611-80f7-5065f38bd451, AccessRights: AppendToAccess Detail:

<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">

  <ActivityId>237b5895-23b2-427a-ab74-d3d438b44407</ActivityId>

  <ErrorCode>-2147187962</ErrorCode>

  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />

  <Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: a65c23f0-2a2b-e711-80fd-5065f38b0571, OwnerId: 9ce6b0a9-6814-e711-80fb-5065f38bf4c1,  OwnerIdType: 8 and CallingUser: 9d2e84a3-6814-e711-80fb-5065f38bf4c1. ObjectTypeCode: 2, objectBusinessUnitId: e6c6dc63-e8ef-e611-80f7-5065f38bd451, AccessRights: AppendToAccess </Message>

  <Timestamp>2017-06-07T13:50:18.1633318Z</Timestamp>

  <ExceptionRetriable>false</ExceptionRetriable>

  <ExceptionSource i:nil="true" />

  <InnerFault i:nil="true" />

  <OriginalException i:nil="true" />

  <TraceText i:nil="true" />

</OrganizationServiceFault>

 ===========================================

  Security Roles:

 Security Role 1

Sec_5F00_Role1.jpg 

Sec_5F00_Role1_5F00_1.jpg

 Sec_5F00_Role1_5F00_2.jpg

 

Security Role 2 (All = "None selected")

 Sec_5F00_Role2.jpg

 

 

What's wrong in this particular situation? Please help to identify the root of the problem.

*This post is locked for comments

  • Verified answer
    RE: Adding a phone call to Opportunity - Access is denied.

    Vilas,

    yes, exactly! - "because the owner of the contact or opportunity may be from different BU which is not at same level"

  • mvilas02 Profile Picture
    mvilas02 356 on at
    RE: Adding a phone call to Opportunity - Access is denied.

    did you tried to add the exact same contact to opportunity by both users ? it may be because the owner of the contact or opportunity may be from different BU which is not at same level.

    Please check.

  • RE: Adding a phone call to Opportunity - Access is denied.

    But the main question: Why before your suggestion a new TEST account with the same BU and Security Roles ( Security Role 1 and  Security Role 2)  as for USER1’s account was ABLE to add a phone call to this opportunity.

    With BU level access to Append and Append To for Contact and Opportunity.

  • RE: Adding a phone call to Opportunity - Access is denied.

    Vilas,

    Thanks, it helped - "Try to give Organization level access to Append and Append To for Contact and Opportunity "!

  • RE: Adding a phone call to Opportunity - Access is denied.

    Hi Vilas,

    Yes, granted, waiting for the user's feedback.

    Strange why BU level isn't enough ....

  • Verified answer
    mvilas02 Profile Picture
    mvilas02 356 on at
    RE: Adding a phone call to Opportunity - Access is denied.

    Try to give Organization level access to Append and Append To for Contact and Opportunity both , i am sure its access issue.

    /Vilas

  • RE: Adding a phone call to Opportunity - Access is denied.

    Abed,

    Your suggestion didn't help (, the same error:

    =======================================================

    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: a65c23f0-2a2b-e711-80fd-5065f38b0571, OwnerId: 9ce6b0a9-6814-e711-80fb-5065f38bf4c1,  OwnerIdType: 8 and CallingUser: 9d2e84a3-6814-e711-80fb-5065f38bf4c1. ObjectTypeCode: 2, objectBusinessUnitId: e6c6dc63-e8ef-e611-80f7-5065f38bd451, AccessRights: AppendToAccess Detail:
    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
      <ActivityId>34511274-7320-4c41-911f-298278901bc7</ActivityId>
      <ErrorCode>-2147187962</ErrorCode>
      <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
      <Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: a65c23f0-2a2b-e711-80fd-5065f38b0571, OwnerId: 9ce6b0a9-6814-e711-80fb-5065f38bf4c1,  OwnerIdType: 8 and CallingUser: 9d2e84a3-6814-e711-80fb-5065f38bf4c1. ObjectTypeCode: 2, objectBusinessUnitId: e6c6dc63-e8ef-e611-80f7-5065f38bd451, AccessRights: AppendToAccess </Message>
      <Timestamp>2017-08-01T06:51:34.1201978Z</Timestamp>
      <ExceptionRetriable>false</ExceptionRetriable>
      <ExceptionSource i:nil="true" />
      <InnerFault i:nil="true" />
      <OriginalException i:nil="true" />
      <TraceText i:nil="true" />
    </OrganizationServiceFault>

    ==============================================

    Tried adding an Appointment to the Opportunity, there is another error:

    ==============================================

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #10F7207EDetail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ActivityId>e9520724-7372-4bac-be4d-16c7157dc4d5</ActivityId>
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #10F7207E</Message>
      <Timestamp>2017-08-01T09:05:49.6289525Z</Timestamp>
      <ExceptionRetriable>false</ExceptionRetriable>
      <ExceptionSource i:nil="true" />
      <InnerFault>
        <ActivityId>e9520724-7372-4bac-be4d-16c7157dc4d5</ActivityId>
        <ErrorCode>-2147187962</ErrorCode>
        <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: a65c23f0-2a2b-e711-80fd-5065f38b0571, OwnerId: 9d2e84a3-6814-e711-80fb-5065f38bf4c1,  OwnerIdType: 8 and CallingUser: 9d2e84a3-6814-e711-80fb-5065f38bf4c1. ObjectTypeCode: 2, objectBusinessUnitId: e6c6dc63-e8ef-e611-80f7-5065f38bd451, AccessRights: ReadAccess </Message>
        <Timestamp>2017-08-01T09:05:49.6289525Z</Timestamp>
        <ExceptionRetriable>false</ExceptionRetriable>
        <ExceptionSource i:nil="true" />
        <InnerFault i:nil="true" />
        <OriginalException i:nil="true" />
        <TraceText i:nil="true" />
      </InnerFault>
      <OriginalException i:nil="true" />
      <TraceText i:nil="true" />
    </OrganizationServiceFault>

    ==============================================

  • RE: Adding a phone call to Opportunity - Access is denied.

    Thanks!

    Will try this when the user is logged out.

  • Abed Haniyah Profile Picture
    Abed Haniyah 4,285 on at
    RE: Adding a phone call to Opportunity - Access is denied.

    It's not harmful, also you can take a backup before the refreshing to be in safe side :)

  • ashlega Profile Picture
    ashlega 34,477 on at
    RE: Adding a phone call to Opportunity - Access is denied.

    Hi Oleg,

     is that contact in the same BU as USER1? (is it owned by a user in the same BU?)

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans