Skip to content

Attach email -error #23

@netRunner0

Description

@netRunner0

I encountered this error when adding attachments to a letter. I can't figure out the addiction.

Plugin Trace:

[Kaskela.WorkflowElements.Cds: Kaskela.WorkflowElements.Shared.Activities.EmailAttachMultipleDocuments]
[Kaskela's Workflow Elements for CDS: Emails – Attach Documents]



Error Message:

Unhandled exception: 
Exception type: Microsoft.Crm.CrmException
Message: {"CallerPrincipal":{"PrincipalId":"66df5a70-a2ef-eb11-ba54-005056004493","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"a49bb5bf-89ef-eb11-ba54-005056004493","Type":8,"IsUserPrincipal":true},"ObjectId":"985f70b3-c6fa-ed11-ba63-00155d636b07","ObjectTypeCode":4200,"EntityName":"activitypointer","ObjectBusinessUnitId":"e916abfe-4bda-eb11-ba50-005056004493","RightsToCheck":"CreateAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Local","SecLib::AccessCheckEx2 failed. Owner Data: roleCount=1, privilegeCount=2063, accessMode=0; Principal Data: roleCount=1, privilegeCount=764, 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}
   в Microsoft.Crm.Sandbox.SandboxCodeUnit.ProcessException(Exception originalException, IExecutionContext context, SandboxClient client, SandboxCallTracker callTracker, Boolean isSafeToRetry, DateTime performanceExecutionStartTime, SandboxTracker tracker, Guid parentExecutionId, CrmException& crmException, String& assemblyContents)
   в Microsoft.Crm.Sandbox.SandboxCodeUnit.<>c__DisplayClass26_0.<Execute>b__0()
   в Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
   в Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
   в Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePlugin.CDSExecute(IServiceProvider serviceProvider)
   в Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
-- End stack trace --

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions