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 :
Service | Customer Service, Contact Center, Fie...
Answered

Business Process Flow Error while moving to next stage ....CallerPrincipal":{"PrincipalId":"87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true.....

(0) ShareShare
ReportReport
Posted on by 195

When a specific user tries to move to next stage getting the following exception.This Issue happen only in a specific stage not in the other stages.

pastedimage1599763840131v1.png

Sync workflow failed with error message - Unhandled exception:

Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]

Message: {"CallerPrincipal":{"PrincipalId":" 87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"6530f0c5-925a-e911-a975-000d3a34afa9","Type":9,"IsUserPrincipal":false},"ObjectId":"14272090-254d-47d7-96b9-03d08471f921","ObjectTypeCode":9953,"EntityName":"knowledgearticle","ObjectBusinessUnitId":"0d6141a8-c77f-e611-80dc-c4346bac9940","RightsToCheck":"WriteAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Local","SecLib::AccessCheckEx2 failed. Owner Data: teamType=0, privilegeCount=742; Principal Data: roleCount=3, privilegeCount=910, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null}Detail:

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

  <ActivityId>05db31a3-785b-4d3c-9bd1-db68f3d7864c</ActivityId>

  <ErrorCode>-2147187962</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.Service.ObjectModel.KnowledgeArticleService</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiOriginalExceptionKey</d2p1:key>

      <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmSecurityException: {"CallerPrincipal":{"PrincipalId":" 87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"6530f0c5-925a-e911-a975-000d3a34afa9","Type":9,"IsUserPrincipal":false},"ObjectId":"14272090-254d-47d7-96b9-03d08471f921","ObjectTypeCode":9953,"EntityName":"knowledgearticle","ObjectBusinessUnitId":"0d6141a8-c77f-e611-80dc-c4346bac9940","RightsToCheck":"WriteAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Local","SecLib::AccessCheckEx2 failed. Owner Data: teamType=0, privilegeCount=742; Principal Data: roleCount=3, privilegeCount=910, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null} ---&gt; Microsoft.Crm.CrmSecurityException: {"CallerPrincipal":{"PrincipalId":" 87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"6530f0c5-925a-e911-a975-000d3a34afa9","Type":9,"IsUserPrincipal":false},"ObjectId":"14272090-254d-47d7-96b9-03d08471f921","ObjectTypeCode":9953,"EntityName":"knowledgearticle","ObjectBusinessUnitId":"0d6141a8-c77f-e611-80dc-c4346bac9940","RightsToCheck":"WriteAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Local","SecLib::AccessCheckEx2 failed. Owner Data: teamType=0, privilegeCount=742; Principal Data: roleCount=3, privilegeCount=910, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null}

   at Microsoft.Crm.BusinessEntities.SecurityLibrary.&lt;&gt;c__DisplayClass82_0.&lt;AccessCheckEx2&gt;b__0()

   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)

   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)

   at Microsoft.Crm.BusinessEntities.SecurityLibrary.AccessCheckEx(ExecutionContext context, SecurityAttributes attributes, AccessRights rights)

   at Microsoft.Crm.BusinessEntities.SecurityExtension.PreUpdateHandlerEntityPrivilegeCheck(Object sender, SecurityTraits traits, SecurityAttributes attributes, ExtensionEventArgs e)

   at Microsoft.Crm.BusinessEntities.SecurityExtension.PreUpdateHandler(ExtensionEventArgs e, Object sender)

   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PreUpdateEventHandler.Invoke(Object sender, ExtensionEventArgs e)

   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.&lt;&gt;c__DisplayClass259_0.&lt;UpdateWithPipelineAndExtensions&gt;b__0()

   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)

   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)

   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)

   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)

   at Microsoft.Crm.Service.ObjectModel.KnowledgeArticleService.Update(IBusinessEntity entity, 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__DisplayClass3_0.&lt;RunStep&gt;b__0()</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiStepKey</d2p1:key>

      <d2p1:value xmlns:d4p1="">schemas.microsoft.com/.../" i:type="d4p1:guid">5f34616f-59e4-4b31-9e18-ff22c209c0b4</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiDepthKey</d2p1:key>

      <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:int">4</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiActivityIdKey</d2p1:key>

      <d2p1:value xmlns:d4p1="">schemas.microsoft.com/.../" i:type="d4p1:guid">05db31a3-785b-4d3c-9bd1-db68f3d7864c</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>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiExceptionCategory</d2p1:key>

      <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">ClientError</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiExceptionMesageName</d2p1:key>

      <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:string">unManagedIdsAccessDenied</d2p1:value>

    </KeyValuePairOfstringanyType>

    <KeyValuePairOfstringanyType>

      <d2p1:key>ApiExceptionHttpStatusCode</d2p1:key>

      <d2p1:value xmlns:d4p1="">www.w3.org/.../XMLSchema" i:type="d4p1:int">403</d2p1:value>

    </KeyValuePairOfstringanyType>

  </ErrorDetails>

  <HelpLink>go.microsoft.com/.../

  <Message>{"CallerPrincipal":{"PrincipalId":" 87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"6530f0c5-925a-e911-a975-000d3a34afa9","Type":9,"IsUserPrincipal":false},"ObjectId":"14272090-254d-47d7-96b9-03d08471f921","ObjectTypeCode":9953,"EntityName":"knowledgearticle","ObjectBusinessUnitId":"0d6141a8-c77f-e611-80dc-c4346bac9940","RightsToCheck":"WriteAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Local","SecLib::AccessCheckEx2 failed. Owner Data: teamType=0, privilegeCount=742; Principal Data: roleCount=3, privilegeCount=910, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null}</Message>

  <Timestamp>2020-09-10T17:26:58.6109044Z</Timestamp>

  <ExceptionRetriable>false</ExceptionRetriable>

  <ExceptionSource i:nil="true" />

  <InnerFault>

    <ActivityId>05db31a3-785b-4d3c-9bd1-db68f3d7864c</ActivityId>

    <ErrorCode>-2147187962</ErrorCode>

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

    <HelpLink i:nil="true" />

    <Message>{"CallerPrincipal":{"PrincipalId":" 87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"6530f0c5-925a-e911-a975-000d3a34afa9","Type":9,"IsUserPrincipal":false},"ObjectId":"14272090-254d-47d7-96b9-03d08471f921","ObjectTypeCode":9953,"EntityName":"knowledgearticle","ObjectBusinessUnitId":"0d6141a8-c77f-e611-80dc-c4346bac9940","RightsToCheck":"WriteAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Local","SecLib::AccessCheckEx2 failed. Owner Data: teamType=0, privilegeCount=742; Principal Data: roleCount=3, privilegeCount=910, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null}</Message>

    <Timestamp>2020-09-10T17:26:58.6109044Z</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>, error code - -2147187962

Thanks

I have the same question (0)
  • Pankaj Gogoi Profile Picture
    3,177 on at
    RE: Business Process Flow Error while moving to next stage ....CallerPrincipal":{"PrincipalId":"87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true.....

    Hello,

    Please check the User privilege for the KnowledgeArticle Entity. Also check if you have Field-Level Security.

    Best Regards

    PG

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: Business Process Flow Error while moving to next stage ....CallerPrincipal":{"PrincipalId":"87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true.....

    Hi,

    Please assign BU level Write access rights on Knowledge Article entity to user who is moving BPF stage and then check.

    docs.microsoft.com/.../security-roles-privileges

    Please mark my answer verified if i were helpful

  • Susritha Profile Picture
    195 on at
    RE: Business Process Flow Error while moving to next stage ....CallerPrincipal":{"PrincipalId":"87665454-e5ee-e911-a9ab-000d3a37d634","Type":8,"IsUserPrincipal":true.....

    Thanks Bipin.It worked

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 46

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 44 Super User 2025 Season 2

#3
CU29080825-0 Profile Picture

CU29080825-0 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans