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 :
Microsoft Dynamics CRM (Archived)

How to Identify and Fix a Security Role Issue

(0) ShareShare
ReportReport
Posted on by 90

Hello all,

I would like to know how to get information from the error log file in CRM 2015. I read some articles related to this topic but unfortunately it's not helpful. the articles says pay attention to two things from this entire message: the ObjectTypeCode, and the AccessRights. The ObjectTypeCode: 1088 and  AccessRights: DeleteAccess

But nothing in the ObjectTypeCode and AccessRights is not in the log file: 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The following error has occurred in the Scribe Change History plug-in:
SecLib::CheckPrivilege failed. User: 2992eae2-a817-e111-af73-00155d011f08, PrivilegeName: prvReadEntity, PrivilegeId: a3311f47-2134-44ee-a258-6774018d4bc3, Required Depth: Basic, BusinessUnitId: c670d894-a917-e111-af73-00155d011f08

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at Microsoft.Crm.Sandbox.SandboxOrganizationService.Execute(String operation, Byte[] serializedRequest)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Crm.Sandbox.ISandboxOrganizationService.Execute(String operation, Byte[] serializedRequest)
at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.ExecuteInternal(OrganizationRequest request)
at Scribe.DynamicsCrm5.Plugin.ChangeHistoryPlugin.GetObjectTypeCodeList()
at Scribe.DynamicsCrm5.Plugin.ChangeHistoryPlugin.Execute(IServiceProvider serviceProvider)Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>The following error has occurred in the Scribe Change History plug-in:
SecLib::CheckPrivilege failed. User: 2992eae2-a817-e111-af73-00155d011f08, PrivilegeName: prvReadEntity, PrivilegeId: a3311f47-2134-44ee-a258-6774018d4bc3, Required Depth: Basic, BusinessUnitId: c670d894-a917-e111-af73-00155d011f08

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at Microsoft.Crm.Sandbox.SandboxOrganizationService.Execute(String operation, Byte[] serializedRequest)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]&amp; outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
at Microsoft.Crm.Sandbox.ISandboxOrganizationService.Execute(String operation, Byte[] serializedRequest)
at Microsoft.Crm.Sandbox.SandboxOrganizationServiceWrapper.ExecuteInternal(OrganizationRequest request)
at Scribe.DynamicsCrm5.Plugin.ChangeHistoryPlugin.GetObjectTypeCodeList()
at Scribe.DynamicsCrm5.Plugin.ChangeHistoryPlugin.Execute(IServiceProvider serviceProvider)</Message>
<Timestamp>2015-12-15T09:09:43.4204598Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>

[Scribe.DynamicsCrm5.Plugin: Scribe.DynamicsCrm5.Plugin.ChangeHistoryPlugin]
[ce7cff1e-d584-4240-8142-a304bafb3da5: ChangeHistoryPlugin: Create of account]

Scribe.Change History: Start
PluginExecutionContext information: MessageName = Create, Mode = 0, OperationCreatedOn = 12/15/2015 09:09:43, OperationId = 00000000-0000-0000-0000-000000000000, PrimaryEntityName = account, PrimaryEntityId = 79b16493-0ba3-e511-80c2-00155d011117, MessageName = Create


</TraceText>
</OrganizationServiceFault>

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Wouter Madou Profile Picture
    3,392 on at

    Hi Ahmed,

    Seems to me like you have a bug in your Scribe deployment and not a security problem in CRM.

    What adapter are you using for CRM?

    I think your best option would be to create a support case with Scribe Insight.

    (If it is an older adapter, they probably already have a hotfix for this issue.)

    EDIT: Did you update the CRM and the publisher without removing the old publisher?

    Regards,

    Wouter

  • Ahmed87 Profile Picture
    90 on at

    Hi Wouter,

    Thanks for replying, Yes our issue is related to Scribe. We did open case with Scribe Insight.

    Regards,

    Ahmed

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans