Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Getting an error "CRM service call returned an error: OrganizationServiceFault Microsoft.Xrm.Kernel.Contracts.Exceptions.KernelException: An unexpected exception happened. Details: The user with SystemUserId=XXXXX in OrganizationContext=XXXX is not l

$
0
0

Please Help me.

I am migrating campaignItem records from on premise to D365 online by using Kingsway soft adapotor.

I am getting below error message for some records (10 Out of 22 records).

CRM service call returned an error: OrganizationServiceFault Microsoft.Xrm.Kernel.Contracts.Exceptions.KernelException:
An unexpected exception happened. Details: The user with SystemUserId=XXXXXXXXXXXX in OrganizationContext=XXXXXXXXXXXXXX is not licensed,
and its SystemUserAccessMode is not either of (NonInteractive, SetupUser) at Microsoft.Crm.Platform.Server.KernelServices.AuthorizationService.WrapCrmSecurityException(Action action)
at Microsoft.Crm.Platform.Server.KernelServices.AuthorizationService.AssertRecordAccess(EntityReference record, EntityAction recordAction, EntityReference user)
at Microsoft.Dynamics.Solution.Common.SecurityService.CheckAccess(EntityReference userReference, EntityReference entityReference, EntityAction entityAction, IPluginContext context)
at Microsoft.Dynamics.Marketing.Common.MarketingSecurityValidator.CheckAccess(EntityReference userReference, EntityReference entityReference, EntityAction entityAction, IPluginContext context)
at Microsoft.Dynamics.Marketing.Plugins.CampaignItemSecurityService.AddItemSecurityAccessCheck(Guid campaignId, Guid entityId, String entityTypeName, IMarketingPluginContext`1 localContext)
at Microsoft.Dynamics.Marketing.Plugins.CampaignAddItem.ExecuteCrmPlugin(IMarketingPluginContext`1 localContext) at Microsoft.Dynamics.Marketing.Plugins.MarketingPluginBase.Execute(IServiceProvider serviceProvider)

 

I ran this package in another dev instance. I did not face any such kind of issue. But when i ran this package in UAT instance i am getting above error for few records. How to resolve this error? Please help me if you faced earlier or if you know about this.

Thanks,

Suresh.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>