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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer Service forum

I keep getting this when i want to write a note

(0) ShareShare
ReportReport
Posted on by 10

when i want to write a note in 365 dynamics salescase og person or firm i get this. Im an admin and its my case. what to do?

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Principal user (Id=934cdc2f-b90a-e611-80e5-5065f389f4e1, type=8 , accessMode=1, roleCount=2 ) is missing prvReadeve_sharepointattachmentsetting privilege (Id=d3d23e9e-8e09-404c-b501-ea359a0fbecb)Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>7c22248d-cc52-43bd-b549-4a944007fe4b</ActivityId>
  <ErrorCode>-2147220960</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiExceptionSourceKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiOriginalExceptionKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmSecurityException: Principal user (Id=934cdc2f-b90a-e611-80e5-5065f389f4e1, type=8 , accessMode=1, roleCount=2 ) is missing prvReadeve_sharepointattachmentsetting privilege (Id=d3d23e9e-8e09-404c-b501-ea359a0fbecb) ---&gt; Microsoft.Crm.CrmSecurityException: Principal user (Id=934cdc2f-b90a-e611-80e5-5065f389f4e1, type=8 , accessMode=1, roleCount=2 ) is missing prvReadeve_sharepointattachmentsetting privilege (Id=d3d23e9e-8e09-404c-b501-ea359a0fbecb)
   at Microsoft.Crm.BusinessEntities.SecurityLibrary.ThrowCrmSecurityException(SecurityPrincipal principal, Guid privilegeId, Int32 errorCode, ExecutionContext context)
   at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilege(Guid user, Guid privilege, ExecutionContext context)
   at Microsoft.Crm.BusinessEntities.SecurityExtension.PreRetrieveHandlerEntityPrivilegeCheck(Object sender, SecurityTraits traits, ExtensionEventArgs e)
   at Microsoft.Crm.BusinessEntities.SecurityExtension.PreRetrieveHandler(ExtensionEventArgs e, Object sender)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PreRetrieveEventHandler.Invoke(Object sender, ExtensionEventArgs e)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.&lt;&gt;c__DisplayClass173_0.&lt;TryRetrieve&gt;b__0()
   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.TryRetrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, LocalizedEnumLabelCache localizedEnumLabelCache, DatabaseQueryTarget queryTarget, BusinessEntity&amp; businessEntity)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiStepKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">fc3b9e3f-db93-e711-8123-e0071b6e7891</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiDepthKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">2</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiActivityIdKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">5aad2b29-fdac-4607-8645-67cd7d0047b6</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
    </KeyValuePairOfstringanyType>
    <KeyValuePairOfstringanyType>
      <d2p1:key>ApiStepSolutionNameKey</d2p1:key>
      <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
    </KeyValuePairOfstringanyType>
  </ErrorDetails>
  <Message>Principal user (Id=934cdc2f-b90a-e611-80e5-5065f389f4e1, type=8 , accessMode=1, roleCount=2 ) is missing prvReadeve_sharepointattachmentsetting privilege (Id=d3d23e9e-8e09-404c-b501-ea359a0fbecb)</Message>
  <Timestamp>2018-08-21T06:52:45.7938902Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText>
[Evello.Utilities.SharePointStorage: Evello.Utilities.Annotation]
[8aef7b19-dc93-e711-8123-e0071b6e7891: Evello.Utilities.Annotation: Create of annotation]

</TraceText>
</OrganizationServiceFault>
Categories:
  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    based on the error message, there is some entity with the schema name "eve_sharepointattachmentsetting" for which the user with id "934cdc2f-b90a-e611-80e5-5065f389f4e1" does not have access. You need to find which user is "934cdc2f-b90a-e611-80e5-5065f389f4e1" and then if that user has read permission for this entity. If not, give the read access. This entity will be under the custom entity tab for a security role.

    You can verify the GUID using this blog-arunpotti.wordpress.com/.../how-to-get-guid-of-the-record-in-crm-online

    Hope this help.

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    do you have any workflows or plugins that will be triggered and read the entity called "eve_sharepointattachmentsetting"? if yes, the user who execute this doesnt have right to read this entity.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans